Template:Infobox: Difference between revisions
From Elwiki
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{ | {{{!}} class="infobox section-border" | ||
{{!}}- style="{{#if:{{{color|}}}|background-color: {{{color}}};}}" class="textfloat" | |||
! {{#if:{{{maxcol|}}}|colspan="{{{maxcol}}}" {{!}}}} {{{name|}}}{{#if:{{{image|}}}| | ! {{#if:{{{maxcol|}}}|colspan="{{{maxcol}}}" {{!}}}} {{{name|}}} | ||
{{!}}- | {{#if:{{{image|}}}| | ||
{{!}} <center>{{{image}}}</center> | {{!}}- | ||
}}{{#forargs:data | {{!}} <center>{{{image}}}</center> | ||
}} | |||
{{#forargs:data | |||
| key | |||
{{!}}- class="list-table" | | value | ||
! {{{line{{#var:key|}}|}}}{{#if:{{{col{{#var:key|}}|}}} | |<nowiki/> | ||
{{!}}- class="list-table" | |||
! {{{line{{#var:key|}}|}}} | |||
{{#if:{{{col{{#var:key|}}|}}} | |||
| {{!}}{{!}}{{#if:{{{maxcol|}}}| colspan="{{{maxcol}}}" {{!}}}} {{#var:value|}} | |||
| {{#forargs:subdata{{#var:key|}}/ | |||
| subkey | |||
| subvalue | |||
| {{!}}{{!}} {{#var:subvalue|}} | |||
}} | }} | ||
}} | }} | ||
}} | }} | ||
|} | |} |
Revision as of 02:40, 21 February 2015
|
---|