Actions

Template

Difference between revisions of "Historical Event"

From Gulf of Fallen Stars

Line 12: Line 12:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
{{#cargo_declare:_table=HistoryEvents|Sector=Page|World=Page|StartDatetime=Datetime|EndDatetime=Datetime|Body=Wikitext}}
+
{{#cargo_declare:_table=HistoryEvents|Sector=Page|World=Page|StartDate=Date|EndDate=Date|Body=Wikitext}}
</noinclude><includeonly>{{#cargo_store:_table=HistoryEvents|Sector={{{Sector|}}}|World={{{World|}}}|StartDatetime={{{StartDatetime|}}}|EndDatetime={{{EndDatetime|}}}|Body={{{Body|}}} }}{| class="wikitable"
+
</noinclude><includeonly>{{#cargo_store:_table=HistoryEvents|Sector={{{Sector|}}}|World={{{World|}}}|StartDate={{{StartDate|}}}|EndDate={{{EndDate|}}}|Body={{{Body|}}} }}{| class="wikitable"
 
! Sector
 
! Sector
 
| {{#if:{{{Sector|}}}|[[{{{Sector|}}}]]}}
 
| {{#if:{{{Sector|}}}|[[{{{Sector|}}}]]}}
Line 20: Line 20:
 
| {{#if:{{{World|}}}|[[{{{World|}}}]]}}
 
| {{#if:{{{World|}}}|[[{{{World|}}}]]}}
 
|-
 
|-
! StartDatetime
+
! StartDate
| {{{StartDatetime|}}}
+
| {{{StartDate|}}}
 
|-
 
|-
! EndDatetime
+
! EndDate
| {{{EndDatetime|}}}
+
| {{{EndDate|}}}
 
|-
 
|-
 
! Body
 
! Body

Revision as of 00:39, 9 March 2020

This is the "Historical Event" template. It should be called in the following format:

{{Historical Event
|Sector=
|World=
|StartDatetime=
|EndDatetime=
|Body=
}}

Edit the page to see the template text. This template defines the table "HistoryEvents". View table.