Template:Object: Difference between revisions

Template page
(testing optional titles)
(added manual disable of table labels)
Line 37: Line 37:
{{!}}-
{{!}}-
}}
}}
{{#expr: {{if: {{{ appearance }}} }} or {{if: {{{ functions }}} |
{{#if:{{{disableproperties|}}}||
! colspan="2" style="font-size: 120%; text-align: center; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" | Properties
! colspan="2" style="font-size: 120%; text-align: center; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" | Properties
|-
|-
|}}
}}
}}
! colspan="2" style="font-size: 120%; text-align: center; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" | Properties
|-
{{#if:{{{appearance|}}}|
{{#if:{{{appearance|}}}|
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Appearance
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Appearance
Line 76: Line 72:
{{!}}-
{{!}}-
}}
}}
{{#if:{{{disableproperties|}}}||
! colspan="2" style="font-size: 120%; text-align: center; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" | History
! colspan="2" style="font-size: 120%; text-align: center; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" | History
|-
|-
}}
{{#if:{{{inventor|}}}|
{{#if:{{{inventor|}}}|
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Inventor
! style="padding-left: 5px; padding-right: 5px; {{#if:{{{bg_color|}}}|color:#{{PaletteDarkText|{{{bg_color|}}}}}|}}; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Inventor
Line 114: Line 112:
}}
}}
}}
}}
{{#if:{{{disableproperties|}}}||
! 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:{{{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
Line 204: Line 204:
| techtype            =
| techtype            =


| disableproperties  =
| appearance          =
| appearance          =
| element            =
| element            =
Line 214: Line 215:
| weaponry            =
| weaponry            =


| disablehistory
| inventor            =
| inventor            =
| inventors          =
| inventors          =
Line 223: Line 225:
| alignmentManualLink =
| alignmentManualLink =


| disableoocinfo      =
| status              =
| status              =
| statusic            =
| statusic            =

Revision as of 01:37, 16 April 2022

Object
Object
Wiki unknown image.png
colspan="2" style="font-size: 120%; text-align: center; background-color:#290D00;"



colspan="2" style="font-size: 120%; text-align: center; background-color:#290D00;"




colspan="2" style="font-size: 120%; text-align: center; background-color:#290D00;"










Usage

{{Object
| bg_color            =
| name                =
| aka                 =
| image               =
| caption             =
| rpg                 =
| rpgManualLink       =
| type                =
| techtype            =

| disableproperties   =
| appearance          =
| element             =
| elementManualLink   =
| mutation            =
| powers              =
| functions           =
| usedby              =
| abilities           =
| weaponry            =

| disablehistory
| inventor            =
| inventors           =
| nativeto            =
| location            =
| availability        =
| affiliation         =
| alignment           =
| alignmentManualLink =

| disableoocinfo      =
| status              =
| statusic            =
| statusooc           =
| creator             =
| approvedby          =
| pronunciation       =
}}

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