Difference between revisions of "Template:Infobox Politician"

From blackwiki
Jump to navigation Jump to search
imported>Matthew
m (Reverted edits by 87.112.22.17 (talk) to last version by MZMcBride)
imported>Harrykirk
(Reorganized personal details; added majority to all offices)
Line 6: Line 6:
 
<tr>
 
<tr>
 
<td colspan="2" style="text-align: center;">[[Image:{{{image}}}|{{{width|225}}}x{{{height|250px}}}|]]<br />{{{caption<includeonly>|</includeonly>}}}</td>
 
<td colspan="2" style="text-align: center;">[[Image:{{{image}}}|{{{width|225}}}x{{{height|250px}}}|]]<br />{{{caption<includeonly>|</includeonly>}}}</td>
 +
</tr>}}{{
 +
<th>Born</th>
 +
<td><span style="white-space: nowrap;">{{{birth_date}}}</span><br />{{{birth_place<includeonly>|</includeonly>}}}</td>
 +
</tr>{{
 +
  #if: {{{death_date<includeonly>|</includeonly>}}} |
 +
<tr>
 +
<th>Died</th>
 +
<td><span style="white-space: nowrap;">{{{death_date}}}</span><br />{{{death_place<includeonly>|</includeonly>}}}</td>
 +
</tr>}}{{
 +
  #if: {{{party<includeonly>|</includeonly>}}} |
 +
<tr>
 +
<th>Political&nbsp;party</th>
 +
<td>{{{party}}}</td>
 +
</tr>}}{{
 +
  #if: {{{residence<includeonly>|</includeonly>}}} |
 +
<tr>
 +
<th>Residence</th>
 +
<td>{{{residence<includeonly>|</includeonly>}}}</td>
 
</tr>}}{{
 
</tr>}}{{
 
   #if: {{{office<includeonly>|</includeonly>}}} |
 
   #if: {{{office<includeonly>|</includeonly>}}} |
 +
<tr>
 +
<th>Occupation</th>
 +
<td>{{{occupation}}}</td>
 +
</tr>}}{{
 +
  #if: {{{religion<includeonly>|</includeonly>}}} |
 +
<tr>
 +
<th>Religion</th>
 +
<td>{{{religion}}}</td>
 +
</tr>}}{{
 +
  #if: {{{relations<includeonly>|</includeonly>}}} |
 +
<tr>
 +
<th>Relations</th>
 +
<td>{{{relations}}}</td>
 +
</tr>}}{{
 +
  #if: {{{spouse<includeonly>|</includeonly>}}} |
 +
<tr>
 +
<th>Spouse</th>
 +
<td>{{{spouse}}}</td>
 +
</tr>}}{{
 +
  #if: {{{civil partner<includeonly>|</includeonly>}}} |
 +
<tr>
 +
<th>Civil partner</th>
 +
<td>{{{civil partner}}}</td>
 +
</tr>}}{{
 +
  #if: {{{children<includeonly>|</includeonly>}}} |
 +
<tr>
 +
<th>Children</th>
 +
<td>{{{children}}}</td>
 +
</tr>}}{{
 +
  #if: {{{website<includeonly>|</includeonly>}}} |
 +
<tr>
 +
<th colspan="2">'''Website:''' {{{website}}}</th>
 +
</tr>}}
 
<tr style="text-align: center;">
 
<tr style="text-align: center;">
 
<th colspan="2">{{{office}}}</th>
 
<th colspan="2">{{{office}}}</th>
Line 25: Line 76:
 
<th>Succeeded by</th><td>{{{successor}}}</td>
 
<th>Succeeded by</th><td>{{{successor}}}</td>
 
</tr>}}<tr>
 
</tr>}}<tr>
<th>Born</th>
+
{{
<td><span style="white-space: nowrap;">{{{birth_date}}}</span><br />{{{birth_place<includeonly>|</includeonly>}}}</td>
 
</tr>{{
 
  #if: {{{death_date<includeonly>|</includeonly>}}} |
 
<tr>
 
<th>Died</th>
 
<td><span style="white-space: nowrap;">{{{death_date}}}</span><br />{{{death_place<includeonly>|</includeonly>}}}</td>
 
</tr>}}{{
 
  #if: {{{residence<includeonly>|</includeonly>}}} |
 
<tr>
 
<th>Residence</th>
 
<td>{{{residence<includeonly>|</includeonly>}}}</td>
 
</tr>}}{{
 
 
   #if: {{{constituency<includeonly>|</includeonly>}}} |
 
   #if: {{{constituency<includeonly>|</includeonly>}}} |
 
<tr>
 
<tr>
 
<th>Constituency</th>
 
<th>Constituency</th>
 
<td>{{{constituency}}}</td>
 
<td>{{{constituency}}}</td>
 +
</tr>}}{{
 +
  #if: {{{majority<includeonly>|</includeonly>}}} |
 +
<tr>
 +
<th>Majority</th>
 +
<td>{{{majority}}}</td>
 
</tr>}}{{
 
</tr>}}{{
 
   #if: {{{office2<includeonly>|</includeonly>}}} |
 
   #if: {{{office2<includeonly>|</includeonly>}}} |
Line 67: Line 111:
 
<th>Constituency</th>
 
<th>Constituency</th>
 
<td>{{{constituency2}}}</td>
 
<td>{{{constituency2}}}</td>
 +
</tr>}}{{
 +
  #if: {{{majority2<includeonly>|</includeonly>}}} |
 +
<tr>
 +
<th>Majority</th>
 +
<td>{{{majority2}}}</td>
 
</tr>}}{{
 
</tr>}}{{
 
   #if: {{{office3<includeonly>|</includeonly>}}} |
 
   #if: {{{office3<includeonly>|</includeonly>}}} |
Line 93: Line 142:
 
<td>{{{constituency3}}}</td>
 
<td>{{{constituency3}}}</td>
 
</tr>}}{{
 
</tr>}}{{
   #if: {{{majority<includeonly>|</includeonly>}}} |
+
   #if: {{{majority3<includeonly>|</includeonly>}}} |
 
<tr>
 
<tr>
 
<th>Majority</th>
 
<th>Majority</th>
<td>{{{majority}}}</td>
+
<td>{{{majority3}}}</td>
</tr>}}{{
 
  #if: {{{party<includeonly>|</includeonly>}}} |
 
<tr>
 
<th>Political&nbsp;party</th>
 
<td>{{{party}}}</td>
 
</tr>}}{{
 
  #if: {{{occupation<includeonly>|</includeonly>}}} |
 
<tr>
 
<th>Occupation</th>
 
<td>{{{occupation}}}</td>
 
</tr>}}{{
 
  #if: {{{religion<includeonly>|</includeonly>}}} |
 
<tr>
 
<th>Religion</th>
 
<td>{{{religion}}}</td>
 
</tr>}}{{
 
  #if: {{{relations<includeonly>|</includeonly>}}} |
 
<tr>
 
<th>Relations</th>
 
<td>{{{relations}}}</td>
 
</tr>}}{{
 
  #if: {{{spouse<includeonly>|</includeonly>}}} |
 
<tr>
 
<th>Spouse</th>
 
<td>{{{spouse}}}</td>
 
</tr>}}{{
 
  #if: {{{civil partner<includeonly>|</includeonly>}}} |
 
<tr>
 
<th>Civil partner</th>
 
<td>{{{civil partner}}}</td>
 
</tr>}}{{
 
  #if: {{{children<includeonly>|</includeonly>}}} |
 
<tr>
 
<th>Children</th>
 
<td>{{{children}}}</td>
 
</tr>}}{{
 
  #if: {{{website<includeonly>|</includeonly>}}} |
 
<tr>
 
<th colspan="2">'''Website:''' {{{website}}}</th>
 
 
</tr>}}{{
 
</tr>}}{{
 
   #if: {{{footnotes<includeonly>|</includeonly>}}} |
 
   #if: {{{footnotes<includeonly>|</includeonly>}}} |
Line 153: Line 163:
 
| birth_date =
 
| birth_date =
 
| birth_place =
 
| birth_place =
| residence =
 
 
| death_date =
 
| death_date =
 
| death_place =
 
| death_place =
 +
| party =
 +
| residence =
 +
| occupation =
 +
| religion =
 +
| relations =
 +
| spouse =
 +
| civil partner =
 +
| children =
 +
| website =
 
| office =
 
| office =
 
| term_start =
 
| term_start =
Line 161: Line 179:
 
| predecessor =  
 
| predecessor =  
 
| successor =  
 
| successor =  
| constituency =  
+
| constituency =
 +
| majority =  
 
| office2 =  
 
| office2 =  
 
| term_start2 =
 
| term_start2 =
Line 168: Line 187:
 
| successor2 =
 
| successor2 =
 
| constituency2 =  
 
| constituency2 =  
 +
| majority2 =
 
| office3 =
 
| office3 =
 
| term_start3 =
 
| term_start3 =
Line 174: Line 194:
 
| successor3 =
 
| successor3 =
 
| constituency3 =  
 
| constituency3 =  
| party =
+
| majority3 =  
| religion =
 
| occupation =
 
| majority =
 
| relations =
 
| spouse =
 
| civil partner =
 
| children =
 
| website =  
 
 
| footnotes =  
 
| footnotes =  
 
}}
 
}}

Revision as of 16:44, 17 January 2007

{{ }}
{{{name}}}
[[Image:{{{image}}}|225x250px|]]
{{{caption}}}
Born {{{birth_date}}}
{{{birth_place}}}
Died {{{death_date}}}
{{{death_place}}}
Political party {{{party}}}
Residence {{{residence}}}
Occupation {{{occupation}}}
Religion {{{religion}}}
Relations {{{relations}}}
Spouse {{{spouse}}}
Civil partner {{{civil partner}}}
Children {{{children}}}
Website: {{{website}}}
{{{office}}}
In office
{{{term_start}}} – {{{term_end}}}
Preceded by{{{predecessor}}}
Succeeded by{{{successor}}}
Constituency {{{constituency}}}
Majority {{{majority}}}
{{{office2}}}
In office
{{{term_start2}}} – {{{term_end2}}}
Preceded by {{{predecessor2}}}
Succeeded by {{{successor2}}}
Constituency {{{constituency2}}}
Majority {{{majority2}}}
{{{office3}}}
In office
{{{term_start3}}} – {{{term_end3}}}
Preceded by {{{predecessor3}}}
Succeeded by {{{successor3}}}
Constituency {{{constituency3}}}
Majority {{{majority3}}}
{{{footnotes}}}

Usage

{{Infobox_Politician
| name =
| image =
| width =
| height =
| caption =
| birth_date =
| birth_place =
| death_date =
| death_place =
| party = 
| residence =
| occupation = 
| religion = 
| relations =
| spouse =
| civil partner = 
| children = 
| website = 
| office =
| term_start =
| term_end = 
| predecessor = 
| successor = 
| constituency =
| majority = 
| office2 = 
| term_start2 =
| term_end2 =
| predecessor2 = 
| successor2 =
| constituency2 = 
| majority2 = 
| office3 =
| term_start3 =
| term_end3 =
| predecessor3 = 
| successor3 =
| constituency3 = 
| majority3 = 
| footnotes = 
}}

vi:Tiêu bản:Viên chức