| Line 7: |
Line 7: |
| | BIRTH | | BIRTH |
| | --> | | --> |
| − | {{t row if|Date of birth|{{{yob|}}}{{{dob|}}}|col2txt=[[{{{dob}}}]] [[{{{yob}}}]]}} | + | {{t row if|Date of birth|{{{yob|}}}{{{dob|}}}|col2txt={{2if1|{{{dob|}}}{{{yob|}}}|[[{{{dob}}}]] [[{{{yob}}}]]}}|}} |
| | {{t row if|Birthplace|{{{birthplace|}}}|link=yes|col2txt={{{birthplace-raw|}}}}} | | {{t row if|Birthplace|{{{birthplace|}}}|link=yes|col2txt={{{birthplace-raw|}}}}} |
| | <!-- | | <!-- |
| | DEATH | | DEATH |
| | --> | | --> |
| − | {{t row if|Date of death|{{{yod|}}}{{{dod|}}}|col2txt=[[{{{dod}}}]] [[{{{yod}}}]]}} | + | {{t row if|Date of death|{{{yod|}}}{{{dod|}}}|col2txt={{2if1|{{{dod|}}}{{{yod|}}}|[[{{{dod}}}]] [[{{{yod}}}]]}}|}} |
| | <!-- | | <!-- |
| | SPOUSE | | SPOUSE |
| Line 22: |
Line 22: |
| | --> | | --> |
| | {{!-}} | | {{!-}} |
| − | {{!}}Preceded by{{!}}{{!}}{{#if:{{{pred|}}}|[[{{{pred}}}]]|—}} | + | {{!}}Succeeded{{!}}{{!}}{{#if:{{{succ|}}}|[[{{{succ}}}]]|—}} |
| − | {{!}}Succeeded by{{!}}{{!}}{{#if:{{{succ|}}}|[[{{{succ}}}]]|—}} | + | {{!-}} |
| | + | {{!}}Preceded{{!}}{{!}}{{#if:{{{pred|}}}|[[{{{pred}}}]]|—}} |
| | <!-- | | <!-- |
| | PARTY | | PARTY |
| Line 41: |
Line 42: |
| | {{Parm|wife|Name of wife|no}} | | {{Parm|wife|Name of wife|no}} |
| | {{Parm|wife-raw|Name of wife|no|See note A}} | | {{Parm|wife-raw|Name of wife|no|See note A}} |
| − | {{Parm|pred|Name of preceding Prime Minister|no|Is automaticall linked}} | + | {{Parm|pred|Name of previous Prime Minister|no|Is automaticall linked}} |
| − | {{Parm|succ|Name of succeeding Prime Minister|no|Is automaticall linked}} | + | {{Parm|succ|Name of next Prime Minister|no|Is automaticall linked}} |
| | }} | | }} |
| | '''NOTE A:''' Parameters of the form xxxx-raw are alternatives to the non-raw form. These should be used ''instead of'' the non-raw form to (a) provide links where the article name is different to the displayed name, or (b) where a link is not wanted. For example, if the capital of a country is ''Washington'', but the page name for that capital is ''Washington D.C.'', then you would type {{tt|<nowiki>capital-raw=[[Washington D.C.|Washington]]</nowiki>}}. If, instead, the page name is simply ''Washington'', then {{tt|<nowiki>capital=Washington</nowiki>}} is all that is needed, and will automatically be linked. If both non-raw and raw forms are supplied, the non-raw form will be ignored. | | '''NOTE A:''' Parameters of the form xxxx-raw are alternatives to the non-raw form. These should be used ''instead of'' the non-raw form to (a) provide links where the article name is different to the displayed name, or (b) where a link is not wanted. For example, if the capital of a country is ''Washington'', but the page name for that capital is ''Washington D.C.'', then you would type {{tt|<nowiki>capital-raw=[[Washington D.C.|Washington]]</nowiki>}}. If, instead, the page name is simply ''Washington'', then {{tt|<nowiki>capital=Washington</nowiki>}} is all that is needed, and will automatically be linked. If both non-raw and raw forms are supplied, the non-raw form will be ignored. |