Template:Player Character: Difference between revisions

Template page
(added params to disable certain table labels)
(EVIL EVIL EVIL)
 
(17 intermediate revisions by the same user not shown)
Line 25: Line 25:
{{!}}-
{{!}}-
}}
}}
{{#if:{{{nicknames|}}}|
{{#if:{{{nicknames|}}}|
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Shadow}}}};" {{!}} Nicknames
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Shadow}}}};" {{!}} Nicknames
Line 49: Line 48:
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Shadow}}}};" {{!}} Clan
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Shadow}}}};" {{!}} Clan
{{!}} {{{clan|}}}
{{!}} {{{clan|}}}
{{!}}-
}}
{{#if:{{{caste|}}}|
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Shadow}}}};" {{!}} Caste
{{!}} {{{caste|}}}
{{!}}-
{{!}}-
}}
}}
Line 143: Line 147:
{{!}} {{{alignment|}}}
{{!}} {{{alignment|}}}
{{!}}-
{{!}}-
}}
}}}}
}}
{{#if:{{{goals|}}}|
{{#if:{{{goals|}}}|
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Shadow}}}};" {{!}} Goals
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Shadow}}}};" {{!}} Goals
Line 183: Line 186:
{{!}} {{{residesat|}}}
{{!}} {{{residesat|}}}
{{!}}-
{{!}}-
}}
{{#if:{{{tribeManualLink|}}}|
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Shadow}}}};" {{!}} Tribe
{{!}} {{{tribeManualLink|}}}
{{!}}-
|
{{#if:{{{tribe|}}}|
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Shadow}}}};" {{!}} Tribe
{{!}} {{{tribe|}}}
{{!}}-
}}
}}
}}
{{#if:{{{faction|}}}|
{{#if:{{{faction|}}}|
Line 262: Line 276:
{{!}}-
{{!}}-
}}
}}
|}
|}{{#if:{{{rpg|}}}|<includeonly>[[Category:Characters ({{{rpg}}})]]</includeonly>|<includeonly>[[Category:Characters]]</includeonly>}}{{#if:{{{species|}}}|{{#if:{{{rpg|}}}|<includeonly>[[Category:{{{species|}}} ({{{rpg}}})]]</includeonly>|<includeonly>[[Category:{{{species|}}}]]</includeonly>}}|{{#if:{{{rpg|}}}|<includeonly>[[Category:Unknown Species ({{{rpg}}})]]</includeonly>|<includeonly>[[Category:Unknown Species]]</includeonly>}}}}{{#if:{{{gender|}}}|{{#if:{{{rpg|}}}|<includeonly>[[Category:{{{gender}}} Characters ({{{rpg}}})]]</includeonly>|<includeonly>[[Category:{{{gender}}} Characters]]</includeonly>}}}}{{#if:{{{element|}}}|{{#if:{{{rpg|}}}|<includeonly>[[Category:{{{element|}}} Elementals ({{{rpg}}})]]</includeonly>|<includeonly>[[Category:{{{element|}}} Elementals]]</includeonly>}}|<includeonly>[[Category:Non-Elementals]]</includeonly>}}{{#if:{{{tribe|}}}|<includeonly>[[Category:{{{tribe}}} Tribe]]</includeonly>|}}{{#if:{{{statusic|}}}|{{#if:{{{rpg|}}}|<includeonly>[[Category:{{{statusic|}}} ({{{rpg}}})]]</includeonly>|<includeonly>[[Category:{{{statusic|}}}]]</includeonly>}}|}}{{#if:{{{statusooc|}}}|{{#if:{{{rpg|}}}|<includeonly>[[Category:{{{statusooc|}}} Characters ({{{rpg}}})]]</includeonly>|<includeonly>[[Category:{{{statusooc|}}} Characters]]</includeonly>}}|}}{{#if:{{{alignment|}}}|<includeonly>[[Category:"{{{alignment}}}" Characters]]</includeonly>|<includeonly></includeonly>}}
 
{{#if:{{{rpg|}}}|
<includeonly>[[Category:Characters ({{{rpg}}})]]</includeonly>|
<includeonly>[[Category:Characters]]</includeonly>
}}
 
{{#if:{{{species|}}}|
{{#if:{{{rpg|}}}|
<includeonly>[[Category:{{{species|}}} ({{{rpg}}})]]</includeonly>|
<includeonly>[[Category:{{{species|}}}]]</includeonly>
}}|
{{#if:{{{rpg|}}}|
<includeonly>[[Category:Unknown Species ({{{rpg}}})]]</includeonly>|
<includeonly>[[Category:Unknown Species]]</includeonly>
}}
}}
 
{{#if:{{{gender|}}}|
{{#if:{{{rpg|}}}|
<includeonly>[[Category:{{{gender}}} Characters ({{{rpg}}})]]</includeonly>|
<includeonly>[[Category:{{{gender}}} Characters]]</includeonly>}}
|
}}
 
{{#if:{{{element|}}}|
{{#if:{{{rpg|}}}|
<includeonly>[[Category:{{{element|}}} Elementals ({{{rpg}}})]]</includeonly>|
<includeonly>[[Category:{{{element|}}} Elementals]]</includeonly>
}}|
<includeonly>[[Category:Non-Elementals]]</includeonly>
}}
 
{{#if:{{{statusic|}}}|
{{#if:{{{rpg|}}}|
<includeonly>[[Category:{{{statusic|}}} ({{{rpg}}})]]</includeonly>|
<includeonly>[[Category:{{{statusic|}}}]]</includeonly>
}}|
}}
 
{{#if:{{{statusooc|}}}|
{{#if:{{{rpg|}}}|
<includeonly>[[Category:{{{statusooc|}}} Characters ({{{rpg}}})]]</includeonly>|
<includeonly>[[Category:{{{statusooc|}}} Characters]]</includeonly>
}}|
}}
 
 
{{#if:{{{alignment|}}}|
<includeonly>[[Category:"{{{alignment}}}" Characters]]</includeonly>|
}}
 
<noinclude>
<noinclude>
== Usage ==
== Usage ==
<div style="width: 40%;"><pre>
{{Player Character
| bg_color            =
| name                =
| image              =
| caption            =
| rpg                =
| rpgManualLink      =
| type                =
| nicknames          =
| aliases            =
| titles              =
| family              =
| clan                =
| element            =
| elementManualLink  =
| species            =
| speciesManualLink  =
| gender              =
| genderManualLink    =
| pronouns            =
| sexuality          =
| appearance          =
| disableequipment    =
| kanohi              =
| power              =
| mutation            =
| disciplines        =
| abilities          =
| weapon              =
| weakness            =
| alignment          =
| alignmentManualLink =
| goals              =
| likes              =
| hates              =
| disablehistory      =
| native              =
| nativeto            =
| home                =
| residesat          =
| faction            =
| guild              =
| group              =
| affiliation        =
| allegiance          =
| occupations        =
| rank                =
| disableoocinfo      =
| status              =
| statusic            =
| statusooc          =
| creator            =
| player              =
| pronunciation      =
| hexcolor            =
}}
</pre></div>
The only required parameter is the name. Any others which are unknown or inapplicable should be left blank. Fields marked with "Unknown" blank automatically.
The only required parameter is the name. Any others which are unknown or inapplicable should be left blank. Fields marked with "Unknown" blank automatically.


Line 387: Line 286:


[[Category:Infobox Templates]]
[[Category:Infobox Templates]]
</noinclude>
<templatedata>
{
"params": {
"bg_color": {
"label": "Background Color",
"description": "What elemental color scheme to apply to the template. Only accepts values found in [template:Palette]",
"example": "Fire",
"type": "string",
"suggested": true
},
"name": {
"label": "Name",
"description": "The name of the character displayed in the infobox",
"example": "Tahu",
"type": "string",
"required": true
},
"image": {
"label": "Image",
"description": "Image file for the infobox to display",
"example": "file:tahu.png",
"type": "wiki-file-name"
},
"imagewidth": {},
"caption": {},
"rpgManualLink": {
"label": "Manual RPG Link",
"description": "Same as RPG, but without automatic linking and categorizing, in case you want to add multiple or something",
"type": "string"
},
"rpg": {
"label": "RPG",
"description": "What RPG this character is from",
"type": "string",
"suggested": true
},
"type": {
"label": "Type"
},
"nicknames": {
"label": "Nicknames",
"description": "Nicknames the character has gone by",
"type": "string"
},
"aliases": {
"label": "Aliases",
"description": "Nicknames the character has gone by",
"type": "string"
},
"titles": {
"label": "Titles"
},
"family": {
"label": "Family",
"type": "string"
},
"clan": {},
"caste": {},
"elementManualLink": {},
"element": {},
"speciesManualLink": {},
"species": {},
"genderManualLink": {},
"gender": {},
"pronouns": {},
"sexuality": {},
"appearance": {},
"disableequipment": {},
"kanohi": {
"label": "Kanohi",
"description": "What Kanohi the character wears",
"example": "Hau",
"type": "string"
},
"power": {},
"mutation": {},
"disciplines": {},
"weapon": {},
"weakness": {},
"alignmentManualLink": {},
"alignment": {},
"goals": {},
"(likes": {},
"likes": {},
"hates": {},
"disablehistory": {},
"native": {},
"nativeto": {},
"home": {},
"residesat": {},
"tribeManualLink": {},
"tribe": {
"label": "Tribe",
"description": "What Tribe the character is in",
"type": "string"
},
"faction": {
"label": "Faction"
},
"guild": {},
"group": {},
"affiliation": {},
"allegiance": {},
"occupations": {},
"rank": {},
"disableoocinfo": {},
"status": {},
"statusic": {},
"statusooc": {},
"creator": {},
"player": {},
"pronunciation": {
"label": "Pronunciation",
"description": "How the character's name is pronounced",
"type": "string",
"suggested": true
},
"hexcolor": {
"label": "Hex Color",
"description": "The color, in hex, associated with the character",
"example": "000000",
"type": "number"
}
},
"description": "An infobox specific to player characters",
"format": "block",
"paramOrder": [
"bg_color",
"name",
"pronunciation",
"image",
"imagewidth",
"caption",
"rpg",
"rpgManualLink",
"type",
"nicknames",
"aliases",
"titles",
"family",
"clan",
"caste",
"elementManualLink",
"element",
"speciesManualLink",
"species",
"genderManualLink",
"gender",
"pronouns",
"sexuality",
"appearance",
"disableequipment",
"kanohi",
"power",
"mutation",
"disciplines",
"weapon",
"weakness",
"alignmentManualLink",
"alignment",
"goals",
"(likes",
"likes",
"hates",
"disablehistory",
"native",
"nativeto",
"home",
"residesat",
"tribeManualLink",
"tribe",
"faction",
"guild",
"group",
"affiliation",
"allegiance",
"occupations",
"rank",
"disableoocinfo",
"status",
"statusic",
"statusooc",
"creator",
"player",
"hexcolor"
]
}
</templatedata></noinclude>

Latest revision as of 02:04, 13 March 2024

Player Character
Wiki unknown image grey.png
Equipment & Traits
History & Relationships
OOC Information

Usage

The only required parameter is the name. Any others which are unknown or inapplicable should be left blank. Fields marked with "Unknown" blank automatically.

The parameters `statusic`, `statusooc`, `rpg`, `species`, `gender`, `alignment`, and `element` will automatically add the character to the respective categories and create a link to the pages for each, so DO NOT make a link with `[[ ]]` when inputting these parameters. That will be done automatically.

If you want to make a custom link and/or not auto-categorize, use the `rpgManualLink` and so on. `rpg` will still be used for auto-categorization, but `rpgManualLink` will be displayed in the infobox, so mix and match to your leisure

An infobox specific to player characters

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Background Colorbg_color

What elemental color scheme to apply to the template. Only accepts values found in [template:Palette]

Example
Fire
Stringsuggested
Namename

The name of the character displayed in the infobox

Example
Tahu
Stringrequired
Pronunciationpronunciation

How the character's name is pronounced

Stringsuggested
Imageimage

Image file for the infobox to display

Example
file:tahu.png
Fileoptional
imagewidthimagewidth

no description

Unknownoptional
captioncaption

no description

Unknownoptional
RPGrpg

What RPG this character is from

Stringsuggested
Manual RPG LinkrpgManualLink

Same as RPG, but without automatic linking and categorizing, in case you want to add multiple or something

Stringoptional
Typetype

no description

Unknownoptional
Nicknamesnicknames

Nicknames the character has gone by

Stringoptional
Aliasesaliases

Nicknames the character has gone by

Stringoptional
Titlestitles

no description

Unknownoptional
Familyfamily

no description

Stringoptional
clanclan

no description

Unknownoptional
castecaste

no description

Unknownoptional
elementManualLinkelementManualLink

no description

Unknownoptional
elementelement

no description

Unknownoptional
speciesManualLinkspeciesManualLink

no description

Unknownoptional
speciesspecies

no description

Unknownoptional
genderManualLinkgenderManualLink

no description

Unknownoptional
gendergender

no description

Unknownoptional
pronounspronouns

no description

Unknownoptional
sexualitysexuality

no description

Unknownoptional
appearanceappearance

no description

Unknownoptional
disableequipmentdisableequipment

no description

Unknownoptional
Kanohikanohi

What Kanohi the character wears

Example
Hau
Stringoptional
powerpower

no description

Unknownoptional
mutationmutation

no description

Unknownoptional
disciplinesdisciplines

no description

Unknownoptional
weaponweapon

no description

Unknownoptional
weaknessweakness

no description

Unknownoptional
alignmentManualLinkalignmentManualLink

no description

Unknownoptional
alignmentalignment

no description

Unknownoptional
goalsgoals

no description

Unknownoptional
(likes(likes

no description

Unknownoptional
likeslikes

no description

Unknownoptional
hateshates

no description

Unknownoptional
disablehistorydisablehistory

no description

Unknownoptional
nativenative

no description

Unknownoptional
nativetonativeto

no description

Unknownoptional
homehome

no description

Unknownoptional
residesatresidesat

no description

Unknownoptional
tribeManualLinktribeManualLink

no description

Unknownoptional
Tribetribe

What Tribe the character is in

Stringoptional
Factionfaction

no description

Unknownoptional
guildguild

no description

Unknownoptional
groupgroup

no description

Unknownoptional
affiliationaffiliation

no description

Unknownoptional
allegianceallegiance

no description

Unknownoptional
occupationsoccupations

no description

Unknownoptional
rankrank

no description

Unknownoptional
disableoocinfodisableoocinfo

no description

Unknownoptional
statusstatus

no description

Unknownoptional
statusicstatusic

no description

Unknownoptional
statusoocstatusooc

no description

Unknownoptional
creatorcreator

no description

Unknownoptional
playerplayer

no description

Unknownoptional
Hex Colorhexcolor

The color, in hex, associated with the character

Example
000000
Numberoptional