Template:Infobox cabinet members: Difference between revisions

From Chalo Chatu, Zambia online encyclopedia
no edit summary
(Created page with "<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width: auto; text-align:left; line-height: 1.2em; {{#switch:{{lc:{{{align|{{{float|right}}}}}} }} | left = mar...")
 
No edit summary
Line 7: Line 7:
  }}">
  }}">
{{#if:{{{topimage|}}}
{{#if:{{{topimage|}}}
  |<tr><td colspan={{#if:{{{party_column|}}}|4|3}} style="text-align: center; {{{topimagestyle|}}}">{{{topimage}}}{{#if:{{{topcaption|}}}|<br /><span style="{{{topcaptionstyle|}}}">{{{topcaption}}}</span>}}</td></tr>
  |colspan={{#if:{{{party_column|}}}|4|3}} style="text-align: center; {{{topimagestyle|}}}">{{{topimage}}}{{#if:{{{topcaption|}}}|<br /><span style="{{{topcaptionstyle|}}}">{{{topcaption}}}</span>}}
}}{{#if:{{{above|}}}
}}{{#if:{{{above|}}}
  |<tr><th colspan={{#if:{{{party_column|}}}|4|3}} style="line-height: 1.5em; font-size: 110%; background:#DCDCDC; text-align: center; {{{abovestyle|}}}">{{{above}}}</th></tr>
  |colspan={{#if:{{{party_column|}}}|4|3}} style="line-height: 1.5em; font-size: 110%; background:#DCDCDC; text-align: center; {{{abovestyle|}}}">{{{above}}}
}}{{#if:{{{image|}}}
}}{{#if:{{{image|}}}
  |<tr><td colspan={{#if:{{{party_column|}}}|4|3}} style="text-align: center; {{{imagestyle|}}}">{{{image}}}{{#if:{{{caption|}}}|<br /><span style="{{{captionstyle|}}}">{{{caption}}}</span>}}</td></tr>
  |colspan={{#if:{{{party_column|}}}|4|3}} style="text-align: center; {{{imagestyle|}}}">{{{image}}}{{#if:{{{caption|}}}|<br /><span style="{{{captionstyle|}}}">{{{caption}}}</span>}}
}}<tr>
}}
<th scope="col">{{#if:{{{office_label|}}}|{{{office_label}}}|Office}}</th>
scope="col">{{#if:{{{office_label|}}}|{{{office_label}}}|Office}}
<th scope="col">{{#if:{{{name_label|}}}|{{{name_label}}}|Name}}</th>
scope="col">{{#if:{{{name_label|}}}|{{{name_label}}}|Name}}
{{#if:{{{party_column|}}}|<th scope="col">{{#if:{{{party_label|}}}|{{{party_label}}}|Party}}</th>}}
{{#if:{{{party_column|}}}|scope="col">{{#if:{{{party_label|}}}|{{{party_label}}}|Party}}}}
<th scope="col">{{#if:{{{term_label|}}}|{{{term_label}}}|Term}}</th>
scope="col">{{#if:{{{term_label|}}}|{{{term_label}}}|Term}}
</tr>{{infobox cabinet members/row|party_column = {{{party_column|}}}
{{infobox cabinet members/row|party_column = {{{party_column|}}}
| name_style = {{{name_style|}}} | border_color = {{#if:{{{border_color1|}}}|{{{border_color1}}}|#000}}
| name_style = {{{name_style|}}} | border_color = {{#if:{{{border_color1|}}}|{{{border_color1}}}|#000}}
| office = {{{office1|}}}
| office = {{{office1|}}}
Line 570: Line 570:
| nameh = {{{name50h|}}} | partyh = {{{party50h|}}} | termh = {{{term50h|}}}
| nameh = {{{name50h|}}} | partyh = {{{party50h|}}} | termh = {{{term50h|}}}
}}{{#if:{{{below|}}}|
}}{{#if:{{{below|}}}|
<tr><td colspan={{#if:{{{party_column|}}}|4|3}} style="border-top: #D1D1D1 2px solid; {{{belowstyle|}}}">
colspan={{#if:{{{party_column|}}}|4|3}} style="border-top: #D1D1D1 2px solid; {{{belowstyle|}}}">
{{{below}}}</td></tr>}}
{{{below}}}}}
</table><noinclude>
</table><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>
Administrators, upwizcampeditors
0

edits