Template:IconLink: Difference between revisions
Jump to navigation
Jump to search
Tag: Undo |
No edit summary |
||
Line 12: | Line 12: | ||
| 3 (optional) || Visible Text || Blue Crystals | | 3 (optional) || Visible Text || Blue Crystals | ||
|- | |- | ||
| 4 (optional) || Image to use || File:Example File | | 4 (optional) or <code>image</code> || Image to use || File:Example File | ||
|} | |} | ||
Line 34: | Line 34: | ||
<includeonly> | <includeonly> | ||
<onlyinclude>[[{{{4|File:{{#if:{{{1}}}|{{{1}}}-|}}{{{2}}} Icon.png}}}|16px]] [[{{{1}}}:{{{2}}}|{{{3|{{{2}}}}}}]]</onlyinclude> | <onlyinclude>[[{{{image|{{{4|File:{{#if:{{{1}}}|{{{1}}}-|}}{{{2}}} Icon.png}}}}}}|16px]] [[{{{1}}}:{{{2}}}|{{{3|{{{2}}}}}}]]</onlyinclude> | ||
</includeonly> | </includeonly> |
Revision as of 06:54, 15 August 2024
Parameters
Parameter | Purpose | Example Value |
---|---|---|
1 | Link namespace | Gadvia |
2 | Linked page | Blue Crystal |
3 (optional) | Visible Text | Blue Crystals |
4 (optional) or image |
Image to use | File:Example File |
Example
Code
{{IconLink|Gadvia|Blue Crystal|Blue Crystals}}
Result