Template:Infobox royalty: Difference between revisions

From Vigyanwiki
Template>Trialpears
(Added automatic short descriptions, see talk page.)
m (203 revisions imported from alpha:Template:Infobox_royalty)
 
(15 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{Infobox royalty/short description|{{{title|{{{succession|}}}}}}}}
{{#if:{{Has short description}} |<!--Do nothing--> |{{Infobox royalty/short description|{{{title|{{{succession|}}}}}}}}}}
{{infobox
{{infobox
| child = {{#ifeq:{{lc:{{{embed|}}}}}|yes|yes}}
| child = {{#ifeq:{{lc:{{{embed|}}}}}|yes|yes}}
Line 263: Line 263:
| data73 = {{{spouse|}}}
| data73 = {{{spouse|}}}


| label74 = {{#if:{{{spouses-type|}}}|{{{spouses-type}}}|Spouse}}<!--FOOLPROOFING. USE NOT GENERALLY ENCOURAGED: USE spouse-->
| label74 = {{#if:{{{spouses-type|}}}|{{{spouses-type}}}|Spouses}}
| data74 = {{{spouses|}}}
| data74 = {{{spouses|}}}


| label75 = {{#if:{{{spouse 2|}}} | Wives | Wife }}
| label75 = {{#if:{{{spouse 2|}}} | Wives | Wife }}<!-- alternative to using 'spouses' and 'spouses-type' -->
| data75 = {{#if: {{{spouse 1|}}}|
| data75 = {{#if: {{{spouse 1|}}}|
{{unbulleted list
{{unbulleted list
Line 287: Line 287:
  | headerstyle = text-align:left
  | headerstyle = text-align:left
  | datastyle = text-align:left; padding-left:0.7em;
  | datastyle = text-align:left; padding-left:0.7em;
  | header1 = {{#if:{{{full name|}}}|Full name}}
  | header1 = {{#if:{{{full name|}}}|Names}}
  | class2 = nickname <!-- "nickname" is the correct parameter value for hCard -->
  | class2 = nickname <!-- "nickname" is the correct parameter value for hCard -->
  | data2 = {{{full name|}}}
  | data2 = {{{full name|}}}
Line 346: Line 346:


| label90 = {{#if:{{{signature_type|}}}| {{{signature_type}}} | Signature }}
| label90 = {{#if:{{{signature_type|}}}| {{{signature_type}}} | Signature }}
| data90 = {{#if:{{{signature|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size=125px|alt={{{signature_alt|}}}|title={{{name<includeonly>|{{PAGENAMEBASE}}</includeonly>}}}'s signature}}}}
| data90 = {{#if:{{{signature|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size=125px|class=notpageimage|alt={{{signature_alt|}}}|title={{{name<includeonly>|{{PAGENAMEBASE}}</includeonly>}}}'s signature}}}}


| data91 = {{{module|}}}   
| data91 = {{{module|}}}   

Latest revision as of 18:44, 17 February 2023

Template:Infobox royalty/short description

Template documentation