No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{| class="infobox" cellspacing="5" style="width: | {| 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|PC}}}};" | ||
! colspan="2" style="text-align: center; font-size: | ! colspan="2" style="font-size: 160%; text-align: center; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Location}}}};" | Event | ||
|- | |||
! colspan="2" style="text-align: center; font-size: 160%; padding-top: 14px; padding-bottom: 14px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|Location}}}};" " | {{{name|{{PAGENAME}}}}} | |||
|- | |- | ||
{{#if: {{{image|}}}| | {{#if: {{{image|}}}| | ||
{{!}} align="center" colspan="2" {{!}} {{{image}}} {{#if:{{{caption|}}}|<br /><small>{{{caption}}}}} | {{!}} align="center" colspan="2" {{!}} [[{{{image}}}|{{{imagewidth|350}}}px]] {{#if:{{{caption|}}}|<br /><small>{{{caption|}}}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{rpg|}}}| | {{#if:{{{rpg|}}}| | ||
! RPG | ! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} RPG | ||
{{!}} {{{rpg|}}} | {{!}} {{{rpg|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{location|}}}| | {{#if:{{{location|}}}| | ||
! Location | ! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Location | ||
{{!}} {{{location|}}} | {{!}} {{{location|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{characters|}}}| | ||
! | ! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Characters | ||
{{!}} {{{ | {{!}} {{{characters|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{groups|}}}| | ||
! | ! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Groups | ||
{{!}} {{{ | {{!}} {{{groups|}}} | ||
{{!}}- | |||
}} | |||
{{#if:{{{year|}}}| | |||
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Year | |||
{{!}} {{{year|}}} | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{date|}}}| | {{#if:{{{date|}}}| | ||
! Date | ! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Date | ||
{{!}} {{{date|}}} | {{!}} {{{date|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{datestarted|}}}| | ||
! | ! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Date Started | ||
{{!}} {{{ | {{!}} {{{datestarted|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{dateended|}}}| | ||
! | ! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Date Finished | ||
{{!}} {{{ | {{!}} {{{dateended|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{before|}}}| | {{#if:{{{before|}}}| | ||
! | ! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} 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 | ||
{{!}} {{{after|}}} | {{!}} {{{after|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
|}<noinclude> | {{#if:{{{pages|}}}| | ||
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Pages | |||
{{!}} {{{pages|}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{type|}}}| | |||
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Type | |||
{{!}} {{{type|}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{status|}}}| | |||
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Status | |||
{{!}} {{{status|}}} | |||
{{!}}- | |||
}} | |||
|} | |||
<noinclude> | |||
== Usage == | == Usage == | ||
<div style="width: 40%;"><pre> | <div style="width: 40%;"><pre> | ||
{{ | {{Location | ||
| name | | bg_color = | ||
| image | | name = | ||
| caption | | image = | ||
| rpg | | caption = | ||
| location | | rpg = | ||
| | | location = | ||
| group | | characters = | ||
| date | | group = | ||
| | | year = | ||
| | | date = | ||
| | | datestarted = | ||
| | | dateended = | ||
| before = | |||
| after = | |||
| pages = | |||
| type = | |||
| status = | |||
}} | }} | ||
</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. | ||
[[Category:Templates | [[Category:Infobox Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 01:04, 28 August 2021
Event | |
---|---|
Event |
Usage
{{Location | bg_color = | name = | image = | caption = | rpg = | location = | characters = | 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.