Difference between revisions of "Template:Infobox/row"
From EVE University Wiki
m (Removed protection from "Template:Infobox/row": It might an important Template in the future, but currently it is used nowhere) |
|||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{#if:{{{header|}}} | + | <includeonly>{{#if:{{{header|}}} |
− | |<tr><th colspan="2" class="{{{class|}}}" style=" | + | |<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=" | + | |<td colspan="2" class="{{{class|}}}" style="vertical-align:top;text-align:center; {{{datastyle|}}}"> |
}} | }} | ||
{{{data}}}</td></tr> | {{{data}}}</td></tr> | ||
}} | }} | ||
− | }} | + | }}</includeonly><noinclude> |
− | <noinclude> | + | {{documentation}} |
</noinclude> | </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.
- Syntax
{{Infobox/row}}
- Sample output
{{Infobox/row}}
- gives...
- ... no visible output. See Template:Infobox for how to use it.