Template:FunctionIcon: Difference between revisions
Jump to navigation
Jump to search
(moved property declaration) |
(extra link to file) |
||
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 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 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: | ||
|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 | wiki 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> |
Revision as of 10:37, 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 wiki file store and create a link using the 'Edit with form' function.
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= }}
The above documentation is transcluded from Template:FunctionIcon/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |