Template:Infobox noble: Difference between revisions
Jump to navigation
Jump to search
old>Ghant mNo edit summary |
Ozycaevias (talk | contribs) m (1 revision imported) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{infobox | |||
| | | bodyclass = vcard | ||
| | | bodystyle = width: 22.5em; | ||
| | | datastyle = text-align: left; | ||
| | | abovestyle = background: #{{#switch: {{{1}}} | ||
| relative = E8E4EF | |||
| none = E8E4EF | |||
| 99BADD | |||
}}; color: #{{#switch: {{{1}}} | |||
| relative = 553377 | |||
| none = 553377 | |||
| highness = 005566 | |||
| lesser = 005566 | |||
| majesty = 000066 | |||
| monarch = 000066 | |||
| prince = 000000 | |||
| princess = 000000 | |||
| royal = 000000 | |||
| 000000 | |||
}}; | |||
| | | aboveclass = fn | ||
| above = {{{name<noinclude>|</noinclude>}}} | |||
| | |||
| subheader = {{{title|}}} | |||
| | |||
| | |||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}}} | |||
| | | caption = {{{caption|}}} | ||
| | |||
| | |||
| | |||
| | |||
| | | headerstyle = background: #EEEEEE; | ||
| | | header1 = {{#if: {{{succession|}}} | {{{succession}}} {{#switch:{{{more}}}|no=|{{#switch:{{{1}}}|monarch={{small|{{nobold|''[[Style of the British sovereign#List of changes to the royal style|(more...)]]''}}}}|majesty={{small|{{nobold|''[[Style of the British sovereign#List of changes to the royal style|(more...)]]''}}}} }} }} }} | ||
| | |||
| | |||
| label3 = [[Coat of arms]] | |||
| data3 = {{{CoA|}}} | |||
| | |||
| | |||
| | | label4 = {{if empty|{{{reign-type|}}}|{{#switch:{{{2}}}|consort=Consort|Reign}}}} | ||
| data4 = {{{reign|}}} | |||
| | |||
| | |||
| | |||
| | | label5 = {{if empty|{{{pre-type|}}}|Predecessor}} | ||
| data5 = {{{predecessor|}}} | |||
| | |||
| | |||
| | | label6 = {{if empty|{{{suc-type|}}}|Successor}} | ||
| data6 = {{{successor|}}} | |||
}}< | | header10 = {{#if: {{{succession|}}} | <span style="height: 4px"> </span>}} | ||
| data11 = {{#if: {{{full name|}}} | | |||
{{ | '''Full name'''<div class="nickname" style="width:100%; padding-left:0.5em"><!-- "nickname" is the correct parameter value for hCard --> | ||
{{{full name}}}</div> | |||
}} | }} | ||
= | | label12 = Native name | ||
| data12 = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}} | |||
| | | data13 = {{#if: {{{styles|}}}{{{titles|}}}| | ||
| | <div style="float: right; font-weight: bold;">{{small|''[[#Titles and styles|Detail]]''}}</div>'''Titles and styles'''<div style="width:100%; padding-left:0.5em"> | ||
| | {{#if:{{{styles|}}}|{{{styles}}}|{{{titles|}}}}}</div> | ||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
}} | }} | ||
| label14 = Born | |||
| data14 = {{Br separated entries|1={{#if:{{{birth_name|{{{birthname|}}}}}}|<span class="nickname">{{{birth_name|{{{birthname|}}}}}}</span>}}|2={{{birth_date|}}}|3={{#if:{{{birth_place|}}}|<span class="birthplace">{{{birth_place|}}}</span>}}}} | |||
| label15 = Baptised | |||
| data15 = {{br separated entries| {{if empty|{{{christening_date|}}}|{{{date of christening|}}}}} | {{if empty|{{{christening_place|}}}|{{{place of christening|}}}}} }} | |||
| label16 = Died | |||
| data16 = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}} | |||
| label17 = Buried | |||
| data17 = {{br separated entries| {{if empty|{{{burial_date|}}}|{{{date of burial|}}}}} | {{#if:{{{burial_place|}}}{{{place of burial|}}}| <span class="label">{{if empty|{{{burial_place|}}}|{{{place of burial|}}}}}</span> }} | {{{resting_place_coordinates|}}} }} | |||
| label18 = [[{{#if:{{{house-type|}}}|{{{house-type}}}|Nobility}}|{{#if:{{{house-type|}}}|Family|Noble family}}]] | |||
| data18 = {{{noble family|}}} | |||
| label19 = {{if empty|{{{spouse-type|}}}|{{#switch:{{{2}}}|consort=Consort to|{{#switch:{{{1}}}|monarch=Consort|majesty=Consort|Spouse(s)}}}}}} | |||
| data19 = {{{spouse|}}} | |||
| data20 = {{#if:{{{issue|}}} | | |||
{{#if:{{{issue-link|}}}|<div style="float: right; font-weight: bold;">{{small|''[[{{{issue-link}}}|{{#if:{{{issue-pipe|}}}|{{{issue-pipe}}}|Detail}}]]''}}</div> }} | |||
'''Issue'''<div style="width:100%; padding-left:0.5em"> | |||
{{{issue|}}}</div> | |||
}} | |||
| label25 = Father | |||
| data25 = {{{father|}}} | |||
| label26 = Mother | |||
| data26 = {{{mother|}}} | |||
| label27 = Signature | |||
| data27 = {{{signature|}}} | |||
| label28 = Religion | |||
| data28 = {{{religion|}}} | |||
| label29 = Occupation | |||
| data29 = {{{occupation|}}} | |||
| label30 = Memorials | |||
| data30 = {{{memorials|}}} | |||
| label31 = Website | |||
| data31 = {{{website|{{{url|}}}}}} | |||
[[Category:Infobox | | data32 = {{{module|}}} | ||
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox noble with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox noble]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | 3 | alt | birth_date | birth_name | birthname | birth_place | burial_date | burial_place | caption | christening_date | christening_place | CoA | date of burial | date of christening | death_date | death_place | father | full name | house-type | image | image_size | issue | issue-link | issue-pipe | memorials | module | more | mother | name | native_name | native_name_lang | noble family | occupation | place of burial | place of christening | pre-type | predecessor | reign | reign-type | religion | resting_place_coordinates | signature | spouse | spouse-type | styles | suc-type | succession | successor | title | titles | url | website }}<noinclude> | |||
{{documentation}} | |||
</noinclude> |
Latest revision as of 17:41, 25 February 2019
Usage
{{{name}}} | |
---|---|
{{{title}}} | |
[[File:{{{image}}}|frameless|alt={{{alt}}}|upright=1]] | |
{{{succession}}} | |
Coat of arms | {{{CoA}}} |
{{{reign-type}}} | {{{reign}}} |
Predecessor | {{{predecessor}}} |
{{{suc-type}}} | {{{successor}}} |
Full name
{{{full name}}} | |
Native name | {{{native_name}}} |
Titles and styles
{{{styles}}} | |
Born | {{{birth_name}}} {{{birth_date}}} {{{birth_place}}} |
Baptised | {{{christening_date}}} {{{christening_place}}} |
Died | {{{death_date}}} {{{death_place}}} |
Buried | {{{burial_date}}} {{{burial_place}}} {{{resting_place_coordinates}}} |
[[{{{house-type}}}|Family]] | {{{noble family}}} |
{{{spouse-type}}} | {{{spouse}}} |
[[{{{issue-link}}}|{{{issue-pipe}}}]]
Issue
{{{issue}}} | |
Father | {{{father}}} |
Mother | {{{mother}}} |
Religion | {{{religion}}} |
Occupation | {{{occupation}}} |
Memorials | {{{memorials}}} |
Website | {{{website}}} |
{{{module}}} |
{{Infobox noble|type | name = | title = | image = | caption = | alt = | CoA = | more = no | succession = | reign = | reign-type = | predecessor = | successor = | suc-type = | spouse = | spouse-type = | issue = | issue-link = | issue-pipe = | full name = | native_name = | styles = | titles = | noble family = | house-type = | father = | mother = | birth_name = | birth_date = <!-- {{Birth date and age|YYYY|MM|DD|df=y}} --> | birth_place = | christening_date = | christening_place = | death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD|df=y}} --> | death_place = | burial_date = | burial_place = | religion = | occupation = | memorials = | website = <!-- {{{URL|example.com}} --> | module = }}
If the parameter "house type" is set it alters the display of the label next to the noble "family parameter". Instead of displaying the default "Noble family" ( with a link to the article Nobility), the link is change to whatever the "house type" is set to and the word "Family" is displayed in place of "Noble family". So for example if house-type=Gentry
is entered then the label is changed to Family.
Examples
For more examples, see What links here.
Tracking category
See also
- {{Infobox royalty}}
- {{Infobox person}}