Form:Generic Function: Difference between revisions

From OIAr
Jump to navigation Jump to search
(fix icon autocomplete)
(simplify icon detection)
Line 41: Line 41:
<br>
<br>
{{{for template|FunctionIcon}}}
{{{for template|FunctionIcon}}}
===Function icon===
==Function icon==
[[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.
{{#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.
{{clear}}
{{clear}}
'''Proposed Generic Function icon:'''
'''Proposed Generic Function icon:'''

Revision as of 11:05, 30 March 2013