Template:TBRPG: Difference between revisions

Template page
No edit summary
(fixed auto categorization)
Line 12: Line 12:
}}
}}
{{#if:{{{aka|}}}|
{{#if:{{{aka|}}}|
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Shadow}}}};" {{!}} Also Known As
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Also Known As
{{!}} {{{aka|}}}
{{!}} {{{aka|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{type|}}}|
{{#if:{{{type|}}}|
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Shadow}}}};" {{!}} Type
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Type
{{!}} {{{type|}}}
{{!}} {{{type|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{disablelocale|}}}||
{{#if:{{{disablelocale|}}}||
! colspan="2" style="font-size: 120%; text-align: center; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Shadow}}}};" {{!}} Locale
! colspan="2" style="font-size: 120%; text-align: center; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Locale
{{!}}-
{{!}}-
}}
}}
{{#if:{{{seriesManualLink|}}}|
{{#if:{{{seriesManualLink|}}}|
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Shadow}}}};" {{!}} Series
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Series
{{!}} [[{{{seriesManualLink|}}}]]
{{!}} [[{{{seriesManualLink|}}}]]
{{!}}-
{{!}}-
|
|
{{#if:{{{series|}}}|
{{#if:{{{series|}}}|
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Shadow}}}};" {{!}} Series
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Series
{{!}} [[{{{series|}}}]]
{{!}} [[{{{series|}}}]]
{{!}}-
{{!}}-
Line 37: Line 37:
}}
}}
{{#if:{{{universeManualLink|}}}|
{{#if:{{{universeManualLink|}}}|
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Shadow}}}};" {{!}} Universe
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Universe
{{!}} [[{{{universeManualLink|}}}]]
{{!}} [[{{{universeManualLink|}}}]]
{{!}}-
{{!}}-
|
|
{{#if:{{{universe|}}}|
{{#if:{{{universe|}}}|
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Shadow}}}};" {{!}} Universe
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Universe
{{!}} [[{{{universe|}}}]]
{{!}} [[{{{universe|}}}]]
{{!}}-
{{!}}-
Line 48: Line 48:
}}
}}
{{#if:{{{locations|}}}|
{{#if:{{{locations|}}}|
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Shadow}}}};" {{!}} Locations
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Locations
{{!}} {{{locations|}}}
{{!}} {{{locations|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{disableoocinfo|}}}||
{{#if:{{{disableoocinfo|}}}||
! colspan="2" style="font-size: 120%; text-align: center; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Shadow}}}};" {{!}} OOC Information
! colspan="2" style="font-size: 120%; text-align: center; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} OOC Information
{{!}}-
}}
{{#if:{{{start|}}}|
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Start
{{!}} {{{start|}}}
{{!}}-
}}
{{#if:{{{end|}}}|
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} End
{{!}} {{{end|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{status|}}}|
{{#if:{{{status|}}}|
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Shadow}}}};" {{!}} Status
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Status
{{!}} {{{status|}}}
{{!}} {{{status|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{statusic|}}}|
{{#if:{{{statusic|}}}|
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Shadow}}}};" {{!}} Status (IC)
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Status (IC)
{{!}} {{#if:{{{rpg|}}}|[[:Category:{{{statusic|}}} ({{{rpg}}})|{{{statusic|}}}]]|[[:Category:{{{statusic|}}}|{{{statusic|}}}]]}}
{{!}} {{#if:{{{rpg|}}}|[[:Category:{{{statusic|}}} ({{{rpg}}})|{{{statusic|}}}]]|[[:Category:{{{statusic|}}}|{{{statusic|}}}]]}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{statusooc|}}}|
{{#if:{{{statusooc|}}}|
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Shadow}}}};" {{!}} Status (OOC)
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Status (OOC)
{{!}} {{#if:{{{rpg|}}}|[[:Category:{{{statusooc|}}} Characters ({{{rpg}}})|{{{statusooc|}}}]]|[[:Category:{{{statusooc|}}} Characters}}|{{{statusooc|}}}]]}}
{{!}} {{#if:{{{rpg|}}}|[[:Category:{{{statusooc|}}} Characters ({{{rpg}}})|{{{statusooc|}}}]]|[[:Category:{{{statusooc|}}} Characters}}|{{{statusooc|}}}]]}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{creator|}}}|
{{#if:{{{creator|}}}|
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Shadow}}}};" {{!}} Creator
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Creator
{{!}} {{{creator|}}}
{{!}} {{{creator|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{gms|}}}|
{{#if:{{{gms|}}}|
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Shadow}}}};" {{!}} Game Masters
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Game Masters
{{!}} {{{gms|}}}
{{!}} {{{gms|}}}
{{!}}-
{{!}}-
Line 83: Line 93:
|}
|}


{{#if:{{{rpg|}}}|
<includeonly>[[Category:Role-Playing Games]]</includeonly>
<includeonly>[[Category:Characters ({{{rpg}}})]]</includeonly>|
<includeonly>[[Category:Characters]]</includeonly>
}}


{{#if:{{{species|}}}|
{{#if:{{{series|}}}|
{{#if:{{{rpg|}}}|
<includeonly>[[Category:{{{series}}}]]</includeonly>|
<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>|
}}
}}



Revision as of 02:11, 2 August 2022



TBRPG
Wiki unknown image grey.png
Locale
OOC Information




Usage

{{TBRPG
| bg_color           =
| name               =
| aka                =
| image              =
| caption            =
| type               =

| disablelocale      =
| series             =
| seriesManualLink   =
| universe           =
| universeManualLink =
| locations          =

| disableoocinfo     =
| start              =
| end                =
| status             =
| statusic           =
| statusooc          =
| creator            =
| gms                = 
}}

CURRENTLY THIS IS A TEST

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