Template:Wordy bbc: Difference between revisions From Online Manual

Jump to: navigation, search
m (moved Template:Wordy Bbc to Template:Wordy bbc: naming convention)
(Undo revision 31446 by Illori (talk))
Tag: Undo
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#if: {{{tag|}}}|{{#if: {{{wikiheader|}}}|{{
{{#if: {{{tag|}}}|{{DISPLAYTITLE:{{{tag|}}}}}|}}<!--
-->{{#if: {{{tag|}}}|{{#if: {{{wikiheader|}}}|{{
#switch: {{{wikiheader}}}
#switch: {{{wikiheader}}}
|1=={{ucfirst:{{{tag}}}}}=
|1=={{ucfirst:{{{tag}}}}}=
Line 9: Line 10:
__NOEDITSECTION__ }}
__NOEDITSECTION__ }}
{{#if: {{{button|}}}|<p>'''button''': [[File:{{{button}}}]]</p>|}}<!--
{{#if: {{{button|}}}|<p>'''button''': [[File:{{{button}}}]]</p>|}}<!--
--><p>'''type''': {{
-->{{#if: {{{type|}}}|<p>'''type''': {{
#switch: {{{type}}}
#switch: {{{type}}}
|unparsed_equals=[[bbc_type::unparsed equals]] -- <nowiki>[</nowiki>{{{tag}}}<nowiki>=xyz]parsed content[/</nowiki>{{{tag}}}<nowiki>]</nowiki>
|unparsed_equals= <nowiki>[</nowiki>{{{tag}}}<nowiki>=xyz]parsed content[/</nowiki>{{{tag}}}<nowiki>]</nowiki>
|parsed_equals=[[bbc_type::parsed equals]] -- <nowiki>[</nowiki>{{{tag}}}<nowiki>=parsed data]parsed content[/</nowiki>{{{tag}}}<nowiki>]</nowiki>
|empty= <nowiki>[</nowiki>{{{tag}}}<nowiki>]</nowiki>
|unparsed_content= unparsed content --  <nowiki>[</nowiki>{{{tag}}}<nowiki>]unparsed content[/</nowiki>{{{tag}}}<nowiki>]</nowiki>
|parsed_equals= <nowiki>[</nowiki>{{{tag}}}<nowiki>=parsed data]parsed content[/</nowiki>{{{tag}}}<nowiki>]</nowiki>
|closed=closed --  <nowiki>[</nowiki>{{{tag}}}<nowiki>]</nowiki>, <nowiki>[</nowiki>{{{tag}}}<nowiki>/]</nowiki>, <nowiki>[</nowiki>{{{tag}}}<nowiki> /]</nowiki>
|unparsed_content= <nowiki>[</nowiki>{{{tag}}}<nowiki>]unparsed content[/</nowiki>{{{tag}}}<nowiki>]</nowiki>
|unparsed_commas=unparsed commas -- <nowiki>[</nowiki>{{{tag}}}<nowiki>=1,2,3]parsed content[/</nowiki>{{{tag}}}<nowiki>]</nowiki>
|closed= <nowiki>[</nowiki>{{{tag}}}<nowiki>]</nowiki>, <nowiki>[</nowiki>{{{tag}}}<nowiki>/]</nowiki>, <nowiki>[</nowiki>{{{tag}}}<nowiki> /]</nowiki>
|unparsed_commas_content=unparsed commas content -- <nowiki>[</nowiki>{{{tag}}}<nowiki>=1,2,3]unparsed content[/</nowiki>{{{tag}}}<nowiki>]</nowiki>
|unparsed_commas= <nowiki>[</nowiki>{{{tag}}}<nowiki>=1,2,3]parsed content[/</nowiki>{{{tag}}}<nowiki>]</nowiki>
|unparsed_equals_content=unparsed equals content -- <nowiki>[</nowiki>{{{tag}}}<nowiki>=...]unparsed content[/</nowiki>{{{tag}}}<nowiki>]</nowiki>
|unparsed_commas_content= <nowiki>[</nowiki>{{{tag}}}<nowiki>=1,2,3]unparsed content[/</nowiki>{{{tag}}}<nowiki>]</nowiki>
|unparsed_equals_content= <nowiki>[</nowiki>{{{tag}}}<nowiki>=...]unparsed content[/</nowiki>{{{tag}}}<nowiki>]</nowiki>
|parsedcontent
|parsedcontent
|#default = [[bbc_type::parsed content]] -- <nowiki>[</nowiki>{{{tag}}}<nowiki>]parsed content[/</nowiki>{{{tag}}}<nowiki>]</nowiki>
|parsed content= <nowiki>[</nowiki>{{{tag}}}<nowiki>]parsed content[/</nowiki>{{{tag}}}<nowiki>]</nowiki>
}}</p>{{
|#default=}}</p>|}}<!-- end if type-->{{
#if: {{{description|}}}|
#if: {{{description|}}}|


Line 27: Line 29:
'''description''': {{{description}}}</p>|}}<!--
'''description''': {{{description}}}</p>|}}<!--
-->{{#if: {{{parameters|}}}|<p>'''parameters''':</p>{{{parameters}}}|}}<!--
-->{{#if: {{{parameters|}}}|<p>'''parameters''':</p>{{{parameters}}}|}}<!--
-->{{#if: {{{example|}}}|<p>'''example''': {{{example}}}[[BBC_example::{{{example}}}| ]]</p>|}}<!--
-->{{#if: {{{example|}}}|<p>'''example''': {{{example}}}</p>|}}<!--
-->{{#if: {{{result|}}}|<p>'''result''': {{{result}}} [[BBC_result::{{{result}}}| ]]</p>|}}<!--
-->{{#if: {{{result|}}}|<p>'''result''': {{{result}}} </p>|}}<!--


-->|'''Template must be given a tag}}
-->|'''Template must be given a tag}}
<noinclude>{{documentation}}</noinclude>
<noinclude>{{documentation}}</noinclude>

Latest revision as of 22:26, 10 January 2022

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: