Template:CurrentEvent: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
m (Adding additional info.)
 
(9 intermediate revisions by 2 users not shown)
Line 2: Line 2:
! width=10% | Real Date
! width=10% | Real Date
! width=10% | Game Date
! width=10% | Game Date
! {{{headline}}}
! <big>{{{headline}}}</big>
! width=10% | Logs
|-
|-
| style="text-align:center;" | {{#if:{{{date|}}}|{{{date}}}|''Unknown}}
| style="text-align:center;" | {{#if:{{{date|}}}|{{{date}}}|''Unknown}}
| style="text-align:center;" | {{#if:{{{gamedate|}}}|{{{gamedate}}}|''Unknown}}
| style="text-align:center;" | {{#if:{{{gamedate|}}}|[[game date is::{{{gamedate}}}|{{{gamedate}}}]]|''Unknown}}
| style="text-align:left;" cellpadding="3" | {{{summary}}}
| style="text-align:left; padding: 0.5em;" | {{{summary}}}
| {{#ask:[[event name is::{{{headline}}}]]
|format=list|link=all|headers=show|searchlabel=... further results|sep=,}}
|-
|-
|}</includeonly><noinclude>==Usage==
|}<br></includeonly><noinclude>==Usage==
A template to format [[Current Events]]
A template to format [[Current Events]]


Line 21: Line 24:
===Values===
===Values===
{| border="1" cellpadding="3"
{| border="1" cellpadding="3"
| date || The actual date.
| date || The actual date. '''Format: YYYY-MM-DD'''
|-
|-
| gamedate || When this occurred in-game.
| gamedate || When this occurred in-game. '''Format: YYY-MM-DD'''
|-
|-
| headline || What's it called?
| headline || What's it called? (This can be used to link [[:Template:Log|Logs]] to the current event.)
|-
|-
| summary || What's going on?
| summary || What's going on?

Latest revision as of 16:03, 22 February 2022

Usage

A template to format Current Events

{{CurrentEvent
  |date=
  |gamedate=
  |headline=
  |summary=
}}

Values

date The actual date. Format: YYYY-MM-DD
gamedate When this occurred in-game. Format: YYY-MM-DD
headline What's it called? (This can be used to link Logs to the current event.)
summary What's going on?