Difference between revisions of "Template:Infobox-character"

From AmtWiki
(Blanked the page)
Line 1: Line 1:
 +
<includeonly>{| class="infobox" style="font-size:89%; width:300px; align:right;"
 +
|-
 +
| colspan="2" style="font-weight:bold;background-color:#{{Citizenship-switch | citizenship = {{{citizenship|}}} | uldah_block = 000000 | gridania_block = ecae21 | limsa_block = 990205 | garlemald_block = FFFFFF | ishgard_block = 698dc9 | alamhigo_block = FFFFFF | sharlayan_block = 7D7D7D | default_block = D6DCDC}}; color:#{{Citizenship-switch | citizenship = {{{citizenship|}}} | uldah_block = FFFFFF | gridania_block = FFFFFF | limsa_block = FFFFFF | garlemald_block = 000000 | ishgard_block = FFFFFF | alamhigo_block = 000000 | sharlayan_block = 000000 | doma_block = 000000 | default_block = 000000}}; font-size:150%; padding:3px;" | {{Citizenship-logo | citizenship = {{{citizenship|}}} | width = 48px}}&nbsp;{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}
 +
|- style="text-align:center;"
 +
| colspan="2" style="padding:0.5em;" | [[Image:{{#if: {{{image|}}} | {{{image}}} | Placeholder_person.gif}}|{{#if: {{{imagewidth|}}} | {{{imagewidth}}} | 250}}px]]{{#if: {{{caption|}}} | <br/>''{{{caption}}}'' | }}
 +
|-
 +
{{#if: {{{title|}}} |
 +
{{!}} colspan="2" {{!}} <center>'''{{{title}}}'''</center>
 +
{{!}}- | }}
 +
{{#if: {{{gender|}}} |
 +
{{!}} '''Gender'''
 +
{{!}} {{{gender}}}
 +
{{!}}- | }}
 +
| '''Race'''
 +
| {{#if: {{{race|}}} | {{{race}}} | Unknown }}
 +
|-
 +
| '''Clan'''
 +
| {{#if: {{{clan|}}} | {{{clan}}} | Unknown }}
 +
|-
 +
| '''Citizenship'''
 +
| {{#if: {{{citizenship|}}} | {{{citizenship}}} | Unaffiliated }}
 +
|-
 +
{{#if: {{{server|}}} |
 +
{{!}} '''Server'''
 +
{{!}} {{{server}}}
 +
{{!}}- | }}
 +
{{#if: {{{stat_1|}}} |
 +
{{!}} '''{{{stat_1}}}'''
 +
{{!}} {{{stat_1_value}}}
 +
{{!}}- | }}
 +
{{#if: {{{stat_2|}}} |
 +
{{!}} '''{{{stat_2}}}'''
 +
{{!}} {{{stat_2_value}}}
 +
{{!}}- | }}
 +
{{#if: {{{stat_3|}}} |
 +
{{!}} '''{{{stat_3}}}'''
 +
{{!}} {{{stat_3_value}}}
 +
{{!}}- | }}
 +
{{#if: {{{stat_4|}}} |
 +
{{!}} '''{{{stat_4}}}'''
 +
{{!}} {{{stat_4_value}}}
 +
{{!}}- | }}
 +
{{#if: {{{stat_5|}}} |
 +
{{!}} '''{{{stat_5}}}'''
 +
{{!}} {{{stat_5_value}}}
 +
{{!}}- | }}
 +
{{#if: {{{stat_6|}}} |
 +
{{!}} '''{{{stat_6}}}'''
 +
{{!}} {{{stat_6_value}}}
 +
{{!}}- | }}
 +
|}[[Category:Character]][[Category:Player_Character]]{{Citizenship-switch | citizenship = {{{citizenship|}}} | uldah_block = [[Category:Ul'dahn]] | gridania_block = [[Category:Gridanian]] | limsa_block = [[Category:Limsa Lominsan]] | garlemald_block = [[Category:Garlean]] | ishgard_block = [[Category:Ishgardian]] | alamhigo_block = [[Category:Ala Mhigan]] | sharlayan_block = [[Category:Sharlayan]] | doma_block = [[Category:Doman]]}}{{Race-switch
 +
| race = {{{race}}}
 +
| clan = {{{clan}}}
 +
| hyur_midlander_block = [[Category:Midlander Hyur]][[Category:Hyur]]
 +
| hyur_highlander_block = [[Category:Highlander Hyur]][[Category:Hyur]]
 +
| hyur_default_block = [[Category:Hyur]]
 +
| elezen_wildwood_block = [[Category:Wildwood Elezen]][[Category:Elezen]]
 +
| elezen_duskwight_block = [[Category:Duskwight Elezen]][[Category:Elezen]]
 +
| elezen_default_block = [[Category:Elezen]]
 +
| lalafell_plainsfolk_block = [[Category:Plainsfolk Lalafell]][[Category:Lalafell]]
 +
| lalafell_dunesfolk_block = [[Category:Dunesfolk Lalafell]][[Category:Lalafell]]
 +
| lalafell_default_block = [[Category:Lalafell]]
 +
| miqote_seekers_block = [[Category:Miqo'te Seeker of the Sun]][[Category:Miqo'te]]
 +
| miqote_keepers_block = [[Category:Miqo'te Keeper of the Moon]][[Category:Miqo'te]]
 +
| miqote_default_block = [[Category:Miqo'te]]
 +
| roegadyn_seawolf_block = [[Category:Roegadyn Sea Wolf]][[Category:Roegadyn]]
 +
| roegadyn_hellsguard_block = [[Category:Roegadyn Hellsguard]][[Category:Roegadyn]]
 +
| roegadyn_default_block = [[Category:Roegadyn]]
 +
| aura_xaela_block = [[Category:Au Ra]][[Category:Xaela Au Ra]]
 +
| aura_raen_block = [[Category:Au Ra]][[Category:Raen Au Ra]]
 +
| aura_default_block = [[Category:Au Ra]]
 +
}}{{Server-switch
 +
| server = {{{server}}}
 +
| balmung_block = [[Category:Balmung]]
 +
| famfrit_block = [[Category:Famfrit]]
 +
| gilgamesh_block = [[Category:Gilgamesh]]
 +
| hyperion_block = [[Category:Hyperion]]
 +
| jenova_block = [[Category:Jenova]]
 +
| moogle_block = [[Category:Moogle]]
 +
| siren_block = [[Category:Siren]]
 +
}}</includeonly><noinclude>
 +
{{Arcane-template-syntax}}
  
 +
Use this template to create a generic "infobox" for a character, a right-aligned table that contains the character's picture and other vital statistics of your choice. You can provide up to six vital statistics, all of which are optional, as well an image.
 +
 +
===Syntax===
 +
<nowiki>{{</nowiki>Infobox-character
 +
| '''name''' = (optional) The character's name, defaults to the page name without the namespace
 +
| '''image''' = (optional) The name of the image file for the character, defaults to a placeholder
 +
| '''imagewidth''' = (optional) The width of the image in pixels, defaults to 250
 +
| '''caption''' = (optional) A caption for the image
 +
| '''title''' = (optional) The character's title
 +
| '''gender''' = (optional) The character's gender
 +
| '''race''' = (optional) The race of the character, defaults to "Unknown".
 +
    If you specify a properly capitalized race name, this will auto-tag your character into appropriate categories.
 +
| '''clan''' = (optional) The clan or sub-race of the character, defaults to "Unknown".
 +
    If you specify a properly capitalized clan name, this will auto-tag your character into appropriate categories.
 +
| '''citizenship''' = (optional) The citizenship of the character, defaults to "Unaffiliated"
 +
    If you specify the properly capitalized name of one of the cities, the infobox will change the header color and place your city's logo in the header next to your name.
 +
    Doing this will also auto-tag your character page into appropriate categories.
 +
| '''server''' = (optional) The server on which this character exists. This field will not appear if this value isn't provided.
 +
    If you specify a known server name, this will auto-tag your character into appropriate categories.
 +
| '''stat_1''' = (optional) The first statistics row title
 +
| '''stat_1_value''' = (optional) The first statistics row value
 +
| '''stat_2''' = (optional) The second statistics row title
 +
| '''stat_2_value''' = (optional) The second statistics row value
 +
| '''stat_3''' = (optional) The third statistics row title
 +
| '''stat_3_value''' = (optional) The third statistics row value
 +
| '''stat_4''' = (optional) The fourth statistics row title
 +
| '''stat_4_value''' = (optional) The fourth statistics row value
 +
| '''stat_5''' = (optional) The fifth statistics row title
 +
| '''stat_5_value''' = (optional) The fifth statistics row value
 +
| '''stat_6''' = (optional) The sixth statistics row title
 +
| '''stat_6_value''' = (optional) The sixth statistics row value
 +
<nowiki>}}</nowiki>
 +
 +
===Copy-paste===
 +
<nowiki>{{</nowiki>Infobox-character
 +
| name =
 +
| image =
 +
| imagewidth =
 +
| caption =
 +
| title =
 +
| gender =
 +
| citizenship =
 +
| race =
 +
| clan =
 +
| server =
 +
| stat_1 =
 +
| stat_1_value =
 +
| stat_2 =
 +
| stat_2_value =
 +
| stat_3 =
 +
| stat_3_value =
 +
| stat_4 =
 +
| stat_4_value =
 +
| stat_5 =
 +
| stat_5_value =
 +
| stat_6 =
 +
| stat_6_value =
 +
<nowiki>}}</nowiki>
 +
 +
[[Category:Template]]
 +
</noinclude>

Revision as of 19:14, 17 May 2016

Template:Arcane-template-syntax

Use this template to create a generic "infobox" for a character, a right-aligned table that contains the character's picture and other vital statistics of your choice. You can provide up to six vital statistics, all of which are optional, as well an image.

Syntax

{{Infobox-character
| name = (optional) The character's name, defaults to the page name without the namespace
| image = (optional) The name of the image file for the character, defaults to a placeholder
| imagewidth = (optional) The width of the image in pixels, defaults to 250
| caption = (optional) A caption for the image
| title = (optional) The character's title
| gender = (optional) The character's gender
| race = (optional) The race of the character, defaults to "Unknown".
   If you specify a properly capitalized race name, this will auto-tag your character into appropriate categories.
| clan = (optional) The clan or sub-race of the character, defaults to "Unknown".
   If you specify a properly capitalized clan name, this will auto-tag your character into appropriate categories.
| citizenship = (optional) The citizenship of the character, defaults to "Unaffiliated"
   If you specify the properly capitalized name of one of the cities, the infobox will change the header color and place your city's logo in the header next to your name.
   Doing this will also auto-tag your character page into appropriate categories.
| server = (optional) The server on which this character exists. This field will not appear if this value isn't provided.
   If you specify a known server name, this will auto-tag your character into appropriate categories.
| stat_1 = (optional) The first statistics row title
| stat_1_value = (optional) The first statistics row value
| stat_2 = (optional) The second statistics row title
| stat_2_value = (optional) The second statistics row value
| stat_3 = (optional) The third statistics row title
| stat_3_value = (optional) The third statistics row value
| stat_4 = (optional) The fourth statistics row title
| stat_4_value = (optional) The fourth statistics row value
| stat_5 = (optional) The fifth statistics row title
| stat_5_value = (optional) The fifth statistics row value
| stat_6 = (optional) The sixth statistics row title
| stat_6_value = (optional) The sixth statistics row value
}}

Copy-paste

{{Infobox-character
| name = 
| image =
| imagewidth = 
| caption =
| title = 
| gender = 
| citizenship = 
| race = 
| clan = 
| server = 
| stat_1 = 
| stat_1_value = 
| stat_2 = 
| stat_2_value = 
| stat_3 = 
| stat_3_value = 
| stat_4 = 
| stat_4_value = 
| stat_5 = 
| stat_5_value = 
| stat_6 = 
| stat_6_value = 
}}