Template:IconLink: Difference between revisions

Created page with "[[{{{4|File:{{{1}}}-{{{2}}} Icon.png}}}|16px]] [[{{{1}}}:{{{2}}}|{{{3|{{{2}}}}}}]]"
 
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[{{{4|File:{{{1}}}-{{{2}}} Icon.png}}}|16px]] [[{{{1}}}:{{{2}}}|{{{3|{{{2}}}}}}]]
<noinclude>
 
= Parameters =
{| class="wikitable"
|-
! Parameter !! Purpose !! Example Value
|-
| 1 || Link namespace || Gadvia
|-
| 2 || Linked page || Blue Crystal
|-
| 3 (optional) || Visible Text || Blue Crystals
|-
| 4 (optional) or <code>image</code> || Image to use || File:Gadvia-Gold Coin Icon.png
|}
 
= Example =
 
=== Code ===
 
<pre><nowiki>
I have one {{IconLink|Gadvia|Gold Coin}}.
 
How about some {{IconLink|Gadvia|Blue Crystal|Blue Crystals}}?
 
This link actualy points to the {{IconLink|Gadvia|Main Page|image=File:Gadvia-Gold Coin Icon.png}}.
</nowiki></pre>
 
=== Result ===
 
I have one {{IconLink|Gadvia|Gold Coin}}.
 
How about some {{IconLink|Gadvia|Blue Crystal|Blue Crystals}}?
 
This link actualy points to the {{IconLink|Gadvia|Main Page|image=File:Gadvia-Gold Coin Icon.png}}.
 
</noinclude>
 
 
<includeonly>
 
 
 
<onlyinclude>{{Icon|{{{1|}}}|{{{2|}}}|image={{{image|{{{4|}}} }}}|link={{{1}}}:{{{2}}}}}&nbsp;[[{{{1}}}:{{{2}}}|{{{3|{{{2}}}}}}]]</onlyinclude>
 
</includeonly>