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|StartDate=Date|EndDate=Date|Body=Wikitext}}
+
{{#cargo_declare:_table=HistoryEvents|Sector=Page|World=Page|StartYear=Integer|EndYear=Integer|Body=Wikitext}}
</noinclude><includeonly>{{#cargo_store:_table=HistoryEvents|Sector={{{Sector|}}}|World={{{World|}}}|StartDate={{{StartDate|}}}|EndDate={{{EndDate|}}}|Body={{{Body|}}} }}{| class="wikitable"
+
</noinclude><includeonly>{{#cargo_store:_table=HistoryEvents|Sector={{{Sector|}}}|World={{{World|}}}|StartYear={{{StartYear|}}}|EndYear={{{EndYear|}}}|Body={{{Body|}}} }}{| class="wikitable"
 
! Sector
 
! Sector
 
| {{#if:{{{Sector|}}}|[[{{{Sector|}}}]]}}
 
| {{#if:{{{Sector|}}}|[[{{{Sector|}}}]]}}
Line 20: Line 20:
 
| {{#if:{{{World|}}}|[[{{{World|}}}]]}}
 
| {{#if:{{{World|}}}|[[{{{World|}}}]]}}
 
|-
 
|-
! StartDate
+
! StartYear
| {{{StartDate|}}}
+
| {{{StartYear|}}}
 
|-
 
|-
! EndDate
+
! EndYear
| {{{EndDate|}}}
+
| {{{EndYear|}}}
 
|-
 
|-
 
! Body
 
! Body

Latest revision as of 00:41, 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.