|
|
Line 1: |
Line 1: |
| <noinclude> | | <noinclude> |
− | This is the "ComponentRN" form. | + | This is the "Component" template. |
− | To create a page with this form, enter the page name below;
| + | It should be called in the following format: |
− | if a page with that name already exists, you will be sent to a form to edit that page.
| |
| | | |
− | | + | <pre> |
− | {{#forminput:form=ComponentRN}}
| + | {{Component |
− | | + | |Id= |
− | </noinclude><includeonly>
| + | |Name= |
− | <div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
| + | |DeploymentType= |
− | | + | }} |
− | {{{info|page name=Draft:RN/<ComponentRN[Component]>-<ComponentRN[ReleaseNumber]>|create title=Create a new RN |edit title=Editing {{#explode:{{FULLPAGENAME}}|/|2}} }}} | + | </pre> |
− | | + | Edit the page to see the template text. |
− | {{{for template|ComponentRN}}}
| + | {{#cargo_declare:_table=Component|Id=String|Name=String|DeploymentType=String}} |
− | | + | </noinclude><includeonly>{{#cargo_store:_table=Component|Id={{{Id|}}}|Name={{{Name|}}}|DeploymentType={{{DeploymentType|}}} }} |
− | <div class="col-md-2 form-label">Component:</div>
| + | </includeonly><noinclude>[[Category:RNAutomation]]</noinclude> |
− | <div class="col-md-10">{{{field|Component|input type=combobox|existing values only|placeholder=Select component|cargo table=Component|cargo field=Name|order by=Component.Name}}}</div>
| |
− | <div class="col-md-2 form-label">Container #:{{FormTip|Enter the Container-based release number exactly as defined here.}}</div>
| |
− | <div class="col-md-10">{{{field|ReleaseNumber|input type=regexp|regexp=/^\d{3}\.\d(?:\.\d{3}(?:\.\d{2}(?:\.RE)?)?)?$/|message=Use format: n.n.nnn.nn|placeholder=Enter release number in 100.0.000.01 format}}}</div>
| |
− | <div style="clear:both"></div>
| |
− | | |
− | <div class="col-md-2 form-label">IP #:{{FormTip|Enter the IP-based release number exactly as defined here.}}</div>
| |
− | <div style="clear:both"></div>
| |
− | <div class="col-md-2 form-label">Release Type:</div>
| |
− | <div class="col-md-10">{{{field|ReleaseType|input type=dropdown|values=General, Hotfix|placeholder=Click to select release type|cargo table=ComponentRN|cargo field=Release_Type}}}</div>
| |
− | <div style="clear:both"></div>
| |
− |
| |
− | <div class="col-md-2 form-label">Release Date:</div>
| |
− | <div class="col-md-10">{{{field|ReleaseDate|input type=datepicker|default=now}}}</div>
| |
− | | |
− | <div class="col-md-2 form-label">Highlight:</div>{{FormTip|Craft a single sentence that sums up the main selling point for this release. For example, <need 2 or 3 solid examples>}}
| |
− | <div class="col-md-10">{{{field|Highlight|input type=textarea|editor=visual editor}}}</div>
| |
− | <div style="clear:both"></div>
| |
− | {{{field|JQL|hidden}}} | |
− | ===Proposed Jira issues===
| |
− | | |
− | {{{end template}}}
| |
− | | |
− | | |
− | {{{for template|JiraIssue|multiple|display=spreadsheet|height=800}}}
| |
− | Issue{{{field|Issue}}}
| |
− | Type{{{field|Type}}}
| |
− | Content{{{field|Content}}}
| |
− | {{{field|LocalContent|hidden}}} | |
− | {{{end template}}}
| |
− | | |
− | {{#css: div#acrolinx-block {display:none} }}
| |
− | {{{standard input|summary}}}
| |
− | | |
− | {{{standard input|minor edit}}} {{{standard input|watch}}}
| |
− | | |
− | {{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
| |
− | {{HideExpandAll}}</includeonly><noinclude>[[Category:RNAutomation]]</noinclude>
| |