Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!

Difference between revisions of "Template:IconLink"

From DFO World Wiki
Jump to: navigation, search
(Added comments in usage)
(Revert to older version with less parser calls until new template)
Line 1: Line 1:
<includeonly><span style="white-space: nowrap">[[File:{{#replace:{{{1|Name}}}|:|-}}{{#if:{{{2|}}}|{{#ifexist:File:{{#replace:{{{1|Name}}}|:|-}}_({{{2|}}}).png|_({{{2|}}})}}}}.png|link={{{1|Name}}}]] [[{{{1|Name}}}]]</span></includeonly><noinclude>
+
<includeonly><span style="white-space: nowrap">[[File:{{#replace:{{{1|Name}}}|:|-}}.png|link={{{1|Name}}}]] [[{{{1|Name}}}]]</span></includeonly><noinclude>
 
Usage:
 
Usage:
 
<pre>{{IconLink|Needle Throw}}
 
<pre>{{IconLink|Needle Throw}}
<!--Displays icon and link for Needle Throw-->
+
{{IconLink|Contract: Hodor}}</pre>
 
 
{{IconLink|Contract: Hodor|Male}}
 
<!--Disregards gender parameter because "Contract: Hodor (Male)" does not exist-->
 
 
 
{{IconLink|Tiger Flash}}
 
<!--Displays default (F.Fighter version) icon and link for Tiger Flash-->
 
 
 
{{IconLink|Tiger Flash|Male}}
 
<!--Displays Male version of icon and link for Tiger Flash--></pre>
 
 
{{IconLink|Needle Throw}}
 
{{IconLink|Needle Throw}}
  
{{IconLink|Contract: Hodor|Male}}
+
{{IconLink|Contract: Hodor}}
 
 
{{IconLink|Tiger Flash}}
 
 
 
{{IconLink|Tiger Flash|Male}}
 
 
[[Category:Formatting Templates]]
 
[[Category:Formatting Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 23:50, 11 June 2016

Usage:

{{IconLink|Needle Throw}}
{{IconLink|Contract: Hodor}}

Needle Throw.png Needle Throw

Contract- Hodor.png Contract: Hodor