Template:IconLink: Difference between revisions

From Rhythm Game Wiki
Jump to navigation Jump to search
m TadeLn moved page Template:IconLinkTest to Template:IconLink without leaving a redirect
No edit summary
Line 21: Line 21:
<code>
<code>
<nowiki>
<nowiki>
{{IconLinkTest|Gadvia|Blue Crystal|Blue Crystals}}
{{IconLink|Gadvia|Blue Crystal|Blue Crystals}}
</nowiki>
</nowiki>
</code>
</code>
Line 27: Line 27:
=== Result ===
=== Result ===


{{IconLinkTest|Gadvia|Blue Crystal|Blue Crystals}}
{{IconLink|Gadvia|Blue Crystal|Blue Crystals}}


</noinclude>
</noinclude>


<includeonly>
<includeonly>
[[{{{4|File:{{{1}}}-{{{2}}} Icon.png}}}|16px]] [[{{{1}}}:{{{2}}}|{{{3|{{{2}}}}}}]]
 
<onlyinclude>[[{{{4|File:{{{1}}}-{{{2}}} Icon.png}}}|16px]] [[{{{1}}}:{{{2}}}|{{{3|{{{2}}}}}}]]</onlyinclude>
 
</includeonly>
</includeonly>


<!--
<!--
replace {{{1}}}- with {{#if:{{{1}}}|{{{1}}}-|}} once ParserFunctions is installed, to make mainspace links work
replace {{{1}}}- with {{#if:{{{1}}}|{{{1}}}-|}} once ParserFunctions is installed, to make mainspace links work
-->
-->

Revision as of 11:10, 13 August 2024


Parameters

Parameter Purpose Example Value
1 Link namespace Gadvia
2 Linked page Blue Crystal
3 (optional) Visible Text Blue Crystals
4 (optional) Image to use File:Example File

Example

Code

{{IconLink|Gadvia|Blue Crystal|Blue Crystals}}

Result

Blue Crystals