Difference between revisions of "Template:President"
From Conservapedia
(just one more line to find) |
(add age template - hope I got the format right, it's tricky) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 50: | Line 50: | ||
{{!}} [[{{{next|}}}]] |<!--else--> | {{!}} [[{{{next|}}}]] |<!--else--> | ||
}} | }} | ||
− | {{!-}}<!---------Second term of office----------> | + | {{!-}} |
+ | <!---------Second term of office----------> | ||
{{#if:{{{seq2|}}} | <!--then:--> | {{#if:{{{seq2|}}} | <!--then:--> | ||
{{#ifeq: {{{office2|}}} | vice |<!--then:--> | {{#ifeq: {{{office2|}}} | vice |<!--then:--> | ||
{{!}}colspan="2" align="center" style="color: black ; font-size: 120%; height: 24px; background: thistle 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> }} Vice-President of {{{country|the United States}}}''' |<!--else--> | {{!}}colspan="2" align="center" style="color: black ; font-size: 120%; height: 24px; background: thistle 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> }} Vice-President of {{{country|the United States}}}''' |<!--else--> | ||
{{!}}colspan="2" align="center" style="color: black; font-size: 120%; height: 24px; background: plum 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}}}'''}}}} | {{!}}colspan="2" align="center" style="color: black; font-size: 120%; height: 24px; background: plum 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}}}'''}}}} | ||
− | {{!-}}<!----------Term----------> | + | {{!-}} |
+ | <!----------Term----------> | ||
{{#if:{{{term_start2|}}} | <!--then:--> | {{#if:{{{term_start2|}}} | <!--then:--> | ||
{{!}}colspan="2" align="center" style="color: black;" {{!}}'''Term of office'''<br>{{{term_start2|}}} - {{#if:{{{term_end2|}}} | {{{term_end2|}}} | }} | <!--else--> | {{!}}colspan="2" align="center" style="color: black;" {{!}}'''Term of office'''<br>{{{term_start2|}}} - {{#if:{{{term_end2|}}} | {{{term_end2|}}} | }} | <!--else--> | ||
}} | }} | ||
− | {{!-}}<!---------Party----------> | + | {{!-}} |
+ | <!---------Party----------> | ||
{{#if:{{{party2|}}} | <!--then:--> | {{#if:{{{party2|}}} | <!--then:--> | ||
{{!}}'''Political party''' | {{!}}'''Political party''' | ||
Line 136: | Line 139: | ||
<!----------Life & death ----------> | <!----------Life & death ----------> | ||
{{#if:{{{birth_date|}}} | <!--then:--> | {{#if:{{{birth_date|}}} | <!--then:--> | ||
− | |||
{{!}} '''Born''' | {{!}} '''Born''' | ||
− | {{!}} {{{birth_date}}} {{#if:{{{birth_place|}}} | <br>[[{{{birth_place|}}}]] | }}| <!--else--> | + | {{!}} {{{birth_date}}} {{#if:{{{birth_place|}}} |<br>[[{{{birth_place|}}}]] | }}| <!--else--> |
+ | }} | ||
+ | {{!-}} | ||
+ | {{#if:{{{age|}}} | <!--then:--> | ||
+ | {{!}} '''Age''' | ||
+ | {{!}} {{{age}}}| <!--else--> | ||
}} | }} | ||
{{!-}} | {{!-}} |
Latest revision as of 19:46, March 21, 2009
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= }}