Template:Infobox officeholder: Difference between revisions

fix accessibility, see Don't use hiddenStructure
m (rvv)
(fix accessibility, see Don't use hiddenStructure)
Line 1:
{| class="infobox bordered" style="width: 20em; font-size: 95%; text-align: left;" cellpadding="3"
|+ style="font-size: larger;" | '''{{{name}}}'''
{{qif|- classtest={{{image|}}}|then="hiddenStructure"<tr style="text-align: center;"><td colspan="2">[[Image:{{{image}}}|200px| ]]<br />{{{caption|}}}</td></tr>}}<!--
-->{{qif|test={{{order|}}}|then=<tr><th>Order</th><td>{{{order|}}}</td></tr>}}
| colspan="2" | [[Image:{{{image}}}|200px| ]]<br>{{{caption|}}}
|- class{{{order|}}}="hiddenStructure"
! Order
| {{{order|}}}
|-
! President&nbsp;from
| {{{term_start}}} &ndash; <span style="white-space: nowrap;">{{{term_end|present}}}</span>
{{qif|- classtest={{{vicepresident|}}}|then="hiddenStructure"<tr><th>Vice President</th><td>{{{vicepresident|}}}</td></tr>}}
|- class{{{order|}}}="hiddenStructure"
! Vice President
!
| {{{vicepresident}}}
|
|-
! Preceded by
Line 20 ⟶ 18:
|-
! Born
| {{{birth_date|}}}<br />{{{birth_place|}}}
{{qif|test={{{death_date|}}}|then=<tr><th>Died</th><td>{{{death_date|}}}<br />{{{death_place|}}}</td></tr>}}<!--
|- class{{{death_date|}}}="hiddenStructure"
-->{{qif|test={{{party|}}}|then=<tr><th>Political party</th><td>{{{party|}}}</td></tr>}}<!--
! Died
-->{{qif|test={{{spouse|}}}|then=<tr><th>Spouse</th><td>{{{spouse|}}}</td></tr>}}<!--
| {{{death_date|''not deceased''}}}<br>{{{death_place|}}}
-->{{qif|test={{{signature|}}}|then=<tr><th>Signature</th><td>[[Image:{{{signature}}}|128px]]</td></tr>}}<!--
|- class{{{party|}}}="hiddenStructure"
-->{{qif|test={{{footnotes|}}}|then=<tr><td colspan="2" style="font-size: smaller; border-top: 1px solid;" | >{{{footnotes|}}}</td></tr>}}
! Political party
| {{{party}}}
|- class{{{spouse|}}}="hiddenStructure"
! Spouse
| {{{spouse}}}
|- class{{{signature|}}}="hiddenStructure"
! Signature
| [[Image:{{{signature}}}|128px]]
|- class{{{footnotes|}}}="hiddenStructure"
| colspan="2" style="font-size: smaller; border-top: 1px solid;" | {{{footnotes|}}}
|}<noinclude>
 
Anonymous user