Difference between revisions of "Template:TablerowOptional/doc"
Jump to navigation
Jump to search
m (Changed category.) |
m (1 revision imported: Template import) |
(No difference)
|
Revision as of 06:49, 2 February 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 = 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...