Template:Infobox test: Difference between revisions
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 | | bodyclass = biography vcard | ||
| bodystyle | | 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 />}} | | bodystyle = | ||
| | | 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 = {{abbr|♂|male |class=gender}} | |||
| female|f = {{abbr|♀|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}}} {{{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}}}}}}