Template:Infobox row: Difference between revisions
Jump to navigation
Jump to search
attempt supporting label-less rows |
No edit summary |
||
Line 3: | Line 3: | ||
| {{#if: {{{class|}}} | class="{{{class}}}" }} {{ #if: {{{1|}}}{{{label|}}} || colspan="2" }} | | | {{#if: {{{class|}}} | class="{{{class}}}" }} {{ #if: {{{1|}}}{{{label|}}} || colspan="2" }} | | ||
{{{2|{{{field|}}}}}} | {{{2|{{{field|}}}}}} | ||
<code class="history-json">{"label": "{{JsonEscape|{{ucfirst: {{{1|{{{label|}}}}}} }}}}", "field": "{{JsonEscape|{{{2|{{{field|}}}}}}}}"}</code> | |||
|-</includeonly><noinclude> | |-</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
<!-- Put categories/interwiki on the documentation page --> | <!-- Put categories/interwiki on the documentation page --> | ||
</noinclude> | </noinclude> |