Difference between revisions of "Template:ARR Infobox NPC"
Line 1: | Line 1: | ||
− | + | {{{!}} 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> {{color|white|Lv.}} {{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> {{color|white|Lv.}} {{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|}}}| {{color|white|style=normal|-}} {{dl|{{{Zone {{#var:ik}} Location|}}}}}|}}{{#if:{{{Zone {{#var:ik}} Location 2|}}}| {{color|white|style=normal|-}} {{dl|{{{Zone {{#var:ik}} Location 2|}}}}}|}}{{#if:{{{Zone {{#var:ik}} Coordinates|}}}| {{color|white|style=normal|({{{Zone {{#var:ik}} Coordinates|}}})}}|}}{{#if:{{{Zone {{#var:ik}} Level|}}}| {{color|white|style=normal|(Lv. {{{Zone {{#var:ik}} Level|}}})}}<br>|<br>}}}}}}}} |
− | |{{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki | ||
{{!}}- | {{!}}- | ||
{{!}}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 | ||
− | |||
− | {{#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}}|}}}]]}}}}}}}} | ||
− |