Difference between revisions of "Template:Flatlist/sandbox"
Jump to navigation
Jump to search
imported>Edokter (another test) |
imported>Edokter (no effect) |
||
| Line 1: | Line 1: | ||
| − | <div class="hlist" style=" | + | <div class="hlist" style="margin:{{{margin|inherit}}}; margin-left:{{{indent|0}}}em;{{{style|}}}">{{#if:{{{1|}}}|<nowiki /> |
{{{1}}} | {{{1}}} | ||
</div>}}<noinclude>{{endflatlist/sandbox}} | </div>}}<noinclude>{{endflatlist/sandbox}} | ||
| Line 13: | Line 13: | ||
*[[sheep]] | *[[sheep]] | ||
*[[pig]] | *[[pig]] | ||
| − | {{endflatlist/sandbox}}{{flatlist/sandbox| | + | {{endflatlist/sandbox}} |
| + | {{flatlist/sandbox| | ||
*[[cat]] | *[[cat]] | ||
*[[dog]] | *[[dog]] | ||
Revision as of 17:44, 7 May 2011
Template:Endflatlist/sandbox
Usage
Starts a horizontal list, such as:
Syntax:
{{flatlist}}
*[[cat]]
*[[dog]]
*[[horse]]
*[[cow]]
*[[sheep]]
*[[pig]]
{{endflatlist}}
{{flatlist|
*[[cat]]
*[[dog]]
*[[horse]]
*[[cow]]
*[[sheep]]
*[[pig]]
}}
Optional parameters
- style, additional CSS style options. Example: style = border:solid 1px silver; background:lightyellow (complex styles should not be used in articles but may be acceptable on user, project and talk pages)
- indent, add left indent by a number of em-spaces, particularly handy for inclusion in an indented discussion thread. Example: indent = 2
| This is the template sandbox page for Template:Flatlist (diff). See also the companion subpage for test cases. |
Examples
Normal spacing, indent 2: