Difference between revisions of "Template:Single Column"
Tarkisflux (talk | contribs) m (missed an argument I think) |
Tarkisflux (talk | contribs) m (clean up) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
|- | |- | ||
− | | {{Pipe Trick|{{{1 | + | | {{Pipe Trick|{{{1}}}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> |
Latest revision as of 04:53, 17 August 2010
This template is meant for outputting things with Semantic Mediawiki. This template is designed as an alternative to Template:Table Row, as it allows for output in a single column. This template is primarily intended for making simple lists. For example, if you want to output a specific author's (in this case, Eiji-kun) base classes, you could do:
{| style="text-align:left;" |- ! Class Name {{#ask: [[Author::Eiji-kun]] [[Category:Class]] [[Category:Base Class]] |format=template |template=Single Column |link=none |limit=2 }} |}
Which provides the following list:
Class Name |
---|
Adversary of Faith |
Architect |
You can also modify this list in any of the same ways that you would modify a table. Adding class="zebra d20" to the first line would make it look like most other tables on the wiki.
Whenever you use this template, be sure you use the "link=none" parameter. This template automatically turns its first argument into a page link, and removes the () tags at the end of most pages.