Familypedia
Advertisement
Template documentation

A frontend for {{plainlist}} when it is used to mark the start of a plainlist (a vertical list where each item is placed on the line below the last). If {{startplainlist}} 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:

{{startplainlist|padding-bottom:1.0em;font-style:italic}} = {{plainlist|style=padding-bottom:1.0em;font-style:italic}}

Meanwhile, {{startplainlist}} = {{plainlist}}. {{plainlist}}'s other parameters may be included so long as they are named (|class=, |indent=).

If {{startplainlist}} is used to mark the start of a plainlist, use {{endplainlist}} to mark its end.



Note that:

{{startplainlist|padding-bottom:1.0em|style=font-style:italic}} = {{plainlist|style=font-style:italic}}

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 {{plainlist}} correctly. For example:

{{startplainlist |indent=2 |class=nowrap |padding-bottom:1.0em;font-style:italic}} = {{plainlist |class=nowrap |style=padding-bottom:1.0em;font-style:italic; |indent=2}}

If more than one unnamed parameter accompanies {{startplainlist}}, only the first will be taken to be the styling (again, so long as there isn't also a |style= parameter).


This page uses content from the English language Wikipedia. The original content was at Template:Startplainlist. The list of authors can be seen in the page history. As with this Familypedia wiki, the content of Wikipedia is available under the Creative Commons License.
Advertisement