Form:Incident: Difference between revisions

Testing Page Forms
 
more copyediting
 
(12 intermediate revisions by 3 users not shown)
Line 8: Line 8:
</noinclude><includeonly>
</noinclude><includeonly>
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
{{{for template|Incident|label=Testing Incident}}}
{{{for template|IncidentCargo}}}
{| class="formtable"
{| class="formtable"
! Company:  
 
| {{{field|Comapny}}}
|colspan="2"| Please fill out as many details as possible about the incident page you're creating.
|-
|colspan="2"| All fields are '''optional'''.
|-
!&nbsp;
|-
 
!rowspan="2"| Related Companies:
| {{{field|Company
    |input type=tokens
    |cargo table=Company
    |cargo field=_pageName
  }}}
|-
|style="color:gray;font-size:90%"| Select a company or companies that are related to this incident.
|-
!&nbsp;
|-
 
!rowspan="2"| Start Date:  
| {{{field|StartDate
    |input type=regexp
    |regexp=/^\d{4}(-(0[1-9]!1[0-2])(-(0[1-9]![12][0-9]!3[01]))?)?$/
    |or char=!
  }}}
|-
|style="color:gray;font-size:90%"| Start date must be in format YYYY-MM-DD with month and day being optional.
|-
!&nbsp;
|-
 
|-
!rowspan="2"| End Date:
| {{{field|EndDate
    |input type=regexp
    |regexp=/^\d{4}(-(0[1-9]!1[0-2])(-(0[1-9]![12][0-9]!3[01]))?)?$/
    |or char=!
  }}}
|-
|-
! Start Date:  
|style="color:gray;font-size:90%"| End date must be in format YYYY-MM-DD with month and day being optional.
| {{{field|StartDate}}}
|-
|-
! End Date:
!&nbsp;
| {{{field|EndDate}}}
|-
|-
! Status:  
 
| {{{field|Status}}}
!rowspan="2"| Status:  
| {{{field|Status
  }}}
|-
|-
! Product Line:  
|style="color:gray;font-size:90%"| Status of the incident.
| {{{field|ProductLine}}}
|-
|-
! Product:
!&nbsp;
| {{{field|Product}}}
|-
|-
! Article Type:  
 
| {{{field|ArticleType}}}
!rowspan="2"| Product Line:  
| {{{field|ProductLine
    |input type=tokens
    |cargo table=ProductLine
    |cargo field=_pageName
  }}}
|-
|-
! Type:  
|style="color:gray;font-size:90%"| Related product/service lines.
| {{{field|Type}}}
|-
|-
! Short Description:
!&nbsp;
| {{{field|Description}}}
|-
 
!rowspan="2"| Product:
| {{{field|Product
    |input type=tokens
    |cargo table=Product
    |cargo field=_pageName
  }}}
|-
|style="color:gray;font-size:90%"| Related products/services.
|-
!&nbsp;
|-
 
!rowspan="2"| Article Type:
| {{{field|ArticleType
  }}}
|-
|style="color:gray;font-size:90%"| Specify whether the incident relates to a product or service.
|-
!&nbsp;
|-
 
!rowspan="2"| Type:
| {{{field|Type
    |input type=tokens
  }}}
|-
|style="color:gray;font-size:90%"| What type of incident is this? (e.g. Repairability, Privacy, etc.)
|-
!&nbsp;
|-
 
!Description
| {{{field|Description
    |input type=textarea
    |rows=3
    |cols=75
    |maxlength=150
    |placeholder=Description of the incident in 150 characters or less
  }}}
|}
|}
{{{end template}}}
{{{end template}}}


'''Free text:'''
{{Box|'''IMPORTANT''': Make sure to click on the '''Save page''' button to submit the form.}}
 
{{{standard input|free text|rows=10}}}
</includeonly>
</includeonly>