Template:Infobox test: Difference between revisions

From 'City of Adelaide' History and Genealogy Site
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
{{Infobox|child={{{child|}}}
{{Infobox|child={{{child|}}}
| name      = {{PAGENAME}}
| name      = {{PAGENAME}}
| bodyclass = biography vcard
| bodyclass     = biography vcard
| bodystyle = {{#if:{{{box_width|}}}|width:{{{box_width}}};}}
| bodystyle     = {{#if:{{{box_width|}}}|width:{{{box_width}}};}}
| above      = {{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific prefix|{{{honorific_prefix|}}}}}}</span><br />}}<includeonly><span class="fn">{{{name|{{PAGENAME}}}}}</span></includeonly>{{#if:{{{honorific suffix|{{{honorific_suffix|}}}}}}|<br /><span class="honorific-suffix" style="font-size: small">{{{honorific suffix|{{{honorific_suffix|}}}}}}</span>}}
| bodystyle      =
| abovestyle = background: {{Roleclass colour|{{lc:{{{roleclass}}}}}|1}};
| titlestyle    =
| abovestyle    = background: {{Roleclass colour|{{lc:{{{roleclass}}}}}|1}};
| subheaderstyle = background: {{Roleclass colour|{{lc:{{{roleclass}}}}}|2}};
| imagestyle    =
| captionstyle  =
| headerstyle    = background: {{Roleclass colour|{{lc:{{{roleclass}}}}}|1}};
| labelstyle    = background: {{Roleclass colour|{{lc:{{{roleclass}}}}}|3}}; width:33%
| datastyle      =
<!-- ###############-->
| title          = {{#if:{{{roleclass|}}}|{{#switch:{{lc:{{{roleclass}}}}}
| officer  = [[:Category:Officers|Officer]]
| medical  = [[:Category:Surgeons|Ship's Surgeon]]
| technical = [[:Category:Technical crew|Technical crew]]
| deck      = [[:Category:Deck crew|Deck crew]]
| victuals  = [[:Category:Victualling crew|Victualling crew]]
| first    = [[:Category:First_Class_Passengers|First Class Passenger]]
| second    = [[:Category:Second_Class_Passengers|Second Class Passenger]]
| steerage  = [[:Category:Steerage_Class_Passengers|Steerage Class Passenger]]
|#default  = }}{{#switch:{{lc:{{{gender|}}}}}
| male  |m  = &nbsp;{{abbr|&#9794;|male  |class=gender}}
| female|f  = &nbsp;{{abbr|&#9792;|female|class=gender}}
|#default  =  }}
}}
| above      = {{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific prefix|{{{honorific_prefix|}}}}}}</span><br />}}{{{birthfirstnames|Firstname not known}}}&nbsp;{{{birthlastname|Lastname not known}}}{{#if:{{{honorific suffix|{{{honorific_suffix|}}}}}}|<br /><span class="honorific-suffix" style="font-size: small">{{{honorific suffix|{{{honorific_suffix|}}}}}}</span>}}
| subheader  = {{#if:{{{birth_date|}}}|
    {{#if:{{{death_date|}}}|{{{birth_date}}} – {{{death_date}}}|Born {{{birth_date}}}
  }}|
  {{#if:{{{death_date|}}}| Died {{{death_date}}}
  }}
}}
 
 
 
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|alt={{{alt|}}}|suppressplaceholder=yes}}
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|alt={{{alt|}}}|suppressplaceholder=yes}}
| caption    = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
| caption    = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}

Revision as of 21:04, 1 October 2014

{{#invoke:Infobox|infobox}} {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}