Chinazi Wiki Difference between revisions of "Template:RuhuaIncident"

Difference between revisions of "Template:RuhuaIncident"

Template page
(Created page with "<noinclude> {{#template_params:Name|InResponseTo (label=In Response to)|OccuredDate (label=Date of Occurrence)|SpansMultipleDays (label=Spans Multiple Days)|Locations|Coordina...")
 
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Name|InResponseTo (label=In Response to)|OccuredDate (label=Date of Occurrence)|SpansMultipleDays (label=Spans Multiple Days)|Locations|Coordinates|IsOffline (label=Is Offline Event)|IsDenouncedByMFA (label=MFA denounced)|Instigators}}
{{#template_params:Name|AggressorCountries (label=Aggressor Countries)|Trigger}}
{{#cargo_declare:_table=RuhuaIncidents|Name=String|InResponseTo=Page|OccuredDate=Date|SpansMultipleDays=Boolean|Locations=List (,) of String|Coordinates=Coordinates|IsOffline=Boolean|IsDenouncedByMFA=Boolean|Instigators=List (,) of String}}
{{#cargo_declare:_table=RuhuaIncidents|Name=Text|AggressorCountries=List (,) of Text|Trigger=Page}}
</noinclude><includeonly>{{#cargo_store:_table=RuhuaIncidents}}
</noinclude><includeonly>{{#cargo_store:_table=RuhuaIncidents}}
{{#template_display:_format=standard}}</includeonly>
{{#template_display:_format=standard}}</includeonly>

Revision as of 21:58, 27 August 2021

This is the "RuhuaIncident" template.

It should be called in the following format:

{{RuhuaIncident
|Name=
|AggressorCountries=
|Trigger=
}}

Edit the page to see the template text.

Error: "Trigger" cannot be used as a Cargo field name, because it is an SQL keyword.