Actions

Template

Difference between revisions of "Historical Event"

From Gulf of Fallen Stars

 
Line 6: Line 6:
 
|Sector=
 
|Sector=
 
|World=
 
|World=
|Datetime=
+
|StartDatetime=
 +
|EndDatetime=
 
|Body=
 
|Body=
 
}}
 
}}
 
</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|Datetime=Datetime|Body=Wikitext}}
+
{{#cargo_declare:_table=HistoryEvents|Sector=Page|World=Page|StartDatetime=Datetime|EndDatetime=Datetime|Body=Wikitext}}
</noinclude><includeonly>{{#cargo_store:_table=HistoryEvents|Sector={{{Sector|}}}|World={{{World|}}}|Datetime={{{Datetime|}}}|Body={{{Body|}}} }}{| class="wikitable"
+
</noinclude><includeonly>{{#cargo_store:_table=HistoryEvents|Sector={{{Sector|}}}|World={{{World|}}}|StartDatetime={{{StartDatetime|}}}|EndDatetime={{{EndDatetime|}}}|Body={{{Body|}}} }}{| class="wikitable"
 
! Sector
 
! Sector
 
| {{#if:{{{Sector|}}}|[[{{{Sector|}}}]]}}
 
| {{#if:{{{Sector|}}}|[[{{{Sector|}}}]]}}
Line 19: Line 20:
 
| {{#if:{{{World|}}}|[[{{{World|}}}]]}}
 
| {{#if:{{{World|}}}|[[{{{World|}}}]]}}
 
|-
 
|-
! Datetime
+
! StartDatetime
| {{{Datetime|}}}
+
| {{{StartDatetime|}}}
 +
|-
 +
! EndDatetime
 +
| {{{EndDatetime|}}}
 
|-
 
|-
 
! Body
 
! Body

Revision as of 00:31, 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.