Thank you for visiting SotAwiki, a Shroud of the Avatar Wiki Encyclopedia. If you see any information that is outdated, please take the time to update it, or if you prefer, leave a message for other editors. This community wiki is for the benefit of all Avatars!
Template:TablerowOptional/doc: Difference between revisions
Jump to navigation
Jump to search
Created page with ";Description :A template which adds a row inside of a table '''if''' a value is provided. To be used with <nowiki>{{Tabletop}}</nowiki> and <nowiki>{{Tablebottom}}</nowiki>. ;..." |
No edit summary |
||
| Line 34: | Line 34: | ||
:[[Template:Tablebottom]] | :[[Template:Tablebottom]] | ||
<includeonly>[[Category: | <includeonly>[[Category:Utility Templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template Documentation|{{PAGENAME}}]]</noinclude> | ||
Revision as of 16:56, 4 March 2014
- Description
- A template which adds a row inside of a table if a value is provided. To be used with {{Tabletop}} and {{Tablebottom}}.
- Syntax
- {{TablerowOptional|<Label>|<Value>}}
- Sample code
{{Tabletop}} {{TablerowOptional | Label = '''Location''' | Value = Dark places}} {{Tablebottom}}gives...
| Location | Dark places |
{{Tabletop}} {{TablerowOptional | Label = '''Location'''}} {{Tablebottom}}gives...