Template:Startflatlist: Difference between revisions
meta>Sardanaphalus m minor formatting |
meta>Sardanaphalus include correction |
||
Line 14: | Line 14: | ||
If more than one unnamed parameter accompanies {{tlf|startflatlist}}, only the first will be taken to be the styling (again, so long as there isn't also a {{para|style}} parameter). | If more than one unnamed parameter accompanies {{tlf|startflatlist}}, only the first will be taken to be the styling (again, so long as there isn't also a {{para|style}} parameter). | ||
{{#ifeq:{{SUBPAGENAME}}|sandbox | | | {{#ifeq:{{SUBPAGENAME}}|sandbox | | | ||
[[Category:Typing-aid templates|Flatlist<!--(so that this template | [[Category:Typing-aid templates|Flatlist<!--(so that this template categorized beside Template:Flatlist)-->]] | ||
[[Category:Wikipedia list formatting templates|Flatlist<!--as above-->]] | [[Category:Wikipedia list formatting templates|Flatlist<!--as above-->]] | ||
--> | }} }}<!--(end #ifeq and Documentation)--> | ||
</noinclude> |
Revision as of 20:24, 23 May 2014
A frontend for {{flatlist}} when it is used to mark the start of a flatlist (a horizontal list 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=
).
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).