Template:Infobox row: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
Row template. Preview-testing this on Template:Block, expect edits here.
 
m 23 revisions imported
 
(22 intermediate revisions by 9 users not shown)
Line 1: Line 1:
| class="alternatecells" |-
<includeonly>{{ #if: {{{1|}}}{{{label|}}} |
| style="white-space: nowrap; font-weight: bold;" | {{ucfirst:{{{label|}}}}}
! {{ucfirst: {{{1|{{{label|}}}}}} }} }}
| {{{field|}}}<noinclude>
| {{#if: {{{class|}}} | class="{{{class}}}" }} {{ #if: {{{1|}}}{{{label|}}} || colspan="2" }} |
== Usage ==
{{{2|{{{field|}}}}}}
This is a skeleton for infobox rows, for use in infobox common
<code class="history-json">{"label": "{{JsonEscape|{{ucfirst: {{{1|{{{label|}}}}}} }}}}", "field": "{{JsonEscape|{{{2|{{{field|}}}}}}}}"}</code>
 
|-</includeonly><noinclude>
<pre>{{infobox row
{{documentation}}
| label = row label
<!-- Put categories/interwiki on the documentation page -->
| field = data
</noinclude>
}}</pre>
[[Category:Templates]]</noinclude>

Latest revision as of 07:52, 4 July 2024

[create] [refresh]Documentation
This template has no documentation. If you know how to use this template, please create it.