Form:Generic Function: Difference between revisions

From OIAr
Jump to navigation Jump to search
(simplify icon detection)
(template changed)
 
(14 intermediate revisions by the same user not shown)
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=
Line 42: Line 43:
{{{for template|FunctionIcon}}}
{{{for template|FunctionIcon}}}
==Function icon==
==Function icon==
{{#vardefine:proposedicon|{{#show: {{PAGENAME}} | ?Function icon}}}}[[File:Icon GF Function.png|64px|right|Default function icon]]{{#ifexist: File:{{#var:proposedicon}}|[[File:{{#var:proposedicon}}|128px|left|Current function icon]]Currently we show and suggest picture ''{{#var:proposedicon}}''|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.
{{#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>
{{clear}}
Please provide or edit the file name of the icon:
'''Proposed Generic Function icon:'''
 
{{{field|image|values from category=Icon|default value=Icon|uploadable}}}
'''File:'''
{{{field|image|input type=text with autocomplete|cols=50|values from namespace=File|default=Icon|uploadable|image preview}}}
{{{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