Template:TablerowOptional/doc

From UnderWiki
< Template:TablerowOptional
Revision as of 09:35, 13 April 2015 by Browncoat Jayson (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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 = Stygian Abyss}} {{Tablebottom}} gives...
TablerowOptional/doc
Location Stygian Abyss


{{Tabletop}} {{TablerowOptional | Label = '''Location''' | Value = Stygian Abyss | link = none}} {{Tablebottom}} gives...
TablerowOptional/doc
Location Stygian Abyss


{{Tabletop}} {{TablerowOptional | Label = '''Location'''}} {{Tablebottom}} gives...
TablerowOptional/doc


See also
Template:Tabletop
Template:Tablerow
Template:Tableimage
Template:Tablebottom