Difference between revisions of "Template:President"
(Undo revision 216971 by Special:Contributions/BrianCo (User talk:BrianCo)Didn't work) |
(try again) |
||
| Line 18: | Line 18: | ||
<!----------Term----------> | <!----------Term----------> | ||
{{#if:{{{term_start|}}}|<!--then:--> | {{#if:{{{term_start|}}}|<!--then:--> | ||
| − | ! Term | + | !colspan="2" align="center" style="color: black;" {{!}}Term of office<br>{{!}} {{{term_start|}}} - {{#if:{{{term_end|}}}|{{{term_end|}}} | }} | <!--else--> |
| − | {{!}} {{{term_start|}}} - {{#if:{{{term_end|}}}|{{{term_end|}}} | }} | <!--else--> | ||
}} | }} | ||
|- | |- | ||
| Line 64: | Line 63: | ||
<!----------Term----------> | <!----------Term----------> | ||
{{#if:{{{term_start2|}}}|<!--then:--> | {{#if:{{{term_start2|}}}|<!--then:--> | ||
| − | ! Term | + | !colspan="2" align="center" style="color: black;" {{!}}Term of office<br>{{!}} {{{term_start2|}}} - {{#if:{{{term_end2|}}}|{{{term_end2|}}} | }} | <!--else--> |
| − | {{!}} {{{term_start2|}}} - {{#if:{{{term_end2|}}}|{{{term_end2|}}} | }} | <!--else--> | ||
}} | }} | ||
|- | |- | ||
| Line 75: | Line 73: | ||
|- | |- | ||
<!-----Presidents----> | <!-----Presidents----> | ||
| − | {{#if:{{{ | + | {{#if:{{{pres|}}}|<!--then:--> |
| − | ! President{{#if:{{{ | + | ! President{{#if:{{{2pres|}}}|s}} |
{{!}} [[{{{pres2|}}}]] {{#if:{{{pres_dates2|}}}| ({{{pres_dates2|}}}) | }}{{#if:{{{2pres2|}}}| <br>[[{{{2pres2|}}}]] {{#if:{{{2pres_dates2|}}}| ({{{2pres_dates2|}}}) | }} | }}{{#if:{{{3pres2|}}}| <br>[[{{{3pres2|}}}]] {{#if:{{{3pres_dates2|}}}| {{{3pres_dates2|}}}) | }} | }}{{#if:{{{4pres2|}}}| <br>[[{{{4pres2|}}}]] {{#if:{{4{pres_dates2|}}}| ({{{4pres_dates2|}}}) | }} | }} | <!--else--> | {{!}} [[{{{pres2|}}}]] {{#if:{{{pres_dates2|}}}| ({{{pres_dates2|}}}) | }}{{#if:{{{2pres2|}}}| <br>[[{{{2pres2|}}}]] {{#if:{{{2pres_dates2|}}}| ({{{2pres_dates2|}}}) | }} | }}{{#if:{{{3pres2|}}}| <br>[[{{{3pres2|}}}]] {{#if:{{{3pres_dates2|}}}| {{{3pres_dates2|}}}) | }} | }}{{#if:{{{4pres2|}}}| <br>[[{{{4pres2|}}}]] {{#if:{{4{pres_dates2|}}}| ({{{4pres_dates2|}}}) | }} | }} | <!--else--> | ||
}} | }} | ||
| Line 110: | Line 108: | ||
<!----------Term----------> | <!----------Term----------> | ||
{{#if:{{{term_start3|}}}|<!--then:--> | {{#if:{{{term_start3|}}}|<!--then:--> | ||
| − | ! Term | + | !colspan="2" align="center" style="color: black;" {{!}}Term of office<br>{{!}} {{{term_start3|}}} - {{#if:{{{term_end3|}}}|{{{term_end3|}}} | }} | <!--else--> |
| − | {{!}} {{{term_start3|}}} - {{#if:{{{term_end3|}}}|{{{term_end3|}}} | }} | <!--else--> | ||
}} | }} | ||
|- | |- | ||
| Line 121: | Line 118: | ||
|- | |- | ||
<!-----Presidents----> | <!-----Presidents----> | ||
| − | {{#if:{{{ | + | {{#if:{{{pres|}}}|<!--then:--> |
| − | ! President{{#if:{{{ | + | ! President{{#if:{{{2pres|}}}|s}} |
{{!}} [[{{{pres3|}}}]] {{#if:{{{pres_dates3|}}}| ({{{pres_dates3|}}}) | }}{{#if:{{{2pres3|}}}| <br>[[{{{2pres3|}}}]] {{#if:{{{2pres_dates3|}}}| ({{{2pres_dates3|}}}) | }} | }}{{#if:{{{3pres3|}}}| <br>[[{{{3pres3|}}}]] {{#if:{{{3pres_dates3|}}}| {{{3pres_dates3|}}}) | }} | }}{{#if:{{{4pres3|}}}| <br>[[{{{4pres3|}}}]] {{#if:{{4{pres_dates3|}}}| ({{{4pres_dates3|}}}) | }} | }} | <!--else--> | {{!}} [[{{{pres3|}}}]] {{#if:{{{pres_dates3|}}}| ({{{pres_dates3|}}}) | }}{{#if:{{{2pres3|}}}| <br>[[{{{2pres3|}}}]] {{#if:{{{2pres_dates3|}}}| ({{{2pres_dates3|}}}) | }} | }}{{#if:{{{3pres3|}}}| <br>[[{{{3pres3|}}}]] {{#if:{{{3pres_dates3|}}}| {{{3pres_dates3|}}}) | }} | }}{{#if:{{{4pres3|}}}| <br>[[{{{4pres3|}}}]] {{#if:{{4{pres_dates3|}}}| ({{{4pres_dates3|}}}) | }} | }} | <!--else--> | ||
}} | }} | ||
| Line 158: | Line 155: | ||
{{#if:{{{spouse|}}}|<!--then:--> | {{#if:{{{spouse|}}}|<!--then:--> | ||
! Spouse | ! Spouse | ||
| − | {{!}} {{{spouse}}}{{#if:{{{spouse2|}}} | <br> | + | {{!}} {{{spouse}}}{{#if:{{{spouse2|}}} | <br>{{{spouse2|}}} | }} | <!--else--> |
}} | }} | ||
|- | |- | ||
| Line 176: | Line 173: | ||
{{Parm|term_start|First date of office|no|}} | {{Parm|term_start|First date of office|no|}} | ||
{{Parm|term_end|Last date of office|no|}} | {{Parm|term_end|Last date of office|no|}} | ||
| − | {{Parm|vp|1st Vice president|no|Name of VP | + | {{Parm|vp|1st Vice president|no|Name of VP - linked}} |
{{Parm|vp_dates|1st Vice president term|no|Dates in office}} | {{Parm|vp_dates|1st Vice president term|no|Dates in office}} | ||
{{Parm|2vp|2nd Vice president|no|Name of VP - linked}} | {{Parm|2vp|2nd Vice president|no|Name of VP - linked}} | ||
| Line 184: | Line 181: | ||
{{Parm|4vp|4th Vice president|no|Name of VP - linked}} | {{Parm|4vp|4th Vice president|no|Name of VP - linked}} | ||
{{Parm|4vp_dates|4th Vice president term|no|Dates in office}} | {{Parm|4vp_dates|4th Vice president term|no|Dates in office}} | ||
| − | {{Parm|pres|1st president|no|Name of | + | {{Parm|pres|1st president|no|Name of pres - linked}} |
{{Parm|pres_dates|1st president term|no|Dates in office}} | {{Parm|pres_dates|1st president term|no|Dates in office}} | ||
{{Parm|2pres|2nd president|no|Name of pres - linked}} | {{Parm|2pres|2nd president|no|Name of pres - linked}} | ||
| Line 242: | Line 239: | ||
{{Parm|death_date|Date of death|no|}} | {{Parm|death_date|Date of death|no|}} | ||
{{Parm|death_place|Place of death|no|linked}} | {{Parm|death_place|Place of death|no|linked}} | ||
| − | {{Parm|spouse|Spouse|no| | + | {{Parm|spouse|Spouse|no|}} |
| − | {{Parm|spouse2|Spouse|no|second spouse | + | {{Parm|spouse2|Spouse|no|second spouse}} |
{{Parm|religion|Religion|no|linked}} | {{Parm|religion|Religion|no|linked}} | ||
}} | }} | ||
Revision as of 17:17, July 3, 2007
| President | |
|---|---|
| Template: President | |
|---|---|
| Use on | Article pages |
| Use for | Country presidents |
| Category template applies to page | (none) |
| Template Parameters (See using templates). | |||
|---|---|---|---|
| Name | Purpose | Required? | Comment |
| name | Name of president | no | defaults to page name |
| image | Picture of president | no | Only the file name is required |
| country | Country | no | defaults to United States |
| office | President or Vice | no | vice (default is president) |
| seq | Sequential number | no | |
| term_start | First date of office | no | |
| term_end | Last date of office | no | |
| vp | 1st Vice president | no | Name of VP - linked |
| vp_dates | 1st Vice president term | no | Dates in office |
| 2vp | 2nd Vice president | no | Name of VP - linked |
| 2vp_dates | 2nd Vice president term | no | Dates in office |
| 3vp | 3rd Vice president | no | Name of VP - linked |
| 3vp_dates | 3rd Vice president term | no | Dates in office |
| 4vp | 4th Vice president | no | Name of VP - linked |
| 4vp_dates | 4th Vice president term | no | Dates in office |
| pres | 1st president | no | Name of pres - linked |
| pres_dates | 1st president term | no | Dates in office |
| 2pres | 2nd president | no | Name of pres - linked |
| 2pres_dates | 2nd president term | no | Dates in office |
| 3pres | 3rd president | no | Name of pres - linked |
| 3pres_dates | 3rd president term | no | Dates in office |
| 4pres | 4th president | no | Name of pres - linked |
| 4pres_dates | 4th president term | no | Dates in office |
| previous | Predecessor | no | linked |
| next | Successor | no | linked |
| office2 | President or Vice | no | vice (default is president) |
| seq2 | Sequential number | no | |
| term_start2 | First date of office | no | |
| term_end2 | Last date of office | no | |
| vp2 | 1st Vice president | no | Name of VP - linked |
| vp_dates2 | 1st Vice president term | no | Dates in office |
| 2vp2 | 2nd Vice president | no | Name of VP - linked |
| 2vp_dates2 | 2nd Vice president term | no | Dates in office |
| 3vp2 | 3rd Vice president | no | Name of VP - linked |
| 3vp_dates2 | 3rd Vice president term | no | Dates in office |
| 4vp2 | 4th Vice president | no | Name of VP - linked |
| 4vp_dates2 | 4th Vice president term | no | Dates in office |
| pres2 | 1st president | no | Name of pres - linked |
| pres_dates2 | 1st president term | no | Dates in office |
| 2pres2 | 2nd president | no | Name of pres - linked |
| 2pres_dates2 | 2nd president term | no | Dates in office |
| 3pres2 | 3rd president | no | Name of pres - linked |
| 3pres_dates2 | 3rd president term | no | Dates in office |
| 4pres2 | 4th president | no | Name of pres - linked |
| 4pres_dates2 | 4th president term | no | Dates in office |
| previous2 | Predecessor | no | linked |
| next2 | Successor | no | linked |
| office3 | President or Vice | no | vice (default is president) |
| seq3 | Sequential number | no | |
| term_start3 | First date of office | no | |
| term_end3 | Last date of office | no | |
| vp3 | 1st Vice president | no | Name of VP - linked |
| vp_dates3 | 1st Vice president term | no | Dates in office |
| 2vp3 | 2nd Vice president | no | Name of VP - linked |
| 2vp_dates3 | 2nd Vice president term | no | Dates in office |
| 3vp3 | 3rd Vice president | no | Name of VP - linked |
| 3vp_dates3 | 3rd Vice president term | no | Dates in office |
| 4vp3 | 4th Vice president | no | Name of VP - linked |
| 4vp_dates3 | 4th Vice president term | no | Dates in office |
| pres3 | 1st president | no | Name of pres - linked |
| pres_dates3 | 1st president term | no | Dates in office |
| 2pres3 | 2nd president | no | Name of pres - linked |
| 2pres_dates3 | 2nd president term | no | Dates in office |
| 3pres3 | 3rd president | no | Name of pres - linked |
| 3pres_dates3 | 3rd president term | no | Dates in office |
| 4pres3 | 4th president | no | Name of pres - linked |
| 4pres_dates3 | 4th president term | no | Dates in office |
| previous3 | Predecessor | no | linked |
| next3 | Successor | no | linked |
| birth_date | Date of birth | no | |
| birth_place | Place of birth | no | linked |
| death_date | Date of death | no | |
| death_place | Place of death | no | linked |
| spouse | Spouse | no | |
| spouse2 | Spouse | no | second spouse |
| religion | Religion | no | linked |
Sample Data Block
The following may be copied and pasted at the top of the page being edited
{{President
|name=
|image=
|office=
|seq=
|country=
|term_start=
|term_end=
|party=
|vp=
|vp_dates=
|2vp=
|2vp_dates=
|3vp=
|3vp_dates=
|4vp=
|4vp_dates=
|pres=
|pres_dates=
|2pres=
|2pres_dates=
|3pres=
|3pres_dates=
|4pres=
|4pres_dates=
|previous=
|next=
|office2=
|seq2=
|term_start2=
|term_end2=
|party2=
|vp2=
|vp_dates2=
|2vp2=
|2vp_dates2=
|3vp2=
|3vp_dates2=
|4vp2=
|4vp_dates2=
|pres2=
|pres_dates2=
|2pres2=
|2pres_dates2=
|3pres2=
|3pres_dates2=
|4pres2=
|4pres_dates2=
|previous2=
|next2=
|office3=
|seq3=
|term_start3=
|term_end3=
|party3=
|vp3=
|vp_dates3=
|2vp3=
|2vp_dates3=
|3vp3=
|3vp_dates3=
|4vp3=
|4vp_dates3=
|pres3=
|pres_dates3=
|2pres3=
|2pres_dates3=
|3pres3=
|3pres_dates3=
|4pres3=
|4pres_dates3=
|previous3=
|next3=
|birth_date=
|birth_place=
|birth_date=
|birth_place=
|death_date=
|death_place=
|spouse=
|spouse2=
|religion=
}}