Difference between revisions of "Template:Infobox-character"

From RPC Library
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly><right>{| class="infobox" style="font-size:89%; width:300px;"
+
<includeonly>{| class="infobox" style="font-size:89%; width:300px;"
 
|-
 
|-
 
| colspan="2" style="font-weight:bold;background-color:#{{Citizenship-switch | citizenship = {{{citizenship|}}} | uldah_block = 0B0100 | gridania_block = CB910A | limsa_block = 990205 | garlemald_block = FFFFFF | ishgard_block = FFFFFF | alamhigo_block = FFFFFF | default_block = 142034}}; color:#ffffff; font-size:150%; padding:3px;" | {{Citizenship-logo | citizenship = {{{citizenship|}}} | width = 48px}}&nbsp;{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}
 
| colspan="2" style="font-weight:bold;background-color:#{{Citizenship-switch | citizenship = {{{citizenship|}}} | uldah_block = 0B0100 | gridania_block = CB910A | limsa_block = 990205 | garlemald_block = FFFFFF | ishgard_block = FFFFFF | alamhigo_block = FFFFFF | default_block = 142034}}; color:#ffffff; font-size:150%; padding:3px;" | {{Citizenship-logo | citizenship = {{{citizenship|}}} | width = 48px}}&nbsp;{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}
Line 63: Line 63:
 
| roegadyn_hellsguard_block = [[Category:Roegadyn Hellsguard]][[Category:Roegadyn]]
 
| roegadyn_hellsguard_block = [[Category:Roegadyn Hellsguard]][[Category:Roegadyn]]
 
| roegadyn_default_block = [[Category:Roegadyn]]
 
| roegadyn_default_block = [[Category:Roegadyn]]
}}</right></includeonly><noinclude>
+
}}</includeonly><noinclude>
 
{{Arcane-template-syntax}}
 
{{Arcane-template-syntax}}
  

Revision as of 17:38, 5 February 2013

Warning! This template uses arcane features of template syntax, such as parser functions, or is particularly complex. Please don't edit it unless you know exactly what you're doing.

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.
| 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 = 
| 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 = 
}}