Template:Infobox royalty: Difference between revisions
From Vigyanwiki
Template>Mark Arsten m (Changed protection level of Template:Infobox royalty: Allowing Protected Template editors ([Edit=Protected template] (indefinite) [Move=Protected template] (indefinite))) |
Template>Frietjes (allow enumerated lists of spouses or issue) |
||
Line 179: | Line 179: | ||
{{#if: {{{spouse|}}}| | {{#if: {{{spouse|}}}| | ||
! {{{spouse-type|{{#switch:{{{type}}}|monarch={{#switch:{{{consort}}}|yes=Spouse|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Spouse|Consort}}<!--BACKWARD COMPAT FROM IBR-->}}|majesty={{#switch:{{{consort}}}|yes=Spouse|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Spouse|Consort}}<!--BACKWARD COMPAT FROM IBR-->}}|Spouse}}}}} | ! {{{spouse-type|{{#switch:{{{type}}}|monarch={{#switch:{{{consort}}}|yes=Spouse|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Spouse|Consort}}<!--BACKWARD COMPAT FROM IBR-->}}|majesty={{#switch:{{{consort}}}|yes=Spouse|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Spouse|Consort}}<!--BACKWARD COMPAT FROM IBR-->}}|Spouse}}}}} | ||
{{!}} {{{spouse}}} | {{!}} {{#if:1|{{{spouse}}}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
<!--FOOLPROOFING. USE NOT GENERALLY ENCOURAGED: USE spouse-->{{#if: {{{spouses|}}}| | <!--FOOLPROOFING. USE NOT GENERALLY ENCOURAGED: USE spouse-->{{#if: {{{spouses|}}}| | ||
! {{{spouses-type|Spouse}}} | ! {{{spouses-type|Spouse}}} | ||
{{!}} {{{spouses}}} | {{!}} {{#if:1|{{{spouses}}}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 190: | Line 190: | ||
! colspan=2 {{!}} {{#if:{{{issue-link|}}}|<div style="float: right"><small>''[[{{{issue-link}}}{{!}}{{#if:{{{issue-pipe|}}}|{{{issue-pipe}}}|Detail}}]]''</small></div>}}Issue | ! colspan=2 {{!}} {{#if:{{{issue-link|}}}|<div style="float: right"><small>''[[{{{issue-link}}}{{!}}{{#if:{{{issue-pipe|}}}|{{{issue-pipe}}}|Detail}}]]''</small></div>}}Issue | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 style="text-align: left" {{!}} {{{issue}}} | {{!}} colspan=2 style="text-align: left" {{!}} {{#if:1|{{{issue}}}}} | ||
{{!}}- | {{!}}- | ||
}} | }} |
Revision as of 06:30, 16 November 2013
Template documentation
[create]