Difference between revisions of "Template:Prime Minister"
From Conservapedia
(→Sample Data Block: change parms in example block) |
(add img caption parm to tl) |
||
| Line 6: | Line 6: | ||
{{!}}align="center" colspan="2"{{!}}{{#if:{{{image|}}}|[[image:{{{image}}}|200px]]|}} | {{!}}align="center" colspan="2"{{!}}{{#if:{{{image|}}}|[[image:{{{image}}}|200px]]|}} | ||
{{!-}} | {{!-}} | ||
| + | {{#if:{{{caption|}}}| | ||
| + | {{!}} colspan="2" style="border-bottom: 1px solid #aaa; text-align:left;" {{!}} {{{caption}}} | ||
| + | {{!}}- | ||
| + | }} | ||
<!----------First term of office----------> | <!----------First term of office----------> | ||
{{#if:{{{seq|}}} | <!--then:--> | {{#if:{{{seq|}}} | <!--then:--> | ||
| Line 171: | Line 175: | ||
{{Parm|name|Name of PM|no|defaults to page name}} | {{Parm|name|Name of PM|no|defaults to page name}} | ||
{{Parm|image|Picture of PM|no|Only the file name is required}} | {{Parm|image|Picture of PM|no|Only the file name is required}} | ||
| + | {{Parm|caption|Image caption|no|}} | ||
{{Parm|country|Country|no|defaults to United Kingdom}} | {{Parm|country|Country|no|defaults to United Kingdom}} | ||
{{Parm|seq|Sequential number|no|}} | {{Parm|seq|Sequential number|no|}} | ||
| Line 202: | Line 207: | ||
|name= | |name= | ||
|image= | |image= | ||
| + | |caption= | ||
|office= | |office= | ||
|seq= | |seq= | ||
Revision as of 12:42, July 11, 2007
| Prime Minister | |
|---|---|
| Template: Prime Minister | |
|---|---|
| Use on | Article pages |
| Use for | Country Prime Ministers |
| Category template applies to page | (none) |
| Template Parameters (See using templates). | |||
|---|---|---|---|
| Name | Purpose | Required? | Comment |
| name | Name of PM | no | defaults to page name |
| image | Picture of PM | no | Only the file name is required |
| caption | Image caption | no | |
| country | Country | no | defaults to United Kingdom |
| seq | Sequential number | no | |
| term_start | First date of office | no | |
| term_end | Last date of office | no | |
| previous | Predecessor | no | linked |
| next | Successor | no | linked |
| seq2 | Sequential number | no | |
| term_start2 | First date of office | no | |
| term_end2 | Last date of office | no | |
| previous2 | Predecessor | no | linked |
| next2 | Successor | no | linked |
| seq3 | Sequential number | no | |
| term_start3 | First date of office | no | |
| term_end3 | Last date of office | no | |
| 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
{{Prime Minister
|name=
|image=
|caption=
|office=
|seq=
|country=
|term_start=
|term_end=
|party=
|previous=
|next=
|office2=
|seq2=
|term_start2=
|term_end2=
|party2=
|previous2=
|next2=
|office3=
|seq3=
|term_start3=
|term_end3=
|party3=
|previous3=
|next3=
|birth_date=
|birth_place=
|death_date=
|death_place=
|spouse=
|spouse2=
|religion=
}}