Template:FunctionIcon: Difference between revisions
Jump to navigation
Jump to search
(template added) |
(format link) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Icon== | ==Icon== | ||
{{#vardefine:icon|Icon_GF_Function.png}}{{#if: {{{image|}}} | {{#vardefine:icon|Icon_GF_Function.png}}[[Function icon::{{{image}}}|]]{{#if: {{{image|}}} | ||
|{{#vardefine:icon|{{{image}}}}}The [[ | |{{#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 "[[ | |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.
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. |