Template:HistoricalEvent: Difference between revisions
Jump to navigation
Jump to search
(I think this will do for now. Hope it works, writing on my phone can be hard.) |
m (really badly needs margin) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| style="float: right;" class="wikitable" | {| style="float: right;margin-left:5px;" class="wikitable" | ||
|+ Historical Event | |+ Historical Event | ||
|- | |- | ||
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> |
Latest revision as of 01:18, 26 March 2024
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
HistoricalEvent |
---|
Date |
{{HistoricalEvent | Name = | Picture = | Date = | DateEnd = }}
Full Examples
Project Destiny |
---|
Start Date |
2011-01-17 |
End Date |
2011-02-18 |
{{HistoricalEvent | Name = | Picture = | Date = | DateEnd = }}