Template:Player Character: Difference between revisions

Template page
(testing hex color)
mNo edit summary
Line 196: Line 196:
{{#if:{{{hexcolor|}}}|
{{#if:{{{hexcolor|}}}|
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Color (Hex)
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Color (Hex)
{{!}} {{{hexcolor|}}} <span style="color:{{{hexcolor|}}}">(Preview)</span>
{{!}} {{{hexcolor|}}} <span style="color:#{{{hexcolor|}}}">(Preview)</span>
{{!}}-
{{!}}-
}}
}}

Revision as of 08:27, 29 November 2021

Player Character
Wiki unknown image grey.png







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              =
| 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 `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