Template:Wordy bbc: Difference between revisions From Online Manual

Jump to: navigation, search
No edit summary
(BBC_example)
Line 26: Line 26:
'''description''': {{{description}}}</p>|}}{{
'''description''': {{{description}}}</p>|}}{{
#if: {{{parameters|}}}|<p>'''parameters''':</p>{{{parameters}}}|}}{{
#if: {{{parameters|}}}|<p>'''parameters''':</p>{{{parameters}}}|}}{{
#if: {{{example|}}}|<p>'''example''':<br/> {{{example}}}</p>|}}{{
#if: {{{example|}}}|<p>'''example''':<br/>[[BBC_example::{{{example}}}]]</p>|}}{{
#if: {{{result|}}}|<p>'''result''': <br/>{{{result}}}</p>|}}
#if: {{{result|}}}|<p>'''result''': <br/>{{{result}}}</p>|}}
|'''Template must be given a title}}
|'''Template must be given a title}}
<noinclude>{{documentation}}</noinclude>
<noinclude>{{documentation}}</noinclude>

Revision as of 16:56, 7 January 2011

Template must be given a title

[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: