Difference between revisions of "Template:TablerowOptional/doc"

From UnderWiki
Jump to navigation Jump to search
m (1 revision imported: Template import)
Line 7: Line 7:
 
{{TablerowOptional
 
{{TablerowOptional
 
| Label = '''Location'''
 
| Label = '''Location'''
| Value = Dark places}}
+
| Value = Stygian Abyss}}
 
{{Tablebottom}}</nowiki></code> gives...
 
{{Tablebottom}}</nowiki></code> gives...
 
:{{Tabletop}}
 
:{{Tabletop}}
 
{{TablerowOptional
 
{{TablerowOptional
 
| Label = '''Location'''
 
| Label = '''Location'''
| Value = Dark places}}
+
| Value = Stygian Abyss}}
 
{{Tablebottom}}
 
{{Tablebottom}}
 
<br style="clear:both;"/>
 
<br style="clear:both;"/>
Line 18: Line 18:
 
{{TablerowOptional
 
{{TablerowOptional
 
| Label = '''Location'''
 
| Label = '''Location'''
| Value = Dark places
+
| Value = Stygian Abyss
 
| link = none}}
 
| link = none}}
 
{{Tablebottom}}</nowiki></code> gives...
 
{{Tablebottom}}</nowiki></code> gives...
Line 24: Line 24:
 
{{TablerowOptional
 
{{TablerowOptional
 
| Label = '''Location'''
 
| Label = '''Location'''
| Value = Dark places
+
| Value = Stygian Abyss
 
| link=none}}
 
| link=none}}
 
{{Tablebottom}}
 
{{Tablebottom}}

Revision as of 13:57, 10 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:TablerowAsk
Template:TablerowShow
Template:TablerowAskOptional
Template:TablerowShowOptional
Template:Tablebottom