Template:IncidentCargo: Difference between revisions
Schang1146 (talk | contribs) Fix spacing/whitespace |
Schang1146 (talk | contribs) Remove duplicate (typo) |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 35: | Line 35: | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
<includeonly>{{#cargo_store:_table=Incident | <includeonly><!-- | ||
-->{{#cargo_store:_table=Incident | |||
| Company = {{{Company|}}} | | Company = {{{Company|}}} | ||
| StartDate = {{{StartDate|}}} | | StartDate = {{{StartDate|}}} | ||
| Line 45: | Line 47: | ||
| Type = {{{Type|}}} | | Type = {{{Type|}}} | ||
| Description = {{{Description|}}} | | Description = {{{Description|}}} | ||
}}</includeonly> | }}<!-- | ||
// add category for incident year ("YYYY incidents") | |||
// if StartDate not populated, will add category as in need of additional work | |||
-->{{#if:{{{StartDate|}}}|[[Category:{{#time: Y|{{{StartDate|}}}}} incidents]]|[[Category:Articles with Incident Cargo missing an entry in the StartDate field]]}}<!-- | |||
// hacky MediaWiki HTML manipulation to prevent a <br /> tag from showing up | |||
--><div></div></includeonly> | |||