Template:Flatlist/testcases
< Template:Flatlist
Jump to navigation
Jump to search
Revision as of 19:48, 8 August 2011 by imported>Droll (tests)
| This is the template test cases page for the sandbox of Template:Flatlist. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
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
Examples
Normal spacing, indent 2: