No edit summary |
(fixed bug with element auto-categorization when no RPG selected) |
||
Line 47: | Line 47: | ||
{{#if:{{{element|}}}| | {{#if:{{{element|}}}| | ||
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Element | ! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Element | ||
{{!}} {{#if:{{{rpg|}}}|[[:Category:{{{element|}}} Elementals ({{{rpg}}})|{{{element|}}}]]|[[:Category:{{{element|}}} Elementals | {{!}} {{#if:{{{rpg|}}}|[[:Category:{{{element|}}} Elementals ({{{rpg}}})|{{{element|}}}]]|[[:Category:{{{element|}}} Elementals|{{{element|}}}]]}} | ||
{{!}}- | {{!}}- | ||
}} | }} |
Revision as of 04:31, 6 December 2021
Player Character | |
---|---|
OOC Information |
Usage
{{Player Character | bg_color = | name = | image = | caption = | rpg = | rpgManualLink = | type = | nicknames = | aliases = | titles = | element = | elementManualLink = | species = | speciesManualLink = | gender = | genderManualLink = | pronouns = | sexuality = | kanohi = | native = | mutation = | power = | family = | abilities = | disciplines = | weapon = | appearance = | alignment = | alignmentManualLink = | likes = | hates = | faction = | guild = | group = | affiliation = | allegiance = | occupations = | rank = | status = | statusic = | statusooc = | creator = | pronunciation = | hexcolor = }}
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