Form:Generic Function: Difference between revisions

From OIAr
Jump to navigation Jump to search
(first stab at form)
 
(template changed)
 
(19 intermediate revisions by the same user not shown)
Line 8: Line 8:
To add a new Generic Function page with this form (or edit an existing one), enter the name of the Generic Function below, with abbreviation '''GF.''' prepended (for example [[GF.Archiving]]). The form will attempt to autocomplete what you type based on existing pages.}}
To add a new Generic Function page with this form (or edit an existing one), enter the name of the Generic Function below, with abbreviation '''GF.''' prepended (for example [[GF.Archiving]]). The form will attempt to autocomplete what you type based on existing pages.}}
<br><br>
<br><br>
{{#forminput:form=Generic Function|size=60|default=GF.|autocomplete on category=Generic Function}}
{{#forminput:form=Generic Function|size=40|default value=GF.|autocomplete on category=Generic Function|button text=Create or edit a Generic Function}}
</noinclude><includeonly>__NOTOC__
</noinclude><includeonly>__NOTOC__
=Page header information=
=Page header information=
Line 18: Line 18:
==Page header box==
==Page header box==
This section of the form handles entering the information that is shown in the header of the Generic Function page.
This section of the form handles entering the information that is shown in the header of the Generic Function page.
{| {{prettytable}}
{| {{prettybox}}
|
|
{| class="formtable"
{| class="formtable"
Line 31: Line 31:
|-
|-
! Owner - use the user's display name (or wiki username):
! Owner - use the user's display name (or wiki username):
| {{{field|owner|mandatory|default=current user|autocomplete on property=Displayname}}}
| {{{field|owner|mandatory|property=Displayname|default=current user|autocomplete on property=Displayname}}}
|}
|}
|}
|}
{{Formpart Summary}}
{{{end template}}}
{{{end template}}}
=Description=
=Description=
==Functionality==
==Functionality==
Please describe the functionality of the Generic Function here:<br>
Please describe the functionality of the Generic Function here:<br>
{{{standard input|free text|rows=20}}}
{{{standard input|free text|rows=10|autogrow}}}
<br>
{{{for template|FunctionIcon}}}
==Function icon==
{{#vardefine:proposedicon|{{#show: {{PAGENAME}} | ?Function icon}} }}[[File:Icon GF Function.png|64px|right|Default function icon]]Currently we {{#ifexist: File:{{#var:proposedicon}}|show and suggest picture ''{{#var:proposedicon}}''|have no specific function icon}} for this facility. If you've uploaded (or know of) another (new or better) icon for this Generic Function, you can specify it here. The icon should match the style of the other Generic Function icons, and preferably be 128x128 pixels or better. If you leave this field empty, then the default image (as shown on the right) will be shown and suggested for this facility.<br>
Please provide or edit the file name of the icon:


{{{for template|FunctionIcon}}}
'''File:'''
===Function icon===
{{{field|image|input type=text with autocomplete|cols=50|values from namespace=File|default=Icon|uploadable|image preview}}}
[[File:Icon GF Function.png|128px|right|Default function icon]]{{#ifexist: File:{{#show: {{PAGENAME}} | ?Function icon}}|[[File:{{#show: {{PAGENAME}} | ?Function icon}}|128px|left|Current function icon]]Currently we show and suggest picture ''{{#show: {{PAGENAME}} | ?Function icon}}''|Currently we have no specific function icon}} for this facility. If you've uploaded (or know of) another (new) icon for this building block type (preferably 128x128 pixels or better), you can specify it here. If you leave this field empty, then the default image (as shown on the right) will be shown and suggested for this facility.
{{clear}}
{| {{prettytable}}
|
{| class="formtable"
! Generic Function icon:
| {{{field|image|uploadable|autocomplete on namespace=File}}}
|}
|}
{{{end template}}}
{{{end template}}}
{{clear}}
{{clear}}
<headertabs/>
{{{for template|Text Footer GF}}}
{{{for template|Text Footer GF}}}
{{{end template}}}
{{{end template}}}
<headertabs />
{{{standard input|summary}}}
{{{standard input|summary}}}



Latest revision as of 18:14, 6 April 2013