Difference between revisions of "Template:Table Row/doc"

From Dungeons and Dragons Wiki
Jump to: navigation, search
(Created page with 'This template is meant for outputting things with Semantic Mediawiki. If you want a basic table output, but don't like the default style for Semantic MediaWiki tables, you can se…')
 
m
Line 9: Line 9:
 
|format=template
 
|format=template
 
|template=Table Row
 
|template=Table Row
 +
|link=none
 
}}
 
}}
 
|}
 
|}
 
</pre>
 
</pre>
 +
 +
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.

Revision as of 23:05, 27 October 2009

This template is meant for outputting things with Semantic Mediawiki. If you want a basic table output, but don't like the default style for Semantic MediaWiki tables, you can set up your own table and have the output be sent to this template, which formats it into a table row. For example, if you want to output the 3.5e base classes into a regular zebra table, you could do:

{| class="zebra d20"
|-
! Class Name !! Class Description
{{#ask: [[Category:3.5e]] [[Category:User]] [[Category:Class]] [[Category:Base Class]]
|?Summary
|format=template
|template=Table Row
|link=none
}}
|}

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.