Template:Log: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Fixed loop and documentation.)
m (Adding additional info.)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>[[Event Log is::Log| ]] [[Event Log pretty name is::Current Event Logs| ]] [[Event instance is::Prime| ]]
{| class="wikitable"
{| class="wikitable"
| Event Name: {{#if:{{{eventname|}}}|[[event name is::{{{eventname}}}]]|''Unknown Event''}}
|-
| 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''}}
|-
|-
| Dateline: {{#if:{{{gamedate|}}}|[[game date is::{{{gamedate}}}]]|''Unknown Date''}}
| Game Date of Event: {{#if:{{{gamedate|}}}|[[game date is::{{{gamedate}}}]]|''Unknown Date''}}
|-
|-
| Event Name(s): {{#if:{{{eventname|}}}|{{#arraymap:{{{subject}}}|,|@@@@|[[Event Log relates to::@@@@|<br>@@@@]] | }}}}
| Point of View: {{#if:{{{pov|}}}|[[point of view is::{{{pov}}}]]|''Unknown POV''}}
|-
|-
| style="text-align:left; padding: 1em;" | {{{log}}}
| POV(s): {{#if:{{{pov|}}}|{{#arraymap:{{{author}}}|,|@@@@|[[Event Log Point of View is::@@@@|<br>@@@@]] | }}}}
|-
|-
|}
|}
{{Cat|Event Logs}} {{cat|{{#switch:{{{event_instance}}}|DR=Current Prime Events|DRX=Current Platinum Events|DRF=Current Fallen Events|Unknown Instance Events}}}}

</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]].


<pre>{{Log
<pre>{{Log
|eventname=
|event_instance=
|date=
|date=
|gamedate=
|gamedate=
|eventname=
|pov=
|pov=
|log=
|log=
Line 25: 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.
| date || The actual date.
|-
| 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.
|-
|-
| gamedate || When this occurred in-game. '''Format: YYY-MM-DD'''
| eventname|| Event the log is from.
|-
|-
| 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.