Template:CurrentEvent: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Undo revision 551695 by TK-421 (talk))
m (Adding additional info.)
 
(4 intermediate revisions by 2 users not shown)
Line 3: Line 3:
! width=10% | Game Date
! width=10% | Game Date
! <big>{{{headline}}}</big>
! <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; padding: 0.5em;" | {{{summary}}}
| style="text-align:left; padding: 0.5em;" | {{{summary}}}
| {{#ask:[[event name is::{{{headline}}}]]
|format=list|link=all|headers=show|searchlabel=... further results|sep=,}}
|-
|-
|}<br></includeonly><noinclude>==Usage==
|}<br></includeonly><noinclude>==Usage==
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?