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
No edit summary |
m Changed category. |
||
| Line 47: | Line 47: | ||
:[[Template:Tablebottom]] | :[[Template:Tablebottom]] | ||
<includeonly>[[Category:Utility | <includeonly>[[Category:Utility templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template Documentation|{{PAGENAME}}]]</noinclude> | ||
Revision as of 20:39, 26 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>|<link>}}
- Sample code
{{Tabletop}} {{TablerowOptional | Label = '''Location''' | Value = Dark places}} {{Tablebottom}}gives...
| Location | Dark places |
{{Tabletop}} {{TablerowOptional | Label = '''Location''' | Value = Dark places | link = none}} {{Tablebottom}}gives...
| Location | Dark places |
{{Tabletop}} {{TablerowOptional | Label = '''Location'''}} {{Tablebottom}}gives...