More actions
Created page with "{{#if:{{{header|}}} |<tr><th colspan="2" class="{{{class|}}}" style="text-align:center; {{{headerstyle|}}}">{{{header}}}</th></tr> |{{#if:{{{data|}}} |<tr class="{{{rowclass|..." |
m Removed protection from "Template:Infobox/row": It might an important Template in the future, but currently it is used nowhere |
||
| (12 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{#if:{{{header|}}} | <includeonly>{{#if:{{{header|}}} | ||
|<tr><th colspan="2" class="{{{class|}}}" style="text-align:center; {{{headerstyle|}}}">{{{header}}}</th></tr> | |<tr><th colspan="2" class="{{{class|}}}" style="border-top:1px solid #582806;padding-top:2px;text-align:center; {{{headerstyle|}}}">{{{header}}}</th></tr> | ||
|{{#if:{{{data|}}} | |{{#if:{{{data|}}} | ||
|<tr class="{{{rowclass|}}}">{{#if:{{{label|}}} | |<tr class="{{{rowclass|}}}">{{#if:{{{label|}}} | ||
|<th scope="row" style="text-align:left; {{{labelstyle|}}}">{{{label}}}</th> | |<th scope="row" style="text-align:left; {{{labelstyle|}}}">{{{label}}}</th> | ||
<td class="{{{class|}}}" style="{{{datastyle|}}}"> | <td class="{{{class|}}}" style="vertical-align:top; {{{datastyle|}}}"> | ||
|<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}"> | |<td colspan="2" class="{{{class|}}}" style="vertical-align:top;text-align:center; {{{datastyle|}}}"> | ||
}} | }} | ||
{{{data}}}</td></tr> | {{{data}}}</td></tr> | ||
}} | }} | ||
}} | }}</includeonly><noinclude> | ||
{{documentation}} | |||
</noinclude> | |||
Latest revision as of 16:23, 11 May 2022
Template documentation (for the above template, sometimes hidden or invisible)
- Description
- This template is used to make Template:Infobox code more concise and readable.
- Dependencies
-
- Used by
- {{Infobox}}
- Syntax
{{Infobox/row}}
- Sample
{{Infobox/row}}- gives...
- ... no visible output. See Template:Infobox for how to use it.