Template:FunctionIcon: Difference between revisions

From OIAr
Jump to navigation Jump to search
(extra link to file)
(format link)
 
Line 1: Line 1:
==Icon==
==Icon==
{{#vardefine:icon|Icon_GF_Function.png}}[[Function icon::{{{image}}}|]]{{#if: {{{image|}}}
{{#vardefine:icon|Icon_GF_Function.png}}[[Function icon::{{{image}}}|]]{{#if: {{{image|}}}
|{{#vardefine:icon|{{{image}}}}}The icon [[:File:{{#var:icon}}|{{#var:icon}}]] as shown below can be used to represent this infrastructure function in graphical [[Generic Pattern overview|Pattern representations]] that it might be part of:
|{{#vardefine:icon|{{{image}}}}}The image "[[:File:{{#var:icon}}|{{#var:icon}}]]" (shown below) can be used to represent this infrastructure function in graphical [[Generic Pattern overview|Pattern representations]] that it might be part of:
|Currently there is no specific icon assigned to this infrastructure function. You can use the default "[[:File:{{#var:icon}}|generic function icon]]" instead, depicted below. <br><small>'''Note''': to represent this infrastructure function in graphical [[Generic Pattern overview|Pattern representations]] that it might be part of, it is advisable to create a specific icon, upload it to the [[:Special:ListFiles | wiki file store]] and create a link using the 'Edit with form' function.</small>}}
|Currently there is no specific icon assigned to this infrastructure function. You can use the default "[[:File:{{#var:icon}}|generic function icon]]" instead, depicted below. <br><small>'''Note''': to represent this infrastructure function in graphical [[Generic Pattern overview|Pattern representations]] that it might be part of, it is advisable to create a specific icon, upload it to the [[:Special:ListFiles | repository's file store]] and create a link using the 'Edit with form' function.</small>}}
[[File:{{#var:icon}}|64px|left|Icon for this function]]<noinclude>
[[File:{{#var:icon}}|64px|left|Icon for this function]]<noinclude>
{{Documentation}}
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 10:39, 30 March 2013

Icon

Currently there is no specific icon assigned to this infrastructure function. You can use the default "generic function icon" instead, depicted below.
Note: to represent this infrastructure function in graphical Pattern representations that it might be part of, it is advisable to create a specific icon, upload it to the repository's file store and create a link using the 'Edit with form' function.

Icon for this function
Icon for this function
Template documentation

This is the "FunctionIcon" template, meant to show a small icon (128px) for a function. The icon shown is the file specified in "image=" (without preceding "File:"). If no image is specified, a generic function icon is shown, as can be seen above.

The template should be called in the following format:

{{functionIcon
|image=
}}