Difference between revisions of "Template:TablerowOptional/doc"

From UnderWiki
Jump to navigation Jump to search
 
Line 41: Line 41:
 
:[[Template:Tablerow]]
 
:[[Template:Tablerow]]
 
:[[Template:Tableimage]]
 
:[[Template:Tableimage]]
:[[Template:TablerowAsk]]
 
:[[Template:TablerowShow]]
 
:[[Template:TablerowAskOptional]]
 
:[[Template:TablerowShowOptional]]
 
 
:[[Template:Tablebottom]]
 
:[[Template:Tablebottom]]
  
 
<includeonly>[[Category:Utility templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
 
<includeonly>[[Category:Utility templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 10:35, 13 April 2015

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