Template:HistoricalEvent: Difference between revisions

From Hazeron Wiki
Jump to navigation Jump to search
(I think this will do for now. Hope it works, writing on my phone can be hard.)
 
(Some)
Line 9: Line 9:
! {{#if:{{{DateEnd|}}}|Start Date|Date}}
! {{#if:{{{DateEnd|}}}|Start Date|Date}}
|-
|-
| align="right" | {{{Date|????-??-??}}}
| align="right" | {{{Date|Unknown}}}
{{#if:{{{DateEnd|}}}|{{!}}-
{{#if:{{{DateEnd|}}}|{{!}}-
! End Date
! End Date
{{!}}-
{{!}}-
{{!}}align="right"{{!}} {{{DateEnd}}}}}
{{!}}align="right"{{!}} {{{DateEnd}}}|}}
|}
|}
</includeonly><noinclude>{{HistoricalEvent/Doc}}</noinclude>
</includeonly><noinclude>{{HistoricalEvent/Doc}}</noinclude>

Revision as of 16:07, 16 September 2017

How to use

To use this template, simply copy this into the very top of an event's page.

{{HistoricalEvent
| Name = 
| Picture = 
| Date = 
| DateEnd = 
}}

Then fill in information as need. See the examples below.

Notes:

  • Please use the YYYY-MM-DD date format.

Fields can left blank (this includes deleting bullets) to invoke the default, which is:

  • Name = {{PAGENAME}}
  • Picture = (Will not appear if left blank)
  • Date = Unknown
  • DateEnd = (Will not appear if left blank)

Minimal Example

Historical Event
HistoricalEvent
Date
{{HistoricalEvent
| Name = 
| Picture = 
| Date = 
| DateEnd = 
}}


Full Examples

Historical Event
Project Destiny
Galaxy_ShoresOfHazeron.png
Start Date
2011-01-17
End Date
2011-02-18
{{HistoricalEvent
| Name = 
| Picture = 
| Date = 
| DateEnd = 
}}