Difference between revisions of "Template:Hlist"
Jump to navigation
Jump to search
imported>Lowercase sigmabot m (Adding protection templates) (bot) |
imported>CsDix m (missing bracket (documentation)) |
||
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> rather than <code><nowiki>{{flatlist|{{unbulleted list |...}}}}</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. <code><nowiki>{{hlist |...}}</nowiki></code> (rather than via <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. | ||
− | |||
}}<!--(end documentation)--> | }}<!--(end documentation)--> | ||
[[Category:Wikipedia list formatting templates]] | [[Category:Wikipedia list formatting templates]] | ||
</noinclude><noinclude>{{pp-template|small=yes}}</noinclude> | </noinclude><noinclude>{{pp-template|small=yes}}</noinclude> |
Revision as of 13:12, 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. {{hlist |...}}
(rather than via {{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. |