Template:Log: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
(Fixed loop and documentation.)
Line 1: Line 1:
<includeonly>[[Event Log is::Log| ]] [[Event Log pretty name is::Current Event Logs| ]] [[Event instance is::Prime| ]]
{{Log
{| class="wikitable"
| Real Date: {{#if:{{{date|}}}|[[calendar date is::{{{date}}}]]|''Unknown Date''}}
|-
| Dateline: {{#if:{{{gamedate|}}}|[[game date is::{{{gamedate}}}]]|''Unknown Date''}}
|-
| Event Name(s): {{#if:{{{eventname|}}}|{{#arraymap:{{{subject}}}|,|@@@@|[[Event Log relates to::@@@@|<br>@@@@]] | }}}}
|-
| POV(s): {{#if:{{{pov|}}}|{{#arraymap:{{{author}}}|,|@@@@|[[Event Log Point of View is::@@@@|<br>@@@@]] | }}}}
|-
|}

</includeonly><noinclude>==Usage==
A template to for Event Logs for [[Current Events/Logs]].

<pre>{{Log
|date=
|date=
|gamedate=
|gamedate=
Line 6: Line 21:
|log=
|log=
}}
}}
</pre>

===Values===
{| border="1" cellpadding="3"
| date || The actual date.
|-
| gamedate || When this occurred in-game.
|-
| eventname|| Event the log is from.
|-
| pov|| The character name that the log's point of view is from.
|-
| log|| The log of the event itself.
|}
{{Cat|Templates|*}}</noinclude>

Revision as of 16:48, 28 August 2021

Usage

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

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

Values

date The actual date.
gamedate When this occurred in-game.
eventname Event the log is from.
pov The character name that the log's point of view is from.
log The log of the event itself.