Template:TBRPG: Difference between revisions

Template page
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{WIP}}
{| class="infobox" cellspacing="5" style="width: 25em; font-size: 90%; text-align: left; float: right; clear: right; margin: 0 0 1em 1em; {{#if:{{{bg_color|}}}|color:#{{PaletteText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{Palette|{{{bg_color|}}}}}|{{Palette|Stone}}}};"
 
! colspan="2" style="text-align: center; font-size: 160%; padding-top: 14px; padding-bottom: 14px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" " | {{{name|{{PAGENAME}}}}}
{| class="infobox" cellspacing="5" style="width: 25em; font-size: 90%; text-align: left; float: right; clear: right; margin: 0 0 1em 1em; {{#if:{{{bg_color|}}}|color:#{{PaletteText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{Palette|{{{bg_color|}}}}}|{{Palette|stone}}}};"
! colspan="2" style="text-align: center; font-size: 160%; padding-top: 14px; padding-bottom: 14px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|stone}}}};" " | {{{name|{{PAGENAME}}}}}
|-
|-
{{#if: {{{image|}}}|
{{#if: {{{image|}}}|
Line 8: Line 6:
{{!}}-
{{!}}-
|
|
{{!}} align="center" colspan="2" {{!}} [[{{#setmainimage:File:Wiki unknown image grey.png}}|350px]] {{#if:{{{caption|}}}|<br /><small>''{{{caption|}}}''}}
{{!}} align="center" colspan="2" {{!}} [[{{#setmainimage:File:Wiki unknown image.png}}|350px]] {{#if:{{{caption|}}}|<br /><small>''{{{caption|}}}''}}
{{!}}-
{{!}}-
}}
}}
{{#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|stone}}}};" {{!}} 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|stone}}}};" {{!}} 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|stone}}}};" {{!}} 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|stone}}}};" {{!}} 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|stone}}}};" {{!}} 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 35:
}}
}}
{{#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|stone}}}};" {{!}} 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|stone}}}};" {{!}} 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 46:
}}
}}
{{#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|stone}}}};" {{!}} 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|stone}}}};" {{!}} 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|stone}}}};" {{!}} 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|stone}}}};" {{!}} 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|stone}}}};" {{!}} 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|stone}}}};" {{!}} 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|stone}}}};" {{!}} 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 91:
|}
|}


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


Line 161: Line 125:
}}
}}
</pre></div>
</pre></div>
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 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.
The parameters `series` and `universe` 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
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

Latest revision as of 02:15, 2 August 2022

TBRPG
Wiki unknown image.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                = 
}}

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 `series` and `universe` 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