Template:Plainlist/doc: Difference between revisions
Template page
More actions
create page |
comment out code which does not work on the template page |
||
| Line 5: | Line 5: | ||
==Usage== | ==Usage== | ||
{{tl|plainlist}} starts a plain (i.e. unbulleted) list | {{tl|plainlist}} starts a plain (i.e. unbulleted) list. <!-- apparently this does not work on the template page at Commons | ||
{{plainlist| | {{plainlist| | ||
* [[cat]] | * [[cat]] | ||
| Line 14: | Line 13: | ||
* [[sheep]] | * [[sheep]] | ||
* [[pig]] | * [[pig]] | ||
}} | }}-->It uses proper HTML list markup, which is more standards-compliant and more accessible than separating list items with {{tag|br|s}}. Detailed reasons for using this template can be found at [[:en:WP:UBLIST]]. | ||
It uses proper HTML list markup, which is more standards-compliant and more accessible than separating list items with {{tag|br|s}}. Detailed reasons for using this template can be found at [[:en:WP:UBLIST]]. | |||
==Examples== | ==Examples== | ||
| Line 29: | Line 26: | ||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
<!--{{plainlist| | |||
{{plainlist| | |||
* [[cat]] | * [[cat]] | ||
* [[dog]] | * [[dog]] | ||
| Line 37: | Line 33: | ||
* [[sheep]] | * [[sheep]] | ||
* [[pig]] | * [[pig]] | ||
}} | }}--> | ||
==Parameters== | ==Parameters== | ||
* '''class''' – adds a CSS class to the containing div. | * '''class''' – adds a CSS class to the containing div. | ||