Template:IncidentCargo: Difference between revisions

Schang1146 (talk | contribs)
No edit summary
Tag: Manual revert
Schang1146 (talk | contribs)
Make optional fields blank if no value provided
 
(One intermediate revision by the same user not shown)
Line 14: Line 14:
: '''Description:''' (Optional) Description of the incident in 150 characters or less
: '''Description:''' (Optional) Description of the incident in 150 characters or less


{{#template_params:Company (label=Company)
                  |StartDate (label=Start Date)
                  |EndDate (label=End Date)
                  |Status (label=Status)
                  |ProductLine (label=Product Line)
                  |Product (label=Product)
                  |ArticleType (label=Article Type)
                  |Type (label=Type)
                  |Description (Label=Description)
}}
{{#cargo_declare:_table=Incident
{{#cargo_declare:_table=Incident
| Company        = List (,) of Page
| Company        = List (,) of Page
Line 28: Line 38:
<includeonly>
<includeonly>
{{#cargo_store:_table=Incident
{{#cargo_store:_table=Incident
| Company        = {{{Company}}}
| Company        = {{{Company|}}}
| StartDate      = {{{StartDate}}}
| StartDate      = {{{StartDate|}}}
| EndDate        = {{{EndDate}}}
| EndDate        = {{{EndDate|}}}
| Status        = {{{Status}}}
| Status        = {{{Status|}}}
| ProductLine    = {{{ProductLine}}}
| ProductLine    = {{{ProductLine|}}}
| Product        = {{{Product}}}
| Product        = {{{Product|}}}
| ArticleType    = {{{ArticleType}}}
| ArticleType    = {{{ArticleType|}}}
| Type          = {{{Type}}}
| Type          = {{{Type|}}}
| Description    = {{{Description}}}
| Description    = {{{Description|}}}
}}
}}
</includeonly>
</includeonly>