Template:Event: Difference between revisions

Template page
No edit summary
No edit summary
Line 7: Line 7:
}}
}}
{{#if:{{{rpg|}}}|
{{#if:{{{rpg|}}}|
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} RPG
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} RPG
{{!}} {{{rpg|}}}
{{!}} {{{rpg|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{conflict|}}}|
{{#if:{{{conflict|}}}|
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Conflict
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Conflict
{{!}} {{{conflict|}}}
{{!}} {{{conflict|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{location|}}}|
{{#if:{{{location|}}}|
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Location
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Location
{{!}} {{{location|}}}
{{!}} {{{location|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{combatants|}}}|
{{#if:{{{combatants|}}}|
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Combatants
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Combatants
{{!}} {{{combatants|}}}
{{!}} {{{combatants|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{characters|}}}|
{{#if:{{{characters|}}}|
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Characters
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Characters
{{!}} {{{characters|}}}
{{!}} {{{characters|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{victor|}}}|
{{#if:{{{victor|}}}|
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Victor
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Victor
{{!}} {{{victor|}}}
{{!}} {{{victor|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{victors|}}}|
{{#if:{{{victors|}}}|
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Victors
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Victors
{{!}} {{{victors|}}}
{{!}} {{{victors|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{groups|}}}|
{{#if:{{{groups|}}}|
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Groups
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Groups
{{!}} {{{groups|}}}
{{!}} {{{groups|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{year|}}}|
{{#if:{{{year|}}}|
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Year
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Year
{{!}} {{{year|}}}
{{!}} {{{year|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{date|}}}|
{{#if:{{{date|}}}|
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Date
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Date
{{!}} {{{date|}}}
{{!}} {{{date|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{datestarted|}}}|
{{#if:{{{datestarted|}}}|
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Date Started
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Date Started
{{!}} {{{datestarted|}}}
{{!}} {{{datestarted|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{dateended|}}}|
{{#if:{{{dateended|}}}|
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Date Finished
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Date Finished
{{!}} {{{dateended|}}}
{{!}} {{{dateended|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{before|}}}|
{{#if:{{{before|}}}|
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Before
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Before
{{!}} {{{before|}}}
{{!}} {{{before|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{after|}}}|
{{#if:{{{after|}}}|
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} After
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} After
{{!}} {{{after|}}}
{{!}} {{{after|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{pages|}}}|
{{#if:{{{pages|}}}|
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Pages
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Pages
{{!}} {{{pages|}}}
{{!}} {{{pages|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{type|}}}|
{{#if:{{{type|}}}|
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Type
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Type
{{!}} {{{type|}}}
{{!}} {{{type|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{status|}}}|
{{#if:{{{status|}}}|
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Status
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Status
{{!}} {{{status|}}}
{{!}} {{{status|}}}
{{!}}-
{{!}}-
}}
}}
|}
|}
{{#if:{{{type|}}}|
{{#if:{{{rpg|}}}|
<includeonly>[[Category:{{{type|}}}s ({{{rpg}}})]]</includeonly>|
<includeonly>[[Category:{{{type|}}}]s]</includeonly>
}}|
{{#if:{{{rpg|}}}|
<includeonly>[[Category:Events ({{{rpg}}})]]</includeonly>|
<includeonly>[[Category:Events]]</includeonly>
}}
}}


<noinclude>
<noinclude>
Line 123: Line 134:
</pre></div>
</pre></div>
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.
Types:
- Battle
- War
- Plot
- Meeting
- Murder
- Trial


[[Category:Infobox Templates]]
[[Category:Infobox Templates]]
</noinclude>
</noinclude>

Revision as of 22:21, 11 February 2023

Event



Usage

{{Location
| bg_color    =
| name        = 
| image       = 
| caption     =
| rpg         = 
| type        =

| location    =
| combatants  = 
| characters  = 
| victor      =
| victors     =
| group       =

| year        =
| date        = 
| datestarted = 
| dateended   =   
| before      =
| after       =
| pages       =
| type        =
| status      =
}}

The only required parameter is the name. Any others which are unknown or inapplicable should be left blank. Fields marked with "Unknown" blank automatically.

Types: - Battle - War - Plot - Meeting - Murder - Trial