Difference between revisions of "Template:Infobox race"
From Rivendom
| Line 3: | Line 3: | ||
| aboveclass = adr | | aboveclass = adr | ||
| − | | above = <includeonly>{{{ | + | | above = <includeonly>{{{royal_title}}} of <span class="country-name">{{{realm}}}</span></includeonly> |
| − | | subheader = {{{ | + | | subheaderstyle = font-weight: bold; |
| − | | subheader2 = {{{ | + | | subheader = {{{native_name|}}} |
| + | | subheader2 = {{#if:{{{border|}}}| | ||
| + | <div style="font-family: serif; font-size: 90%; font-weight: bold; text-transform: uppercase; | ||
| + | line-height: 125%; background-color: rgb(125,7,110); color: white;">{{#switch:{{{border}}} | ||
| + | | provincial = Provincial/State | ||
| + | | federal = Federal | ||
| + | | imperial = Imperial | ||
| + | }}</div>}} | ||
| − | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{ | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{coatofarms|}}}|size={{{coatofarms_size|{{{coatofarmssize|}}}}}}|sizedefault=120px|alt={{{coatofarms_alt|{{{coa_alt|}}}}}}}} |
| caption = {{Br separated entries | | caption = {{Br separated entries | ||
| − | | 1 = {{#if:{{{ | + | | 1 = {{#if:{{{coatofarms_article|}}}|{{#switch:{{{type}}} |
| − | | | + | | other = [[{{{coatofarms_article}}}|Arms of {{{his/her}}} Majesty the {{{royal_title}}} of {{{realm}}}]] |
| − | | | + | | other1 = [[{{{coatofarms_article}}}|Imperial Standard of the {{{royal_title}}}]] |
| + | | other2 | other3 | other4 | ||
| + | = [[{{{coatofarms_article}}}|Arms of {{{his/her}}} Highness the {{{royal_title}}} of {{{realm}}}]] | ||
| + | | #default = [[{{{coatofarms_article}}}]] | ||
}}}} | }}}} | ||
| − | | 2 = {{{ | + | | 2 = {{{armsnote|{{{coatofarmscaption|}}}}}} |
}} | }} | ||
| Line 20: | Line 30: | ||
| header1 = {{Infobox | child = yes | decat = yes | | header1 = {{Infobox | child = yes | decat = yes | ||
| − | | title = | + | | title = {{#if:{{{incumbent|}}}|Incumbent}} |
| − | | | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=120px|alt={{{image_alt|}}}}} |
| − | | | + | | caption = {{{caption|}}} |
| − | | | + | | data2 = {{#if:{{{incumbent|}}}|'''<span class="fn">{{{incumbent}}}</span>'''{{#if:{{{incumbentsince|}}}|<br />since {{{incumbentsince}}}}}}} |
| − | | data3 = {{#if:{{{ | + | | data3 = {{{other|}}} |
| + | }} | ||
| + | | header2 = {{Infobox | child = yes | decat = yes | ||
| + | | title = {{#if:{{{incumbent2|}}}|Co-incumbent}} | ||
| + | |||
| + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image2|}}}|size={{{image2_size|}}}|sizedefault=120px|alt={{{image2_alt|}}}}} | ||
| + | | caption = {{{caption2|}}} | ||
| − | | | + | | data2 = {{#if:{{{incumbent2|}}}|'''<span class="fn">{{{incumbent2}}}</span>'''{{#if:{{{incumbent2since|}}}|<br />since {{{incumbent2since}}}}}}} |
| − | + | | data3 = {{{other2|}}} | |
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
| + | |||
| + | | header3 = {{#if:{{{heir_apparent|}}}{{{heir_presumptive|}}}{{{first_monarch|}}}{{{last_monarch|}}}{{{formation|{{{began|{{{date|}}}}}}}}}{{{abolition|{{{ended|}}}}}}{{{residence|{{{residences|}}}}}}{{{appointer|}}}{{{pretender|}}}{{{type|}}}{{{his/her|}}}{{{style|}}}|Details}} | ||
| + | | label4 = Style | ||
| + | | data4 = {{#switch:{{{type}}} | ||
| + | | commonwealth | non-commonwealth | other | ||
| + | = {{#if:{{{his/her|}}}|[[Majesty|{{{his/her}}} Majesty]]}} | ||
| + | | other1 = {{#if:{{{his/her|}}}|[[Imperial Majesty (style)|{{{his/her}}} Imperial Majesty]]}} | ||
| + | | other2 = {{#if:{{{his/her|}}}|[[Highness|{{{his/her}}} Highness]]}} | ||
| + | | other3 = {{#if:{{{his/her|}}}|[[Royal Highness|{{{his/her}}} Highness]]}} | ||
| + | | other4 = {{#if:{{{his/her|}}}|[[Serene Highness|{{{his/her}}} Serene Highness]]}} | ||
| + | | saudi = [[Custodian of the Two Holy Mosques|The Custodian of the Two Holy Mosques]] | ||
| + | | #default = {{#if:{{{style|}}}|{{{style}}}|{{#if:{{{his/her|}}}|[[Majesty|{{{his/her}}} Majesty]]}}}} | ||
| + | }}{{{titlenote|}}} | ||
| + | |||
| + | | label5 = [[Heir apparent]] | ||
| + | | data5 = {{{heir_apparent|}}} | ||
| + | |||
| + | | label6 = [[Heir presumptive]] | ||
| + | | data6 = {{{heir_presumptive|}}} | ||
| + | |||
| + | | label7 = First monarch | ||
| + | | data7 = {{{first_monarch|}}} | ||
| + | |||
| + | | label8 = Last monarch | ||
| + | | data8 = {{{last_monarch|}}} | ||
| + | |||
| + | | label9 = Formation | ||
| + | | data9 = {{{formation|{{{began|{{{date|}}}}}}}}} | ||
| + | |||
| + | | label10 = Abolition | ||
| + | | data10 = {{{abolition|{{{ended|}}}}}} | ||
| + | |||
| + | | label11 = Residence{{#if:{{{residences|}}}|s}} | ||
| + | | data11 = {{#if:{{{residences|}}}|{{{residences|}}}|{{{residence|}}}}} | ||
| + | |||
| + | | label12 = Appointer | ||
| + | | data12 = {{{appointer|}}} | ||
| + | |||
| + | | label13 = Pretender(s) | ||
| + | | data13 = {{{pretender|}}} | ||
| + | |||
| + | | label14 = Website | ||
| + | | data14 = {{{website|}}} | ||
}}<noinclude> | }}<noinclude> | ||
{{Documentation}}</noinclude> | {{Documentation}}</noinclude> | ||
Revision as of 01:12, 9 June 2015
| {{{time_period}}} {{{race_endonym}}} | |
|---|---|
| {{{common_tongue_exonym}}} | |
| {{{other_exonym}}} | |
|
[[File:{{{insignia}}}|120px|alt={{{insignia_alt}}}|{{{insignia_alt}}}]] Racial Insignia of the [[{{{time_period}}}/{{{race_endonym}}} (Culture)|{{{race_endonym}}}]] {{{insignia_note}}} | |
| Land of Origin | |
|
[[File:{{{territory}}}|120px|alt={{{territory_alt}}}|{{{territory_alt}}}]] {{{territory_note}}} | |
| Continent of Origin | [[{{{time_period}}}/Locations/{{{origin_continent}}}|{{{origin_continent}}}]] |
| Homeland | [[{{{time_period}}}/Locations/{{{home_land}}}|{{{home_land}}}]] |
| Capital | [[{{{time_period}}}/Locations/{{{capital}}}|{{{capital}}}]] |
| Racial Lore | |
| Language | [[Lexicon:{{{language_parent}}}/{{{language_dialect}}}|{{{language_alt}}}]] |
| Characteristics | [[{{{time_period}}}/{{{race_endonym}}} (Characteristics)|{{{race_endonym}}} (Characteristics)]] |
| Culture | [[{{{time_period}}}/{{{race_endonym}}} (Culture)|{{{race_endonym}}} (Culture)]] |
| History | [[{{{time_period}}}]] |
| Government | [[{{{time_period}}}/{{{race_endonym}}} (Government)|{{{race_endonym}}} (Government)]] |
| Military | [[{{{time_period}}}/{{{race_endonym}}} (Military)|{{{race_endonym}}} (Military)]] |
| Stats | [[RPG:Races/{{{time_period}}}/{{{race_endonym}}} (Stats)|{{{race_endonym}}} (Stats)]] |
| Racial Religion | |
| [[File:{{{religion_sym}}}|120px|alt={{{religion_sym_alt}}}|{{{religion_sym_alt}}}]] | |
| [[{{{religion}}}]] | |
| Racial Relations | |
| Allies | {{{race_allies}}} |
| Enemies | {{{race_enemies}}} |
| Neutrals | {{{race_neutrals}}} |
Usage
{{Infobox race
| time_period = <!-- Required. No wikilinks. -->
| race_endonym = <!-- Required. No wikilinks. -->
| common_tongue_exonym = <!-- Required. No wikilinks. -->
| other_exonym = <!-- Optional. -->
| insignia = <!-- Optional. Just the image name, no File: or Image: coding. -->
| insignia_alt = <!-- Optional. Used to replace image when image does not display properly. -->
| insignia_note = <!-- Optional. If {{{insignia}}} field is used. -->
| insignia_caption = <!-- Optional. If {{{insignia}}} field is used. -->
| origin_continent = <!-- Required. -->
| territory = <!-- Optional. Just the image name, no File: or Image: coding. -->
| territory_alt = <!-- Optional. Used to replace image when image does not display properly. -->
| territory_note = <!-- Optional. If {{{territory}}} field is used. -->
| territory_caption = <!-- Optional. If {{{territory}}} field is used. -->
| home_land = <!-- Required. -->
| capital = <!-- Required. -->
| disparate = <!-- Required. If {{{capital}}} field is used.
Accepted values: yes / no
yes: peoples are disparate. No single capital.
no: {{{capital}}} -->
| language_parent = <!-- Required. -->
| language_dialect = <!-- Optional. -->
| language_dialect_alt = <!-- Optional. -->
| religion = <!-- Optional. -->
| religion_sym = <!-- Optional. Just the image name, no File: or Image: coding. -->
| religion_sym_alt = <!-- Optional. Used to replace image when image does not display properly. -->
| religion_sym_note = <!-- Optional. If {{{religion}}} field is used. -->
| religion_sym_caption = <!-- Optional. If {{{religion}}} field is used. -->
| race_allies = <!-- Required. Leave blank if none. -->
| race_enemies = <!-- Required. Leave blank if none. -->
| race_neutrals = <!-- Required. Leave blank if none. -->
}}
Example
| Dominion Era Tretallë | |
|---|---|
| Bone Elves | |
| Istfet, The Strangers, Invaders, Deathriders | |
|
Imperial Standard of the Tretalleri Dominion | |
| Land of Origin | |
![]() | |
| Continent of Origin | Termalttë |
| Homeland | Teýrivellë |
| Capital | Ifatallë Cselvë |
| Racial Lore | |
| Language | Tretalleri |
| Characteristics | Tretallë (Characteristics) |
| Culture | Tretallë (Culture) |
| History | Dominion Era |
| Government | Tretallë (Government) |
| Military | Tretallë (Military) |
| Stats | Tretallë (Stats) |
| Racial Relations | |
| Allies | None |
| Enemies | Elledynnë |
| Neutrals | None |
{{Infobox_race
| time_period = Medieval
| race_endonym = Tretallë
| common_tongue_exonym = Bone Elves
| other_exonym = Istfet, The Strangers, Invaders, Deathriders
| origin_continent = Termalttë
| territory = Termallte dominion territory.png
| home_land = Teýrivellë
| disparate = no;
| capital = Ifatallë Cselvë
| race_enemies = [[:Category:Elledynnë|Elledynnë]]
| language_parent = Elle'lyndë
| language_dialect = Tretalleri
}}
| The above documentation is transcluded from Template:Infobox race/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
