Template:Wordy bbc: Difference between revisions From Online Manual

Jump to: navigation, search
(This template puts the tag name in a 3rd-level header -- inappropriate for a standalone page.)
(adding wiki header level)
Line 1: Line 1:
<!-- template for several Bbc items on one page -->{{#if: {{{tag|}}}|
{{#if: {{{tag|}}}|{{
=== {{ucfirst:{{{tag}}}}} ===__NOEDITSECTION__
#if: {{{wikiheader|}}}|{{__NOEDITSECTION__
#switch: {{{wikiheader}}}
|1=={{ucfirst:{{{tag}}}}} =
|2==={{ucfirst:{{{tag}}}}} ==
|3===={{ucfirst:{{{tag}}}}} ===
|4===== {{ucfirst:{{{tag}}}}} ====}}}}
<p>'''type''': {{
<p>'''type''': {{
#switch: {{{type}}}
#switch: {{{type}}}

Revision as of 21:18, 23 December 2010

Template must be given a tag

[edit] [purge] Template documentation

This template formats articles on individual Bulletin Board Codes (BBC). At the same time, it stores the Semantic Mediawiki properties which are used to generate the Alphabetical list of all bulletin board codes Example:

{{Wordy bbc
|tag=list
|button=list.gif
|example=[list type=lower-greekl] [li]list item (see [[li]])[/li] [/list]
|result=<ol style="list-style-type: lower-greek;"><li>list item (see [[li]])</li></ol>
|description=The <tt>list</tt> tag encloses a list.  Each item in the list must be enclosed in [[li]] tags. The 
type property of the <tt>list</tt> tag lets you specify a few bullet formats, as well as several counting formats. 
Some of the list types might not work in some browsers.
|parameters={{Parmdesc
     |type|d1=(optional) one of the following:anone, disc, circle, square, decimal, decimal-leading-zero, 
lower-roman, upper-roman, lower-alpha, upper-alpha, lower-greek, lower-latin, upper-latin, hebrew, 
armenian, georgian, cjk-ideographic, hiragana, katakana, hiragana-iroha and katakana-iroha.}}
}}

In addition to the parameters shown above, this template can take the following parameters:



Advertisement: