Difference between revisions of "Template:Infobox noble"
Jump to navigation
Jump to search
imported>Plastikspork (Wikipedia:Templates for discussion/Log/2020 March 28#Template:Infobox peer closed as merge (XFDcloser)) |
imported>Jonesey95 (Fix too small font per MOS:FONTSIZE.) |
||
| Line 54: | Line 54: | ||
| data13 = {{#if: {{{styles|}}}{{{titles|}}}| | | data13 = {{#if: {{{styles|}}}{{{titles|}}}| | ||
| − | <div style="float: right; font-weight: bold;"> | + | <div style="float: right; font-weight: bold;">''[[#Titles and styles|Detail]]''</div>'''Titles and styles'''<div style="width:100%; padding-left:0.5em"> |
{{#if:{{{styles|}}}|{{{styles}}}|{{{titles|}}}}}</div> | {{#if:{{{styles|}}}|{{{styles}}}|{{{titles|}}}}}</div> | ||
}} | }} | ||
| Line 77: | Line 77: | ||
| data20 = {{#if:{{{issue|}}} | | | data20 = {{#if:{{{issue|}}} | | ||
| − | {{#if:{{{issue-link|}}}|<div style="float: right; font-weight: bold;"> | + | {{#if:{{{issue-link|}}}|<div style="float: right; font-weight: bold;">''[[{{{issue-link}}}|{{#if:{{{issue-pipe|}}}|{{{issue-pipe}}}|Detail}}]]''</div> }} |
'''Issue'''<div style="width:100%; padding-left:0.5em"> | '''Issue'''<div style="width:100%; padding-left:0.5em"> | ||
{{{issue|}}}</div> | {{{issue|}}}</div> | ||
Revision as of 06:04, 28 April 2020
| Baptised | Script error: No such module "If empty". Script error: No such module "If empty". |
|---|---|
| Buried | Script error: No such module "If empty". |
[[Category:Infobox templates|Template:Remove first word]]
| This template uses Lua: |
Contents
Usage
Template:Parameter names example
{{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}}
| The above documentation is transcluded from Template:Infobox noble/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |