No edit summary |
No edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" cellspacing="5" style="width: 25em; font-size: 90%; text-align: left; float: right; clear: right; margin: 0 0 1em 1em; background-color:#{{#if:{{{bg_color|}}}|{{Palette|{{{bg_color|}}}}}|{{Palette| | {| class="infobox" cellspacing="5" style="width: 25em; font-size: 90%; text-align: left; float: right; clear: right; margin: 0 0 1em 1em; 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; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark| | ! colspan="2" style="text-align: center; font-size: 160%; padding-top: 14px; padding-bottom: 14px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" " | {{{name|{{PAGENAME}}}}} | ||
|- | |||
! colspan="2" style="font-size: 160%; text-align: center; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" | {{#if:{{{type|}}}|{{{type}}}|Event}} | |||
|- | |- | ||
{{#if: {{{image|}}}| | {{#if: {{{image|}}}| | ||
{{!}} align="center" colspan="2" {{!}} [[{{{image}}}|{{{imagewidth|350}}}px]] {{#if:{{{caption|}}}|<br /><small>{{{caption|}}}}} | {{!}} align="center" colspan="2" {{!}} [[{{#setmainimage:{{{image}}}}}|{{{imagewidth|350}}}px]] {{#if:{{{caption|}}}|<br /><small>{{{caption|}}}}} | ||
{{!}}- | |||
| | |||
{{!}} align="center" colspan="2" {{!}} [[{{#setmainimage:File:Wiki unknown image.png}}|350px]] {{#if:{{{caption|}}}|<br /><small>''{{{caption|}}}''}} | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{rpg|}}}| | {{#if:{{{rpg|}}}| | ||
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark| | ! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} RPG | ||
{{!}} {{{rpg|}}} | {{!}} {{{rpg|}}} | ||
{{!}}- | |||
}} | |||
{{#if:{{{conflict|}}}| | |||
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Conflict | |||
{{!}} {{{conflict|}}} | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{location|}}}| | {{#if:{{{location|}}}| | ||
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark| | ! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Location | ||
{{!}} {{{location|}}} | {{!}} {{{location|}}} | ||
{{!}}- | |||
}} | |||
{{#if:{{{combatants|}}}| | |||
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Combatants | |||
{{!}} {{{combatants|}}} | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{characters|}}}| | {{#if:{{{characters|}}}| | ||
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark| | ! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Characters | ||
{{!}} {{{characters|}}} | {{!}} {{{characters|}}} | ||
{{!}}- | |||
}} | |||
{{#if:{{{victor|}}}| | |||
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Victor | |||
{{!}} {{{victor|}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{victors|}}}| | |||
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Stone}}}};" {{!}} Victors | |||
{{!}} {{{victors|}}} | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{groups|}}}| | {{#if:{{{groups|}}}| | ||
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark| | ! 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| | ! 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| | ! 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| | ! 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| | ! 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| | ! 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| | ! 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| | ! 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| | ! 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| | ! 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> | ||
== Usage == | == Usage == | ||
<div style="width: 40%;"><pre> | <div style="width: 40%;"><pre> | ||
{{ | {{Event | ||
| bg_color = | | bg_color = | ||
| name = | | name = | ||
Line 82: | Line 118: | ||
| caption = | | caption = | ||
| rpg = | | rpg = | ||
| location = | | type = | ||
| location = | |||
| combatants = | |||
| characters = | | characters = | ||
| victor = | |||
| victors = | |||
| group = | | group = | ||
| year = | | year = | ||
| date = | | date = | ||
Line 97: | Line 139: | ||
</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> |
Latest revision as of 22:36, 11 February 2023
Event | |
---|---|
Event | |
Usage
{{Event | 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