Template:Startflatlist

From Vigyanwiki
Revision as of 16:01, 11 July 2014 by Template>Sardanaphalus (dashes)
Template documentation

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:

Template:95%

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:

Template:95%

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:

Template:95%

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).

[[Category:Template documentation pages{{#translation:}}]]