Form:Inventory: Difference between revisions

From SUWS-wiki
No edit summary
(Added size and button text and default valt to #forminput)
 
(17 intermediate revisions by 2 users not shown)
Line 5: Line 5:




{{#forminput:form=Inventory|50|Inventory:|Add/Edit Inventory Item|}}
{{#forminput:form=Inventory|size=50|default value=Inventory:|button text=Add/Edit Inventory Item|}}


</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|InventoryInfo}}}
{{{for template|InventoryInfo}}}
'''*** IF THIS FORM IS NOT EDITABLE PLEASE ASK A WIKI ADMIN TO ADD YOU TO THE SYSOP USER GROUP ***'''
{| class="formtable"
{| class="formtable"
! Title:
! Title:
| {{{field|title|size=50|default={{PAGENAME}}|input type=text}}}
| {{{field|title|size=50|default={{PAGENAME}}|input type=text}}}
|-
! Item Type:
| {{{field|item_type|size=20|default=Miscellaneous|input type=dropdown|values from namespace=ItemType}}}
|-
! Item State:
| {{{field|item_state|size=20|default=Unknown|input type=dropdown|values from namespace=ItemState}}}
|-
|-
! Acquired Date:
! Acquired Date:
Line 18: Line 27:
|-
|-
! Location:
! Location:
| {{{field|location|size=30|default=32/3073|input type=dropdown|values from category=Room}}}
| {{{field|location|size=30|default=32/3073|input type=dropdown|values from category=StorageLocation}}}
|-
! EDB Page<br/>(e.g. IC-7000):
| {{{field|edb_page|size=30|input type=text|size=50}}}
|-
! Description:
| {{{field|description|size=30|default=|input type=textarea|rows=5|cols=80}}}
|-
! Accessories<br/>(bullet-pointed list):
| {{{field|accessories|size=30|default=|input type=textarea|rows=3|cols=80}}}
|}
|}
=== Loan Details ===
{| class="formtable"
! Loanee:
| {{{field|loanee|size=30|default=|input type=text}}}
|-
! Loan location:
| {{{field|loan_location|size=30|default=|input type=text}}}
|-
! Loan start date:
| {{{field|loan_start_date|size=10|default=now|input type=date|disable input field}}}
|-
! Loan end date:
| {{{field|loan_end_date|size=10|default=now|input type=date|disable input field}}}
|-
! Other details:
| {{{field|loan_details|default=|input type=textarea|rows=5|cols=80}}}
|}
== Additional Information ==
{{{end template}}}
{{{end template}}}



Latest revision as of 11:46, 7 May 2018

This is the "Inventory" form. To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.