Difference between revisions of "Template:TablerowOptional"

From UnderWiki
Jump to navigation Jump to search
m (Changed category.)
 
m (1 revision imported: Template import)
 
(No difference)

Latest revision as of 06:49, 2 February 2015


Template documentation (for the above template, sometimes hidden or invisible)
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
Location Stygian Abyss


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


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


See also
Template:Tabletop
Template:Tablerow
Template:Tableimage
Template:Tablebottom
Visit Template:TablerowOptional/doc to edit this text! (How does this work?)