(an explanation of all the parameters) |
(problems with pre.) |
||
Line 1: | Line 1: | ||
Example: | Example: | ||
<pre> | <pre>{{Wordy bbc | ||
{{Wordy bbc | |||
|tag=list | |tag=list | ||
|button=list.gif | |button=list.gif | ||
|example=[list type=lower-greekl] [li]list item (see [[li]])[/li] [/list] | |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> | |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. | |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 | |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.}} | |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.}} | |||
}} | }} | ||
</pre> | |||
In addition to the parameters shown above, this template can take the following parameters: | In addition to the parameters shown above, this template can take the following parameters: | ||
* '''type''' -- one of unparsed_equals, parsed_equals, unparsed_content, closed, |unparsed_commas, |unparsed_commas_content, unparsed_equals_content, |parsedcontent. If no value is supplied, parsed_content will be assumed. | * '''type''' -- one of unparsed_equals, parsed_equals, unparsed_content, closed, |unparsed_commas, |unparsed_commas_content, unparsed_equals_content, |parsedcontent. If no value is supplied, parsed_content will be assumed. | ||
* '''parameters''' -- a list of the parameters for this bbc tag. The template [[:Template:Parmdesc|<nowiki>{{Parmdesc}}</nowiki>]] may be used to format the list. | * '''parameters''' -- a list of the parameters for this bbc tag. The template [[:Template:Parmdesc|<nowiki>{{Parmdesc}}</nowiki>]] may be used to format the list. |
Revision as of 20:43, 17 February 2011
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:
- type -- one of unparsed_equals, parsed_equals, unparsed_content, closed, |unparsed_commas, |unparsed_commas_content, unparsed_equals_content, |parsedcontent. If no value is supplied, parsed_content will be assumed.
- parameters -- a list of the parameters for this bbc tag. The template {{Parmdesc}} may be used to format the list.