Difference between revisions of "Template:ARR Infobox NPC"

Line 39: Line 39:
 
{{!}}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>}}
 
{{!}}colspan="5" align="left" style="height: 1ex; font-weight: bold; padding:0em 0.3em 0em 0.6em; font-size:18px;font-family:Lucida Sans Unicode;"{{!}}{{color|white|{{{Name}}}}}<div style="padding:0em 0em 0em .5em; font-size:12px">&nbsp;&nbsp;'''''{{#if:{{{Gender|}}}|{{#switch:{{lc:{{{Gender}}}}}|male|m|{{male}}= {{dl|Male}}|female|f|{{female}}= {{dl|Female}}|#default = ??}} {{color|white|style=normal|/}}|}} {{#if:{{{Race|}}}|{{#switch:{{lc:{{{Race}}}}}|hyur|h|hume= {{dl|Hyur}}|elezen|e|elvaan= {{dl|Elezen}}|lalafell|l|tarutaru= {{dl|Lalafell}}|miqo'te|miqote|m|mithra= {{dl|Miqo'te}}|roegadyn|r|galka= {{dl|Roegadyn}}|qiqirn = [[:Category:Qiqirn|Qiqirn]]|monster={{color|white|Monster}}|object={{color|white|Object}}|#default = {{color|white|{{{Race}}}}}}}|}} {{#if:{{{Clan|}}}|{{color|white|style=normal|/}} {{#switch:{{lc:{{{Clan}}}}}|midlander|midlanders = {{dl|Midlander}}|dunesfolk= {{dl|Dunesfolk}}|hellsguard|hellsguards= {{dl|Hellsguard}}|highlander|highlanders= {{dl|Highlander}}|keepers of the moon|keeper of the moon= {{dl|Keepers of the Moon}}|seekers of the sun|seeker of the sun= {{dl|Seekers of the Sun}}|plainsfolk= {{dl|Plainsfolk}}|wildwood elezen|wildwood elezens= {{dl|Wildwood Elezen}}|duskwight elezen|duskwight elezens= {{dl|Duskwight Elezen}}|sea wolves|sea wolf= {{dl|Sea Wolves}}|#default = {{color|white|{{{Clan}}}}}}} |}}'''''</div>
 
{{!}}colspan="5" align="left" style="height: 1ex; font-weight: bold; padding:0em 0.3em 0em 0.6em; font-size:18px;font-family:Lucida Sans Unicode;"{{!}}{{color|white|{{{Name}}}}}<div style="padding:0em 0em 0em .5em; font-size:12px">&nbsp;&nbsp;'''''{{#if:{{{Gender|}}}|{{#switch:{{lc:{{{Gender}}}}}|male|m|{{male}}= {{dl|Male}}|female|f|{{female}}= {{dl|Female}}|#default = ??}} {{color|white|style=normal|/}}|}} {{#if:{{{Race|}}}|{{#switch:{{lc:{{{Race}}}}}|hyur|h|hume= {{dl|Hyur}}|elezen|e|elvaan= {{dl|Elezen}}|lalafell|l|tarutaru= {{dl|Lalafell}}|miqo'te|miqote|m|mithra= {{dl|Miqo'te}}|roegadyn|r|galka= {{dl|Roegadyn}}|qiqirn = [[:Category:Qiqirn|Qiqirn]]|monster={{color|white|Monster}}|object={{color|white|Object}}|#default = {{color|white|{{{Race}}}}}}}|}} {{#if:{{{Clan|}}}|{{color|white|style=normal|/}} {{#switch:{{lc:{{{Clan}}}}}|midlander|midlanders = {{dl|Midlander}}|dunesfolk= {{dl|Dunesfolk}}|hellsguard|hellsguards= {{dl|Hellsguard}}|highlander|highlanders= {{dl|Highlander}}|keepers of the moon|keeper of the moon= {{dl|Keepers of the Moon}}|seekers of the sun|seeker of the sun= {{dl|Seekers of the Sun}}|plainsfolk= {{dl|Plainsfolk}}|wildwood elezen|wildwood elezens= {{dl|Wildwood Elezen}}|duskwight elezen|duskwight elezens= {{dl|Duskwight Elezen}}|sea wolves|sea wolf= {{dl|Sea Wolves}}|#default = {{color|white|{{{Clan}}}}}}} |}}'''''</div>
{{!}}colspan="2" valign="top" style="color:white;font-weight: bold; text-align:right;"{{!}}{{#if:{{{Sells|}}}|[[File:Shopicon.png]]}}{{#ifexpr: {{PAGESINCAT:Quests Involving {{Fixtick|{{SUBPAGENAME}}}}}} > 0 | [[File:Questinvolvementicon.png]]}}{{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}}}} Started Quests}} > 0 | [[File:Queststartericon.png]]}}
+
{{!}}colspan="2" valign="top" style="color:white;font-weight: bold; text-align:right;"{{!}}{{#if:{{{Sells|}}}|[[File:Shopicon.png|link=Merchant]]}}{{#ifexpr: {{PAGESINCAT:Quests Involving {{Fixtick|{{SUBPAGENAME}}}}}} > 0 | [[File:Questinvolvementicon.png|link=Involved in Quests]]}}{{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}}}} Started Quests}} > 0 | [[File:Queststartericon.png|link=Starts Quests]]}}
 
{{!}}colspan="2" rowspan="2" valign="top" style="color:white;font-weight: bold; text-align:right;"{{!}}{{#if:{{{Affiliation|}}}|{{Nation Switch|iconsize=50px|Nation={{{Affiliation}}}}}}}
 
{{!}}colspan="2" rowspan="2" valign="top" style="color:white;font-weight: bold; text-align:right;"{{!}}{{#if:{{{Affiliation|}}}|{{Nation Switch|iconsize=50px|Nation={{{Affiliation}}}}}}}
 
{{!}}colspan="1" rowspan="6" valign="top" style="border-right: 2px solid #969696;" cellpadding{{!}}
 
{{!}}colspan="1" rowspan="6" valign="top" style="border-right: 2px solid #969696;" cellpadding{{!}}
Line 50: Line 50:
 
{{!}}-
 
{{!}}-
 
{{!}}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 | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>{{#if:{{{Zone {{#var:ik}} Cutscene|}}}|[[File:Cutscene Icon.png|18px]]|}}{{dl|{{{Zone {{#var:ik}}|}}}}} [[Category:{{{Zone {{#var:ik}} Location|}}} 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}} 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}}|}}} NPCs]]{{#if:{{{Zone {{#var:ik}} Location|}}}|&nbsp;{{color|white|style=normal|-}}&nbsp;{{dl|{{{Zone {{#var:ik}} Location|}}}}}|}}{{#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%;" {{!}}{{color|white|style=normal|Affiliation:}}

Revision as of 18:41, 27 June 2013

{{ARR Infobox NPC
| Image = 
| Crop = 
| Level = 
| Name = 

| Gender      = 
| Race        = 
| Clan        = 

| Affiliation = 
| Occupation  = 

| Zone 1 = 
| Zone 1 Coordinates = 
| Zone 1 Location = 
| Zone 1 Level = 

| Zone 2 = 
| Zone 2 Coordinates = 
| Zone 2 Location = 
| Zone 2 Level = 
<!-- Add more if needed -->

| Dialogue = 

| Sells =  

| Additional Dialogue = 

| Biography = 

| Etymology = 

| Notes =

}}