Difference between revisions of "Template:Infobox race"

From Rivendom
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 24: Line 24:
 
  | caption2 = {{{territory_note|{{{territory_caption|}}}}}}
 
  | caption2 = {{{territory_note|{{{territory_caption|}}}}}}
 
  | label3 = Continent of Origin
 
  | label3 = Continent of Origin
  | data3 = [[{{{origin_continent}}}]]
+
  | data3 = [[{{{time_period}}}/Locations/{{{origin_continent}}}|{{{origin_continent}}}]]
 
  | label4 = Homeland
 
  | label4 = Homeland
  | data4 = {{#if:{{{home_land|}}}|[[{{{home_land}}}]]}}
+
  | data4 = {{#if:{{{home_land|}}}|[[{{{time_period}}}/Locations/{{{home_land}}}|{{{home_land}}}]]}}
 
  | label5 = Capital
 
  | label5 = Capital
 
  | data5 = {{#if:{{{disparate|}}}|{{#switch:{{{disparate}}}
 
  | data5 = {{#if:{{{disparate|}}}|{{#switch:{{{disparate}}}
 
   | yes = ''Disparate peoples/kingdoms with no single capital''
 
   | yes = ''Disparate peoples/kingdoms with no single capital''
   | no = [[{{{capital}}}]]
+
   | no = [[{{{time_period}}}/Locations/{{{capital}}}|{{{capital}}}]]
   | #default = [[{{{capital}}}]]
+
   | #default = [[{{{time_period}}}/Locations/{{{capital}}}|{{{capital}}}]]
 
   }}}}
 
   }}}}
 
  }}
 
  }}
Line 40: Line 40:
  
 
  | label3 = Characteristics
 
  | label3 = Characteristics
  | data3 = [[{{{time_period}}}/{{{race_endonym}}} (Culture)|{{{race_endonym}}} (Characteristics)]]
+
  | data3 = [[{{{time_period}}}/{{{race_endonym}}} (Characteristics)|{{{race_endonym}}} (Characteristics)]]
  
 
  | label4 = Culture
 
  | label4 = Culture

Latest revision as of 17:50, 15 February 2016

50px Template documentation[view] [edit] [history] [purge]
{{{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
Tretalleri-Insignia.png
Imperial Standard of the Tretalleri Dominion
Land of Origin
Termallte dominion territory.png
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
}}