Template:Hlist: Difference between revisions
From Vigyanwiki
Template>Lowercase sigmabot m (Adding protection templates) (bot) |
Template>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 17:42, 11 February 2013
Template documentation
{{hlist}}
may be used in place of {{flatlist|{{unbulleted list}}}}
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. {{hlist |item1 |item2 |item3 ... |item50}}
. The extra parameters offered by flatlist
and unbulleted list
are also available.
[[Category:Template documentation pages{{#translation:}}]]