Template:GetPagesIcon: Difference between revisions
Jump to navigation
Jump to search
(template added) |
(added pipe) |
||
Line 1: | Line 1: | ||
{{#vardefine:icon|{{#show:{{{1|GF.Controlling}}}|?Function icon}}}}{{#vardefine:description|{{#show:{{{1|GF.Controlling}}}|?Friendly name}}}}[[File:{{#var:icon}}|48x48px|border|{{#var:description}}|link={{{1|GF.Controlling}}}]]{{clear}}{{FriendlyPageLink{{{1|GF.Controlling}} }}} | {{#vardefine:icon|{{#show:{{{1|GF.Controlling}}}|?Function icon}}}}{{#vardefine:description|{{#show:{{{1|GF.Controlling}}}|?Friendly name}}}}[[File:{{#var:icon}}|48x48px|border|{{#var:description}}|link={{{1|GF.Controlling}}}]]{{clear}}{{FriendlyPageLink|{{{1|GF.Controlling}}} }} | ||
<noinclude> | <noinclude> |
Revision as of 17:48, 3 April 2013
This template accepts a link to a page specified as {{{1}}}, and then shows the icon associated with this page, together with a clickable link to this page below it. If no page is specified, it will show the icon and link for Controlling.
The above documentation is transcluded from Template:GetPagesIcon/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. |