Template:Log: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
m (Adding additional info.)
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
| Event Name: {{#if:{{{eventname|}}}|[[event name is::{{{eventname}}}]]|''Unknown Event''}}
| Event Name: {{#if:{{{eventname|}}}|[[event name is::{{{eventname}}}]]|''Unknown Event''}}
|-
|-
| Event Instance: {{#if: {{{instance|}}} | {{#switch:{{{instance}}}|-=|{{ucfirst:{{lc:{{{instance}}}}}}}{{#arraymap:{{ucfirst:{{lc:{{{instance}}}}}}}|,|@@@@|[[Category:Player @@@@]]}}}} | ''Unknown''}}
| Event Instance: [[event instance is::{{#switch:{{{event_instance}}}|DR=Prime|DRX=Platinum|DRF=Fallen|'''Unknown'''}}]]
|-
|-
| Real Date: {{#if:{{{date|}}}|[[calendar date is::{{{date}}}]]|''Unknown Date''}}
| Real Date: {{#if:{{{date|}}}|[[calendar date is::{{{date}}}]]|''Unknown Date''}}
Line 14: Line 14:
|-
|-
|}
|}
{{Cat|Event Logs}} {{cat|{{#switch:{{{event_instance}}}|DR=Current Prime Events|DRX=Current Platinum Events|DRF=Current Fallen Events|Unknown Instance Events}}}}
{{Cat|Event Logs}}
</includeonly><noinclude>==Usage==
</includeonly><noinclude>==Usage==
A template to for Event Logs for [[Current Events/Logs]].
A template to for Event Logs for [[Current Events/Logs]].
Line 20: Line 20:
<pre>{{Log
<pre>{{Log
|eventname=
|eventname=
|event_instance=
|date=
|date=
|gamedate=
|gamedate=
Line 29: Line 30:
===Values===
===Values===
{| border="1" cellpadding="3"
{| border="1" cellpadding="3"
| eventname|| Event the log is from. If you are linking it to a [[Current Events]] blurb, make sure the eventname of your Log matches the [[:Template:CurrentEvent|CurrentEvent]] headline value.
| eventname|| Event the log is from.
|-
|-
| event_instance||The instance the log is from. '''Options: DR, DRX, DRF.'''
| 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'''
|-
|-
| pov|| The character name that the log's point of view is from.
| pov|| The character name that the log's point of view is from.

Latest revision as of 16:01, 22 February 2022

Usage

A template to for Event Logs for Current Events/Logs.

{{Log
  |eventname=
  |event_instance=
  |date=
  |gamedate=
  |pov=
  |log=
}}

Values

eventname Event the log is from. If you are linking it to a Current Events blurb, make sure the eventname of your Log matches the CurrentEvent headline value.
event_instance The instance the log is from. Options: DR, DRX, DRF.
date The actual date. Format: YYYY-MM-DD
gamedate When this occurred in-game. Format: YYY-MM-DD
pov The character name that the log's point of view is from.
log The log of the event itself.