Template:Single Column

From Dungeons and Dragons Wiki
Jump to: navigation, search
Template documentation (for the above template, sometimes hidden or invisible)

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

... further results

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.