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:NpcIconLink"

From DFO World Wiki
Jump to: navigation, search
m
m
 
Line 1: Line 1:
<includeonly>{{#ifexist:File:{{{1|name}}}Icon.png
+
<includeonly>[[File:{{#replace:{{{1|name}}}Icon|:|-}}.png|link={{{1|name}}}]]&nbsp;[[{{{1|name}}}]]</includeonly><noinclude>
<!-- If Icon File does exist -->
 
  |{{#if:{{{alias|}}}
 
    |[[File:{{#replace:{{{1|name}}}Icon|:|-}}.png|link={{{1|name}}}{{!}}{{{alias|}}}]]&nbsp;[[{{{1|name}}}{{!}}{{{alias|}}}]]
 
    |[[File:{{#replace:{{{1|name}}}Icon|:|-}}.png|link={{{1|name}}}]]&nbsp;[[{{{1|name}}}]]
 
  }}
 
<!-- If Icon File doesn't exist -->
 
  |{{#if:{{{alias|}}}
 
    |[[File:BlankNpcIcon.png|link={{{1|name}}}{{!}}{{{alias}}}]]&nbsp;[[{{{1|name}}}{{!}}{{{alias|}}}]]
 
    |[[File:BlankNpcIcon.png|link={{{1|name}}}]]&nbsp;[[{{{1|name}}}]]
 
  }}
 
}}</includeonly><noinclude>
 
 
Usage:
 
Usage:
 
<pre>{{NpcIconLink|Niu}}
 
<pre>{{NpcIconLink|Niu}}
Line 20: Line 9:
 
{{NpcIconLink|Niu}}
 
{{NpcIconLink|Niu}}
  
{{NpcIconLink|Pai|alias=Pink-Haired Girl}}
+
{{NpcIconLink|Pai}}
  
 
{{NpcIconLink|Navarre}}
 
{{NpcIconLink|Navarre}}
Line 26: Line 15:
 
{{NpcIconLink|Archpriest Beldron}}
 
{{NpcIconLink|Archpriest Beldron}}
  
{{NpcIconLink|Don Enzo Sipo|alias=Eye of Dawn}}
+
{{NpcIconLink|Don Enzo Sipo}}
 
[[Category:Formatting Templates]]
 
[[Category:Formatting Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 12:36, 29 March 2021

Usage:

{{NpcIconLink|Niu}}
{{NpcIconLink|Pai|alias=Pink-Haired Girl}}
{{NpcIconLink|Navarre}}
{{NpcIconLink|Archpriest Beldron}}
{{NpcIconLink|Don Enzo Sipo|alias=Eye of Dawn}}

NiuIcon.png Niu

PaiIcon.png Pai

NavarreIcon.png Navarre

File:Archpriest BeldronIcon.png Archpriest Beldron

File:Don Enzo SipoIcon.png Don Enzo Sipo