Difference between revisions of "Template:ARR Infobox NPC"

Line 60: Line 60:
 
{{!}}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}}|}}}}} [[Category:{{{Zone {{#var:ik}} Location|}}} NPCs]][[Category:{{{Zone {{#var:ik}} Location 2|}}} NPCs]][[Category:{{{Zone {{#var:ik}}|}}} NPCs]]{{#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>}}}}}}}}
 
{{!}}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}}|}}}}} [[Category:{{{Zone {{#var:ik}} Location|}}} NPCs]][[Category:{{{Zone {{#var:ik}} Location 2|}}} NPCs]][[Category:{{{Zone {{#var:ik}}|}}} NPCs]]{{#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>}}}}}}}}
 
{{!}}-
 
{{!}}-
{{!}}colspan="2" style="height: 1ex; padding:0em 0.3em 0em 0.3em;font-weight:bold; width: 20%;" {{!}}{{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:}}}}
 
{{!}}colspan="8" style="padding:0em 0.3em 0em 0.3em;font-weight:bold;"{{!}}{{#switch:{{{Affiliation|}}}|Limsa-Lominsa|l|L|Limsa-lominsa|limsa-lominsa|limsa lominsa|Limsa lominsa|Limsa-Lominsa|Limsa Lominsa = {{dl|Limsa Lominsa}}|ishgard|i|I|Ishgard= {{dl|Ishgard}}|gridania|g|G|Gridania = {{dl|Gridania}}|ul'dah|Uldah|u|U|uldah| Ul'dah = {{dl|Ul'dah}}|Ala Mhigo|ala mhigo = {{dl|Ala Mhigo}}|Garlemald|garlemald = {{dl|Garlemald}}|#default = {{dl|{{{Affiliation|}}}}}}}
 
{{!}}colspan="8" style="padding:0em 0.3em 0em 0.3em;font-weight:bold;"{{!}}{{#switch:{{{Affiliation|}}}|Limsa-Lominsa|l|L|Limsa-lominsa|limsa-lominsa|limsa lominsa|Limsa lominsa|Limsa-Lominsa|Limsa Lominsa = {{dl|Limsa Lominsa}}|ishgard|i|I|Ishgard= {{dl|Ishgard}}|gridania|g|G|Gridania = {{dl|Gridania}}|ul'dah|Uldah|u|U|uldah| Ul'dah = {{dl|Ul'dah}}|Ala Mhigo|ala mhigo = {{dl|Ala Mhigo}}|Garlemald|garlemald = {{dl|Garlemald}}|#default = {{dl|{{{Affiliation|}}}}}}}
 
{{!}}-
 
{{!}}-
{{!}}colspan="2" style="height: 1ex; padding:0em 0.3em 0em 0.3em; font-weight:bold; width: 20%;" {{!}}{{color|white|style=normal|Occupation:}}
+
{{!}}colspan="2" style="height: 1ex; padding:0em 0.3em 0em 0.3em; font-weight:bold; width: 20%;" {{!}}{{#if:{{{Occupation|}}}|{{color|white|style=normal|Occupation:}}}}
 
{{!}}colspan="8" style="padding:0em 0.3em 0em 0.3em; font-weight:bold;"{{!}}{{#if:{{{Occupation|}}}|{{#switch:{{{Occupation|}}}|merchant|shopkeeper|shopkeeper|Merchant = [[:Category:Merchants|Merchant]]|Guild Merchant = [[:Category:Guild Merchants|Guild Merchant]]|Guardian|guardian = [[:Category:{{{Occupation}}}s|{{{Occupation}}}]]|#default = {{dl|{{{Occupation}}}}}}}}}
 
{{!}}colspan="8" style="padding:0em 0.3em 0em 0.3em; font-weight:bold;"{{!}}{{#if:{{{Occupation|}}}|{{#switch:{{{Occupation|}}}|merchant|shopkeeper|shopkeeper|Merchant = [[:Category:Merchants|Merchant]]|Guild Merchant = [[:Category:Guild Merchants|Guild Merchant]]|Guardian|guardian = [[:Category:{{{Occupation}}}s|{{{Occupation}}}]]|#default = {{dl|{{{Occupation}}}}}}}}}
 
{{!}}-
 
{{!}}-

Revision as of 02:43, 1 July 2013

{{ARR Infobox NPC
| Image = 
| Crop = 

| 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 2 = 
| Zone 2 Coordinates = 
| Zone 2 Location = 
| Zone 2 Location 2 = 
| Zone 2 Level = 
| Zone 2 Cutscene = 
<!-- Add more if needed -->

| Dialogue = 

| Additional Dialogue = 

| Sells =  

| Biography = 

| Images = 

| Etymology = 

| Notes =

}}