Template:Startflatlist: Difference between revisions
Template>Sardanaphalus m (dashes) |
Template>Timrollpickering m (update cat, replaced: Category:Wikipedia list formatting templates → Category:List formatting and function templates using AWB) |
||
Line 18: | Line 18: | ||
{{#ifeq:{{SUBPAGENAME}}|sandbox | | | {{#ifeq:{{SUBPAGENAME}}|sandbox | | | ||
[[Category:Typing-aid templates|Flatlist<!--(so that this template categorized beside Template:Flatlist)-->]] | [[Category:Typing-aid templates|Flatlist<!--(so that this template categorized beside Template:Flatlist)-->]] | ||
[[Category: | [[Category:List formatting and function templates|Flatlist<!--as above-->]] | ||
}} }}<!--(end #ifeq and Documentation)--> | }} }}<!--(end #ifeq and Documentation)--> | ||
</noinclude> | </noinclude> |
Revision as of 21:23, 7 September 2014
A frontend for {{flatlist}} when it is used to mark the start of a flatlist (a horizontal list – "hlist" – whose items are separated by dots). If {{startflatlist}} is used, any CSS styling for the list may be carried by the first unnamed parameter accompanying it (even if that first unnamed parameter isn't the first parameter). In other words, for example:
Meanwhile, Template:95%. {{Flatlist}}'s other parameters may be included so long as they are named (|class=
, |indent=
).
If {{startflatlist}} is used to mark the start of a flatlist, use {{endflatlist}} to mark its end.
Note that:
In other words, so long as the styling is the first unnamed parameter (but not necessarily the first parameter overall) and none of any other parameters are named "style", the styling should be passed onto {{flatlist}} correctly. For example:
If more than one unnamed parameter accompanies {{startflatlist}}, only the first will be taken to be the styling (again, so long as there isn't also a |style=
parameter).