Difference between revisions of "Template:President"
Jump to navigation
Jump to search
(Created template) |
(missed 3) |
||
| Line 10: | Line 10: | ||
<!----------First term of office----------> | <!----------First term of office----------> | ||
{{#if:{{{seq|}}}|<!--then:--> | {{#if:{{{seq|}}}|<!--then:--> | ||
| − | !colspan="2" align="center" style="color: white; font-size: 120%; height: 24px; background: purple no-repeat scroll top left;" {{!}} {{#ifeq: {{#expr: {{{seq|}}} = 11 or {{{seq|}}} = 12 }} | 0 | {{#ifeq: {{#expr: {{{seq|}}} mod 10}} | 1 | {{{seq|}}}<sup>st</sup> | {{#ifeq: {{#expr: {{{seq|}}} mod 10}} | 2 | {{{seq|}}}<sup>nd</sup> | {{{seq|}}}<sup>th</sup> }} }} | {{{seq|}}}<sup>th</sup> }} President of {{{country|the United States}}}|<!--else--> | + | !colspan="2" align="center" style="color: white; font-size: 120%; height: 24px; background: purple no-repeat scroll top left;" {{!}} {{#ifeq: {{#expr: {{{seq|}}} = 11 or {{{seq|}}} = 12 or {{{seq|}}} = 13 }} | 0 | {{#ifeq: {{#expr: {{{seq|}}} mod 10}}| 1 | {{{seq|}}}<sup>st</sup> | {{#ifeq: {{#expr: {{{seq|}}} mod 10}} | 2 | {{{seq|}}}<sup>nd</sup> | {{#ifeq: {{#expr: {{{seq|}}} mod 10}}| 3 | {{{seq|}}}<sup>rd</sup> | {{{seq|}}}<sup>th</sup> }} }} }}| {{{seq|}}}<sup>th</sup> }} President of {{{country|the United States}}}|<!--else--> |
}} | }} | ||
|- | |- | ||
| Line 28: | Line 28: | ||
{{#if:{{{vp|}}}|<!--then:--> | {{#if:{{{vp|}}}|<!--then:--> | ||
! Vice President (s) | ! Vice President (s) | ||
| − | {{!}} [[{{{vp|}}}]] {{#if:{{{2vp|}}}| <br>[[{{{2vp|}}}]] | }}{{#if:{{{3vp|}}}| <br>[[{{{3vp|}}}]] | }}{{#if:{{{4vp|}}}| <br>[[{{{4vp|}}}]] | }} | <!--else--> | + | {{!}} [[{{{vp|}}}]] {{#if:{{{vpdates|}}}| <br>({{{vpdates|}}}) | }}{{#if:{{{2vp|}}}| <br>[[{{{2vp|}}}]] {{#if:{{{2vpdates|}}}| <br>({{{2vpdates|}}}) | }} | }}{{#if:{{{3vp|}}}| <br>[[{{{3vp|}}}]] {{#if:{{{3vpdates|}}}| <br>({{{3vpdates|}}}) | }} | }}{{#if:{{{4vp|}}}| <br>[[{{{4vp|}}}]] {{#if:{{4{vpdates|}}}| <br>({{{4vpdates|}}}) | }} | }} | <!--else--> |
}} | }} | ||
|- | |- | ||
| Line 45: | Line 45: | ||
<!---------Second term of office----------> | <!---------Second term of office----------> | ||
{{#if:{{{seq2|}}}|<!--then:--> | {{#if:{{{seq2|}}}|<!--then:--> | ||
| − | !colspan="2" align="center" style="color: white; font-size: 120%; height: 24px; background: purple no-repeat scroll top left;" {{!}} {{#ifeq: {{#expr: {{{seq2|}}} = 11 or {{{seq2|}}} = 12 }} | 0 | {{#ifeq: {{#expr: {{{seq2|}}} mod 10}} | 1 | {{{seq2|}}}<sup>st</sup> | {{#ifeq: {{#expr: {{{seq2|}}} mod 10}} | 2 | {{{seq2|}}}<sup>nd</sup> | {{{seq2|}}}<sup>th</sup> }} }} | {{{seq2|}}}<sup>th</sup> }} President of {{{country|the United States}}}|<!--else--> | + | !colspan="2" align="center" style="color: white; font-size: 120%; height: 24px; background: purple no-repeat scroll top left;" {{!}} {{#ifeq: {{#expr: {{{seq2|}}} = 11 or {{{seq2|}}} = 12 or {{{seq2|}}} = 13 }} | 0 | {{#ifeq: {{#expr: {{{seq2|}}} mod 10}}| 1 | {{{seq2|}}}<sup>st</sup> | {{#ifeq: {{#expr: {{{seq2|}}} mod 10}} | 2 | {{{seq2|}}}<sup>nd</sup> | {{#ifeq: {{#expr: {{{seq2|}}} mod 10}}| 3 | {{{seq2|}}}<sup>rd</sup> | {{{seq2|}}}<sup>th</sup> }} }} }}| {{{seq2|}}}<sup>th</sup> }} President of {{{country|the United States}}}|<!--else--> |
}} | }} | ||
|- | |- | ||
| Line 63: | Line 63: | ||
{{#if:{{{vp2|}}}|<!--then:--> | {{#if:{{{vp2|}}}|<!--then:--> | ||
! Vice President (s) | ! Vice President (s) | ||
| − | {{!}} [[{{{vp2|}}}]] {{#if:{{{2vp2|}}}| <br>[[{{{2vp2|}}}]] | }}{{#if:{{{3vp2|}}}| <br>[[{{{3vp2|}}}]] | }}{{#if:{{{4vp2|}}}| <br>[[{{{4vp2|}}}]] | }} | <!--else--> | + | {{!}} [[{{{vp2|}}}]] {{#if:{{{vp2dates|}}}| <br>({{{vp2dates|}}}) | }}{{#if:{{{2vp2|}}}| <br>[[{{{2vp2|}}}]] {{#if:{{{2vp2dates|}}}| <br>({{{2vp2dates|}}}) | }} | }}{{#if:{{{3vp2|}}}| <br>[[{{{3vp2|}}}]] {{#if:{{{3vp2dates|}}}| <br>({{{3vp2dates|}}}) | }} | }}{{#if:{{{4vp2|}}}| <br>[[{{{4vp2|}}}]] {{#if:{{4{vp2dates|}}}| <br>({{{4vp2dates|}}}) | }} | }} | <!--else--> |
}} | }} | ||
|- | |- | ||
| Line 109: | Line 109: | ||
{{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|Vice president|no|Name of VP | + | {{Parm|vp|1st Vice president|no|Name of VP - linked}} |
| − | {{Parm|2vp|Vice president|no|Name of VP | + | {{Parm|vpdates|1st Vice president term|no|Dates in office}} |
| − | {{Parm|3vp|Vice president|no|Name of VP | + | {{Parm|2vp|2nd Vice president|no|Name of VP - linked}} |
| − | {{Parm|4vp|Vice president|no|Name of VP | + | {{Parm|2vpdates|2nd Vice president term|no|Dates in office}} |
| + | {{Parm|3vp|3rd Vice president|no|Name of VP - linked}} | ||
| + | {{Parm|3vpdates|3rd Vice president term|no|Dates in office}} | ||
| + | {{Parm|4vp|4th Vice president|no|Name of VP - linked}} | ||
| + | {{Parm|4vpdates|4th Vice president term|no|Dates in office}} | ||
{{Parm|previous|Predecessor|no| linked}} | {{Parm|previous|Predecessor|no| linked}} | ||
{{Parm|next|Successor|no| linked}} | {{Parm|next|Successor|no| linked}} | ||
| Line 118: | Line 122: | ||
{{Parm|term2_start|First date of office|no|}} | {{Parm|term2_start|First date of office|no|}} | ||
{{Parm|term2_end|Last date of office|no|}} | {{Parm|term2_end|Last date of office|no|}} | ||
| − | {{Parm|vp2|Vice president|no|Name of VP | + | {{Parm|vp2|1st Vice president|no|Name of VP - linked}} |
| − | {{Parm|2vp2|Vice president|no|Name of VP | + | {{Parm|vp2dates|1st Vice president term|no|Dates in office}} |
| − | {{Parm|3vp2|Vice president|no|Name of VP | + | {{Parm|2vp2|2nd Vice president|no|Name of VP - linked}} |
| − | {{Parm|4vp2|Vice president|no|Name of VP | + | {{Parm|2vp2dates|2nd Vice president term|no|Dates in office}} |
| + | {{Parm|3vp2|3rd Vice president|no|Name of VP - linked}} | ||
| + | {{Parm|3vp2dates|3rd Vice president term|no|Dates in office}} | ||
| + | {{Parm|4vp2|4th Vice president|no|Name of VP - linked}} | ||
| + | {{Parm|4vp2dates|4th Vice president term|no|Dates in office}} | ||
{{Parm|previous2|Predecessor|no| linked}} | {{Parm|previous2|Predecessor|no| linked}} | ||
{{Parm|next2|Successor|no| linked}} | {{Parm|next2|Successor|no| linked}} | ||
| Line 129: | Line 137: | ||
{{Parm|death_place|Place of death|no|linked}} | {{Parm|death_place|Place of death|no|linked}} | ||
{{Parm|spouse|Spouse|no|linked}} | {{Parm|spouse|Spouse|no|linked}} | ||
| + | {{Parm|spouse2|Spouse|no|second spouse - linked}} | ||
{{Parm|religion|Religion|no|linked}} | {{Parm|religion|Religion|no|linked}} | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
Revision as of 23:22, June 30, 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 |
| seq | Sequential number | no | |
| country | Country | no | defaults to United States |
| term_start | First date of office | no | |
| term_end | Last date of office | no | |
| vp | 1st Vice president | no | Name of VP - linked |
| vpdates | 1st Vice president term | no | Dates in office |
| 2vp | 2nd Vice president | no | Name of VP - linked |
| 2vpdates | 2nd Vice president term | no | Dates in office |
| 3vp | 3rd Vice president | no | Name of VP - linked |
| 3vpdates | 3rd Vice president term | no | Dates in office |
| 4vp | 4th Vice president | no | Name of VP - linked |
| 4vpdates | 4th Vice president term | no | Dates in office |
| previous | Predecessor | no | linked |
| next | Successor | no | linked |
| seq2 | Sequential number | no | Second term if not sequential |
| term2_start | First date of office | no | |
| term2_end | Last date of office | no | |
| vp2 | 1st Vice president | no | Name of VP - linked |
| vp2dates | 1st Vice president term | no | Dates in office |
| 2vp2 | 2nd Vice president | no | Name of VP - linked |
| 2vp2dates | 2nd Vice president term | no | Dates in office |
| 3vp2 | 3rd Vice president | no | Name of VP - linked |
| 3vp2dates | 3rd Vice president term | no | Dates in office |
| 4vp2 | 4th Vice president | no | Name of VP - linked |
| 4vp2dates | 4th Vice president term | no | Dates in office |
| previous2 | Predecessor | no | linked |
| next2 | 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 | linked |
| spouse2 | Spouse | no | second spouse - linked |
| religion | Religion | no | linked |