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)
 
(3 intermediate revisions by 3 users not shown)
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>[[File:{{#replace:{{{1|Name}}}|:|-}}.png|link={{{1|Name}}}]]&nbsp;[[{{{1|Name}}}]]</includeonly><noinclude>
 
Usage:
 
Usage:
<pre>{{IconLink|Needle Throw}}
+
<pre>{{IconLink|Contract: Hodor}}
<!--Displays icon and link for Needle Throw-->
+
{{IconLink|Strength}}
 +
{{IconLink|Poisoning}}</pre>
 +
{{IconLink|Contract: Hodor}}
  
{{IconLink|Contract: Hodor|Male}}
+
{{IconLink|Strength}}
<!--Disregards gender parameter because "Contract: Hodor (Male)" does not exist-->
 
  
{{IconLink|Tiger Flash}}
+
{{IconLink|Poisoning}}
<!--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|Contract: Hodor|Male}}
 
 
 
{{IconLink|Tiger Flash}}
 
 
 
{{IconLink|Tiger Flash|Male}}
 
 
[[Category:Formatting Templates]]
 
[[Category:Formatting Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 02:11, 23 January 2017

Usage:

{{IconLink|Contract: Hodor}}
{{IconLink|Strength}}
{{IconLink|Poisoning}}

Contract- Hodor.png Contract: Hodor

Strength.png Strength

Poison (Status).png Poisoning