Template:Event: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
{| class="infobox" cellspacing="5" style="width: 21em; font-size: 90%; text-align: left;"
{| 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: 130%;" | {{{name|{{PAGENAME}}}}}
! 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:{{{group|}}}|
{{#if:{{{characters|}}}|
! Group(s) involved
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Characters
{{!}} {{{group|}}}
{{!}} {{{characters|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{character|}}}|
{{#if:{{{groups|}}}|
! Character(s) involved
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Groups
{{!}} {{{character|}}}
{{!}} {{{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:{{{pages|}}}|
{{#if:{{{datestarted|}}}|
! Page(s)
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Date Started
{{!}} {{{pages|}}}
{{!}} {{{datestarted|}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{year|}}}|
{{#if:{{{dateended|}}}|
! Year
! style="padding-left: 5px; padding-right: 5px; background-color:#{{#if:{{{bg_color|}}}|{{PaletteDark|{{{bg_color|}}}}}|{{PaletteDark|PC}}}};" {{!}} Date Finished
{{!}} {{{year|}}}
{{!}} {{{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>
{{Event
{{Location
| name       =  
| bg_color    =
| image     =  
| name       =  
| caption   =
| image       =  
| rpg       =  
| caption     =
| location   =  
| rpg         =  
| character =  
| location   =  
| group     =
| characters =  
| date       =  
| group       =
| pages     =
| year        =
| year       =
| date       =
| before    =
| datestarted =
| after     =
| 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.
{{WIP}}
 
[[Category:Templates|{{PAGENAME}}]]
[[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.