Difference between revisions of "Template:T row if"
Jump to navigation
Jump to search
(Documentation) |
(Fix bug) |
||
| Line 2: | Line 2: | ||
|{{!}}- | |{{!}}- | ||
{{!}}{{{1}}}{{!}}{{!}}{{{2}}} | {{!}}{{{1}}}{{!}}{{!}}{{{2}}} | ||
| − | |< | + | |<div></div>}}</includeonly><noinclude> |
{{TemplateDoc|pages=Templates|purpose=Conditional table row|}} | {{TemplateDoc|pages=Templates|purpose=Conditional table row|}} | ||
{{parms| | {{parms| | ||
Revision as of 07:27, June 16, 2007
| Template: T row if | |
|---|---|
| Use on | Templates |
| Use for | Conditional table row |
| Category template applies to page | (none) |
| Template Parameters (See using templates). | |||
|---|---|---|---|
| Name | Purpose | Required? | Comment |
| 1 | First column text | yes | |
| 2 | Second column text | yes | |
If parameter 2 is not empty, then the code for a table row (wiki syntax) with two columns is returned, else nothing is returned.
Example:
{| class="wikitable"
{{t row if|Provided:|{{{yes|yes}}}}}
{{t row if|Not Provided:|{{{no|}}}}}
|}
Displays as:
| Provided: | yes |