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 (Undo revision 151900 by Altair (talk))
(Tag: Undo)
m
Line 1: Line 1:
 
<includeonly>{{#ifexist:File:{{{1|name}}}Icon.png
 
<includeonly>{{#ifexist:File:{{{1|name}}}Icon.png
   |{{#if:{{{alias|}}}
+
<!-- If Icon File does exist -->
     |[[File:{{#replace:{{{1|name}}}Icon|:|-}}.png|link={{{1|name}}}{{!}}{{{alias|}}}]]
+
   |{{#if:{{{alias|}}}  
     |[[File:{{#replace:{{{1|name}}}Icon|:|-}}.png|link={{{1|name}}}]]
+
     |[[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:{{{alias|}}}
+
<!-- If Icon File doesn't exist -->
     |[[File:BlankNpcIcon.png|link={{{1|name}}}{{!}}{{{alias}}}]]
+
   |{{#if:{{{alias|}}}  
     |[[File:BlankNpcIcon.png|link={{{1|name}}}]]
+
     |[[File:BlankNpcIcon.png|link={{{1|name}}}{{!}}{{{alias}}}]]&nbsp;[[{{{1|name}}}{{!}}{{{alias|}}}]]
 +
     |[[File:BlankNpcIcon.png|link={{{1|name}}}]]&nbsp;[[{{{1|name}}}]]
 
   }}
 
   }}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>

Revision as of 07:53, 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