Difference between revisions of "Template:ARR Infobox NPC"

Line 1: Line 1:
<noinclude><pre>{{ARR Infobox NPC
+
{{{!}} class="itembox" cellpadding="0" width="100%" cellspacing="0" border="0"  
| Image =
 
 
 
| Move Image Left =    <!-- Value between 0 and 5-->
 
| Move Image Up  =    <!-- Value between 0 and 5-->
 
 
 
| Name =
 
 
 
| Level =
 
 
 
| Gender      =
 
| Race        =
 
| Clan        =
 
 
 
| Affiliation =
 
| Occupation  =
 
 
 
| Zone 1 =
 
| Zone 1 Coordinates =
 
| Zone 1 Location =
 
| Zone 1 Location 2 =
 
| Zone 1 Level =
 
| Zone 1 Cutscene =
 
| Zone 1 FATE =
 
 
 
| Zone 2 =
 
| Zone 2 Coordinates =
 
| Zone 2 Location =
 
| Zone 2 Location 2 =
 
| Zone 2 Level =
 
| Zone 2 Cutscene =
 
| Zone 2 FATE =
 
<!-- Add more if needed -->
 
 
 
| Dialogue =
 
 
 
| Additional Dialogue =
 
 
 
| Sells = 
 
 
 
| Biography =
 
 
 
| Images =
 
 
 
| Etymology =
 
 
 
| Notes =
 
 
 
}}</pre></noinclude><includeonly>{{{!}} class="itembox" cellpadding="0" width="100%" cellspacing="0" border="0"  
 
 
{{!}}-
 
{{!}}-
 
{{!}}colspan="1" rowspan="1" {{!}}{{#if:{{{Level|}}}|<div style="text-align:center; font-size:{{#ifexpr: {{#len:{{{Level}}}}} > 3|9px|12px}}; width:40px; height:40px; padding: 1px; float:center; background-color:#000000; border:1px solid #000000; -moz-border-radius: 100px; -webkit-border-radius: 100px; -khtml-border-radius: 100px; border-radius: 100px;" ><div style="height: {{#ifexpr: {{#len:{{{Level}}}}} > 3|2ex|1.5ex}};"></div>&thinsp;{{color|white|Lv.}}&thinsp;{{color|white|{{{Level|}}}}}</div>}}
 
{{!}}colspan="1" rowspan="1" {{!}}{{#if:{{{Level|}}}|<div style="text-align:center; font-size:{{#ifexpr: {{#len:{{{Level}}}}} > 3|9px|12px}}; width:40px; height:40px; padding: 1px; float:center; background-color:#000000; border:1px solid #000000; -moz-border-radius: 100px; -webkit-border-radius: 100px; -khtml-border-radius: 100px; border-radius: 100px;" ><div style="height: {{#ifexpr: {{#len:{{{Level}}}}} > 3|2ex|1.5ex}};"></div>&thinsp;{{color|white|Lv.}}&thinsp;{{color|white|{{{Level|}}}}}</div>}}
Line 62: Line 14:
 
{{!}}-
 
{{!}}-
 
{{!}}valign="top" colspan="2" style="height: 1ex; padding:0em 0.3em 0em 0.3em;font-weight:bold; width: 20%;" {{!}}{{color|white|style=normal|Zone(s):}}  
 
{{!}}valign="top" colspan="2" style="height: 1ex; padding:0em 0.3em 0em 0.3em;font-weight:bold; width: 20%;" {{!}}{{color|white|style=normal|Zone(s):}}  
{{!}}valign="top" colspan="6" style="padding:0em 0.3em 0em 0.3em;font-weight:bold; width: 40%;"{{!}}{{#forargs:Zone| ik | iv
+
{{!}}valign="top" colspan="6" style="padding:0em 0.3em 0em 0.3em;font-weight:bold; width: 40%;"{{!}}{{#forargs:Zone| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>{{#if:{{{Zone {{#var:ik}} Cutscene|}}}|[[File:Cutscene Icon.png|18px|link=Cutscene NPC]]|}}{{dl|{{{Zone {{#var:ik}}|}}}}}{{#if:{{{Zone {{#var:ik}} Location|}}}|&nbsp;{{color|white|style=normal|-}}&nbsp;{{dl|{{{Zone {{#var:ik}} Location|}}}}}|}}{{#if:{{{Zone {{#var:ik}} Location 2|}}}|&nbsp;{{color|white|style=normal|-}}&nbsp;{{dl|{{{Zone {{#var:ik}} Location 2|}}}}}|}}{{#if:{{{Zone {{#var:ik}} Coordinates|}}}|&nbsp;{{color|white|style=normal|({{{Zone {{#var:ik}} Coordinates|}}})}}|}}{{#if:{{{Zone {{#var:ik}} Level|}}}|&nbsp;{{color|white|style=normal|(Lv. {{{Zone {{#var:ik}} Level|}}})}}<br>|<br>}}}}}}}}
|{{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki></nowiki>{{#if:{{{Zone {{#var:ik}} Cutscene|}}}|[[File:Cutscene Icon.png|18px|link=Cutscene NPC]]|}}{{dl|{{{Zone {{#var:ik}}}}}}}{{#if:{{{Zone {{#var:ik}} Location|}}}| - {{dl|{{{Zone {{#var:ik}} Location|}}}}}}}{{#if:{{{Zone {{#var:ik}} Location 2|}}}| - {{dl|{{{Zone {{#var:ik}} Location 2|}}}}}}}{{#if:{{{Zone {{#var:ik}}|}}}|}}{{#if:{{{Zone {{#var:ik}} Coordinates|}}}|({{{Zone {{#var:ik}} Coordinates|}}})}}}}{{#if:{{{Zone {{#var:ik}} Level|}}}|(Lv. {{{Zone {{#var:ik}} Level|}}})}}<br>}}}}
 
 
{{!}}-
 
{{!}}-
 
{{!}}colspan="2" style="height: 1ex; padding:0em 0.3em 0em 0.3em;font-weight:bold; width: 20%;" {{!}}{{#if:{{{Affiliation|}}}|{{color|white|style=normal|Affiliation:}}}}
 
{{!}}colspan="2" style="height: 1ex; padding:0em 0.3em 0em 0.3em;font-weight:bold; width: 20%;" {{!}}{{#if:{{{Affiliation|}}}|{{color|white|style=normal|Affiliation:}}}}
Line 196: Line 147:
 
|}
 
|}
 
{{!}}}
 
{{!}}}
[[Category:NPCs]]
+
[[Category:NPCs]]{{#forargs:Zone| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>{{#if:{{{Zone {{#var:ik}} Location|}}}|[[Category:Landmark:{{{Zone {{#var:ik}} Location|}}}]]|}} {{#if:{{{Zone {{#var:ik}} Location 2|}}}|[[Category:Landmark:{{{Zone {{#var:ik}} Location 2|}}}]]|}} {{#if:{{{Zone {{#var:ik}}|}}}|[[Category:Zone:{{{Zone {{#var:ik}}|}}}]] }}}}}}}}
{{#forargs:Zone| ik | iv |
 
{{#if:{{#var:iv|}}| {{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki></nowiki>
 
{{#if:{{{Zone {{#var:ik}} Cutscene|}}}|[[Category:NPC:Cutscene]]}}
 
{{#if:{{{Zone {{#var:ik}} Location|}}}|[[Category:Landmark:{{{Zone {{#var:ik}} Location|}}}]]}}
 
{{#if:{{{Zone {{#var:ik}} Location 2|}}}|[[Category:Landmark:{{{Zone {{#var:ik}} Location 2|}}}]]}}
 
{{#if:{{{Zone {{#var:ik}}|}}}|[[Category:Zone:{{{Zone {{#var:ik}}|}}}]]}}}}}}}}
 
</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>__NOEDITSECTION__ __NOTOC__
 

Revision as of 15:36, 2 July 2013

{{{Name}}}
  
[[File:{{{Image}}}]]
Zone(s):
{{{Dialogue}}}



Notes
Divider3.png