Difference between revisions of "Template:Hlist"
Jump to navigation
Jump to search
imported>CsDix m (missing bracket (documentation)) |
imported>CsDix m (correcting previous) |
||
Line 63: | Line 63: | ||
{{documentation | {{documentation | ||
|content = | |content = | ||
− | <code><nowiki>{{hlist}}</nowiki></code> may be used in place of <code>{{((}}[[Template:Flatlist|flatlist]]{{!}}{{((}}[[Template:Unbulleted list|unbulleted list]]{{))}}{{))}}</code> when creating horizontal lists (hlists) of items in one line of code (i.e. <code><nowiki>{{hlist |...}}</nowiki></code> | + | <code><nowiki>{{hlist}}</nowiki></code> may be used in place of <code>{{((}}[[Template:Flatlist|flatlist]]{{!}}{{((}}[[Template:Unbulleted list|unbulleted list]]{{))}}{{))}}</code> when creating horizontal lists (hlists) of items in one line of code (i.e. use <code><nowiki>{{hlist |...}}</nowiki></code> rather than <code><nowiki>{{flatlist|{{unbulleted list |...}}}}</nowiki></code>). |
The syntax is the same as for <code>unbulleted list</code>, i.e. <code>{{((}}hlist {{!}}''item1'' {{!}}''item2'' {{!}}''item3'' ... {{!}}''item50''{{))}}</code>. The extra parameters offered by <code>flatlist</code> and <code>unbulleted list</code> are also available. | The syntax is the same as for <code>unbulleted list</code>, i.e. <code>{{((}}hlist {{!}}''item1'' {{!}}''item2'' {{!}}''item3'' ... {{!}}''item50''{{))}}</code>. The extra parameters offered by <code>flatlist</code> and <code>unbulleted list</code> are also available. |
Revision as of 13:13, 11 February 2013
Template documentation
{{hlist}}
may be used in place of Template:((flatlist|Template:((unbulleted listTemplate:))Template:))
when creating horizontal lists (hlists) of items in one line of code (i.e. use {{hlist |...}}
rather than {{flatlist|{{unbulleted list |...}}}}
).
The syntax is the same as for unbulleted list
, i.e. Template:((hlist |item1 |item2 |item3 ... |item50Template:))
. The extra parameters offered by flatlist
and unbulleted list
are also available.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |