Difference between revisions of "Template:Infobox race/doc"

From Rivendom
Jump to: navigation, search
(Created page with "{{Infobox race | race_endonym = {{{race_endonym}}} | common_tongue_exonym = {{{common_tongue_exonym}}} | other_exonym = {{{other_exonym}}} | insignia = {{{insignia}}} | insign...")
 
Line 1: Line 1:
 +
{{Documentation subpage}}
 
{{Infobox race
 
{{Infobox race
| race_endonym = {{{race_endonym}}}
+
|race_endonym |common_tongue_exonym |other_exonym |insignia |insignia_alt |isgna_alt |insignia_note |insignia_caption |origin_continent |home_land |disparate |capital
| common_tongue_exonym = {{{common_tongue_exonym}}}
 
| other_exonym = {{{other_exonym}}}
 
| insignia = {{{insignia}}}
 
| insignia_note = {{{insignia_note}}}
 
| insignia_caption = {{{insignia_caption}}}
 
| origin_continent = {{{origin_continent}}}
 
| home_land = {{{home_land}}}
 
| disparate = {{{yes/no}}}
 
| capital = {{{capital}}}
 
 
}}
 
}}
  

Revision as of 13:57, 9 June 2015

{{{time_period}}} {{{race_endonym}}}
{{{common_tongue_exonym}}}
No Other Names
Land of Origin
Continent of Origin [[{{{time_period}}}/Locations/{{{origin_continent}}}|{{{origin_continent}}}]]
Racial Lore
Language [[Lexicon:{{{language_parent}}}|{{{language_dialect}}}]]
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 Relations
Allies None
Enemies None
Neutrals None

Usage

{{Infobox race
| 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_note        = <!-- Optional. If {{{coatofarms}}} field is used. -->
| insignia_caption     = <!-- Optional. If {{{coatofarms}}} field is used. -->

| origin_continent     = <!-- Required. -->
| 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}}} -->
}}

Example

King of the Belgians
120px
Incumbent
120px
Philippe
since 21 July 2013
Details
Style His Majesty
Heir apparent Princess Elisabeth, Duchess of Brabant
First monarch Leopold I
Formation 21 July 1831
Website The Belgian Monarchy
{{Infobox monarchy
| royal_title = King
| realm = the Belgians
| coatofarms = Great Coat of Arms of Belgium.svg
| coatofarms_article = Coat of arms of Belgium
| type = non-commonwealth
| image = Koning Filip van België.jpg
| incumbent = [[Philippe of Belgium|Philippe]]
| incumbentsince = 21 July 2013
| his/her = His
| heiress_apparent = [[Princess Elisabeth, Duchess of Brabant]]
| first_monarch = [[Leopold I of Belgium|Leopold I]]
| date = 21 July 1831
| website = [http://www.monarchie.be/en/ The Belgian Monarchy]
}}

Microformat

The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583).

To include a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

  • adr
  • agent
  • bday
  • birthplace
  • category
  • country-name
  • deathdate
  • deathplace
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • url
  • vcard

Please do not rename or remove these classes nor collapse nested elements which use them.

See also