Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox/row: Difference between revisions

Template page
Alelsa (talk | contribs)
No edit summary
Arin Mara (talk | contribs)
m Removed protection from "Template:Infobox/row": It might an important Template in the future, but currently it is used nowhere
 
(11 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:top; {{{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:top; {{{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.
See also
Visit Template:Infobox/row/doc to edit this text! (How does this work?) (Refresh this text - why?)