Difference between revisions of "Template:ARR Infobox NPC"

Line 5: Line 5:
 
{{{!}} style="color:white; width:100%; cellpadding=0; cellspacing=0;" border=0
 
{{{!}} style="color:white; width:100%; cellpadding=0; cellspacing=0;" border=0
 
{{!}}valign="top" colspan="2" style="font-weight:bold; width: 10%;" {{!}}{{color|white|style=normal|Zone(s):}}  
 
{{!}}valign="top" colspan="2" style="font-weight:bold; width: 10%;" {{!}}{{color|white|style=normal|Zone(s):}}  
 +
{{#if:{{{Location 5|}}}|
 +
{{!}}{{CList7|Title=This NPC is found in many locations depending on advancement of various questlines.  Click to see all locations.|dpl=
 +
{{#forargs:Location| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>{{SetGeoVars2|{{{Location {{#var:ik}}|nosuch}}}}}{{#if:{{{Location {{#var:ik}} FATE|}}}|[[File:Mob18 Icon.png|12px|link={{#switch:{{{Location {{#var:ik}} FATE}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in FATE|#default = {{{Location {{#var:ik}} FATE|}}}}}]]|}}{{#if:{{{Location {{#var:ik}} Levequest|}}}|[[File:Mob16 Icon.png|12px|link={{#switch:{{{Location {{#var:ik}} Levequest}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in Levequests|#default = {{{Location {{#var:ik}} Levequest|}}}}}]]|}}{{#if:{{{Location {{#var:ik}} Guildhest|}}}|[[File:Mob17 Icon.png|12px|link={{#switch:{{{Location {{#var:ik}} Guildhest}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in Guildhets|#default = {{{Location {{#var:ik}} Guildhest|}}}}}]]|}}{{#if:{{{Location {{#var:ik}} Event|}}}|[[File:Seasonalachievementicon.png|12px|link={{#switch:{{{Location {{#var:ik}} Event}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in Event|#default = {{{Location {{#var:ik}} Event|}}}}}]]|}}{{#if:{{{Location {{#var:ik}} Quest|}}}|[[File:Mob14_Icon.png|12px|link={{#switch:{{{Location {{#var:ik}} Quest}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in Quests|#default = {{#arraydefine:questrow|{{{Location {{#var:ik}} Quest|}}}}}{{#ifexpr: {{#arraysize:questrow}} = 1 | {{#arrayprint:questrow}} | {{PAGENAME}}#Involved in Quests }}}}]]|}}{{#if:{{{Location {{#var:ik}} Cutscene|}}}|[[File:Player7_Icon.png|12px|link=Cutscene NPC]]|}}{{GEOLink|{{#var:zone}}}} {{#if:{{#var:area|}}|- {{GEOLink|{{#var:area}}}}}} {{#if:{{#var:landmark|}}|- {{GEOLink|{{#var:landmark}}}}}}{{#if:{{{Location {{#var:ik}} Coordinates|}}}|&nbsp;{{color|white|style=normal|({{{Location {{#var:ik}} Coordinates|}}})}}|}}{{#if:{{{Location {{#var:ik}} Level|}}}|&nbsp;{{color|white|style=normal|(Lv. {{{Location {{#var:ik}} Level|}}})}}{{spc}}|{{spc}}}}}}}}}}}}
 +
|
 
{{!}}valign="top" colspan="6" style="width: 90%;"{{!}}{{#forargs:Location| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>{{SetGeoVars2|{{{Location {{#var:ik}}|nosuch}}}}}{{#if:{{{Location {{#var:ik}} FATE|}}}|[[File:Mob18 Icon.png|12px|link={{#switch:{{{Location {{#var:ik}} FATE}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in FATE|#default = {{{Location {{#var:ik}} FATE|}}}}}]]|}}{{#if:{{{Location {{#var:ik}} Levequest|}}}|[[File:Mob16 Icon.png|12px|link={{#switch:{{{Location {{#var:ik}} Levequest}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in Levequests|#default = {{{Location {{#var:ik}} Levequest|}}}}}]]|}}{{#if:{{{Location {{#var:ik}} Guildhest|}}}|[[File:Mob17 Icon.png|12px|link={{#switch:{{{Location {{#var:ik}} Guildhest}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in Guildhets|#default = {{{Location {{#var:ik}} Guildhest|}}}}}]]|}}{{#if:{{{Location {{#var:ik}} Event|}}}|[[File:Seasonalachievementicon.png|12px|link={{#switch:{{{Location {{#var:ik}} Event}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in Event|#default = {{{Location {{#var:ik}} Event|}}}}}]]|}}{{#if:{{{Location {{#var:ik}} Quest|}}}|[[File:Mob14_Icon.png|12px|link={{#switch:{{{Location {{#var:ik}} Quest}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in Quests|#default = {{#arraydefine:questrow|{{{Location {{#var:ik}} Quest|}}}}}{{#ifexpr: {{#arraysize:questrow}} = 1 | {{#arrayprint:questrow}} | {{PAGENAME}}#Involved in Quests }}}}]]|}}{{#if:{{{Location {{#var:ik}} Cutscene|}}}|[[File:Player7_Icon.png|12px|link=Cutscene NPC]]|}}{{GEOLink|{{#var:zone}}}} {{#if:{{#var:area|}}|- {{GEOLink|{{#var:area}}}}}} {{#if:{{#var:landmark|}}|- {{GEOLink|{{#var:landmark}}}}}}{{#if:{{{Location {{#var:ik}} Coordinates|}}}|&nbsp;{{color|white|style=normal|({{{Location {{#var:ik}} Coordinates|}}})}}|}}{{#if:{{{Location {{#var:ik}} Level|}}}|&nbsp;{{color|white|style=normal|(Lv. {{{Location {{#var:ik}} Level|}}})}}{{spc}}|{{spc}}}}}}}}}}
 
{{!}}valign="top" colspan="6" style="width: 90%;"{{!}}{{#forargs:Location| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>{{SetGeoVars2|{{{Location {{#var:ik}}|nosuch}}}}}{{#if:{{{Location {{#var:ik}} FATE|}}}|[[File:Mob18 Icon.png|12px|link={{#switch:{{{Location {{#var:ik}} FATE}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in FATE|#default = {{{Location {{#var:ik}} FATE|}}}}}]]|}}{{#if:{{{Location {{#var:ik}} Levequest|}}}|[[File:Mob16 Icon.png|12px|link={{#switch:{{{Location {{#var:ik}} Levequest}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in Levequests|#default = {{{Location {{#var:ik}} Levequest|}}}}}]]|}}{{#if:{{{Location {{#var:ik}} Guildhest|}}}|[[File:Mob17 Icon.png|12px|link={{#switch:{{{Location {{#var:ik}} Guildhest}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in Guildhets|#default = {{{Location {{#var:ik}} Guildhest|}}}}}]]|}}{{#if:{{{Location {{#var:ik}} Event|}}}|[[File:Seasonalachievementicon.png|12px|link={{#switch:{{{Location {{#var:ik}} Event}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in Event|#default = {{{Location {{#var:ik}} Event|}}}}}]]|}}{{#if:{{{Location {{#var:ik}} Quest|}}}|[[File:Mob14_Icon.png|12px|link={{#switch:{{{Location {{#var:ik}} Quest}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in Quests|#default = {{#arraydefine:questrow|{{{Location {{#var:ik}} Quest|}}}}}{{#ifexpr: {{#arraysize:questrow}} = 1 | {{#arrayprint:questrow}} | {{PAGENAME}}#Involved in Quests }}}}]]|}}{{#if:{{{Location {{#var:ik}} Cutscene|}}}|[[File:Player7_Icon.png|12px|link=Cutscene NPC]]|}}{{GEOLink|{{#var:zone}}}} {{#if:{{#var:area|}}|- {{GEOLink|{{#var:area}}}}}} {{#if:{{#var:landmark|}}|- {{GEOLink|{{#var:landmark}}}}}}{{#if:{{{Location {{#var:ik}} Coordinates|}}}|&nbsp;{{color|white|style=normal|({{{Location {{#var:ik}} Coordinates|}}})}}|}}{{#if:{{{Location {{#var:ik}} Level|}}}|&nbsp;{{color|white|style=normal|(Lv. {{{Location {{#var:ik}} Level|}}})}}{{spc}}|{{spc}}}}}}}}}}
 +
}}
 
{{!}}-
 
{{!}}-
 
{{!}}colspan="2" style="height: 1ex; padding:0em 0.3em 0em 0.3em;font-weight:bold;" {{!}}{{#if:{{{Affiliation|}}}|{{color|white|style=normal|Affiliation:}}}}
 
{{!}}colspan="2" style="height: 1ex; padding:0em 0.3em 0em 0.3em;font-weight:bold;" {{!}}{{#if:{{{Affiliation|}}}|{{color|white|style=normal|Affiliation:}}}}
Line 29: Line 34:
 
{{!}}valign="top" colspan="10" style="height: 35ex; color:white;font-weight:bold;" {{!}}
 
{{!}}valign="top" colspan="10" style="height: 35ex; color:white;font-weight:bold;" {{!}}
 
{{{Dialogue}}}
 
{{{Dialogue}}}
 +
{{#if:{{{Biography|}}}|
 +
<br>
 +
<div style="height: 1ex;"></div><div style="padding: 0px; width:99%; background-color:#D6D6D6; border:1px solid #474747;" ></div>
 +
{{{Biography|}}}
 +
}}
 
|-
 
|-
 
|}
 
|}
Line 36: Line 46:
 
{{XIVboxFooter}}
 
{{XIVboxFooter}}
 
{{#if:{{{TT|}}}|[[Category:{{{Name}}} Involved in Triple Triad]]<span id="Triple Triad Player Card"></span>{{{TT}}}}}{{Refreshlink}}
 
{{#if:{{{TT|}}}|[[Category:{{{Name}}} Involved in Triple Triad]]<span id="Triple Triad Player Card"></span>{{{TT}}}}}{{Refreshlink}}
 +
{{{!}} style="border:none; width:100%; float:left;"
 +
! align="left" {{!}}<div style="font-size:18px;">Activities</div>[[File:Divider3.png{{!}}left{{!}}link=]]
 +
{{!}}-
 +
{{!}}
 
{{{!}} cellpadding="0" width="100%" cellspacing="0" border="0"  
 
{{{!}} cellpadding="0" width="100%" cellspacing="0" border="0"  
 
{{!}}-
 
{{!}}-
Line 151: Line 165:
 
| format  = ,\n* [[%PAGE%{{!}}%TITLE%]],,
 
| format  = ,\n* [[%PAGE%{{!}}%TITLE%]],,
 
| suppresserrors=true
 
| suppresserrors=true
}}}}{{#if:{{{Trades|}}}|{{CList2|Title=Trades|dpl= {{Header|columns=7|width1=5%|width2=20%|width3=5%|width4=10%|width5=30%|width6=5%|width7=5%|tablecolor=GEtable||Item|Level|Requires|Stats|Set|Cost&nbsp;&nbsp;&nbsp;&nbsp;}}
+
}}}}
 +
{{!}}}{{#if:{{{Trades|}}}|{{CList2|Title=Trades|dpl= {{Header|columns=7|width1=5%|width2=20%|width3=5%|width4=10%|width5=30%|width6=5%|width7=5%|tablecolor=GEtable||Item|Level|Requires|Stats|Set|Cost&nbsp;&nbsp;&nbsp;&nbsp;}}
 
{{{Trades}}}
 
{{{Trades}}}
 
{{XIVboxFooter}}}}  <!-- slight cheat here, should be it's own template -->
 
{{XIVboxFooter}}}}  <!-- slight cheat here, should be it's own template -->
Line 157: Line 172:
 
{{{TabbedTrades}}}
 
{{{TabbedTrades}}}
 
}}}}{{#if:{{{Sells|}}}|{{CList2|Title=Sells|dpl= {{Header|columns=7|width1=5%|width2=20%|width3=5%|width4=10%|width5=30%|width6=5%|width7=5%|tablecolor=GEtable||Item|Level|Requires|Stats|Set|Cost&nbsp;&nbsp;&nbsp;&nbsp;}}
 
}}}}{{#if:{{{Sells|}}}|{{CList2|Title=Sells|dpl= {{Header|columns=7|width1=5%|width2=20%|width3=5%|width4=10%|width5=30%|width6=5%|width7=5%|tablecolor=GEtable||Item|Level|Requires|Stats|Set|Cost&nbsp;&nbsp;&nbsp;&nbsp;}}
 
 
{{{Sells}}}
 
{{{Sells}}}
 
{{XIVboxFooter}}}}  <!-- slight cheat here, should be it's own template -->
 
{{XIVboxFooter}}}}  <!-- slight cheat here, should be it's own template -->
Line 163: Line 177:
 
{{{TabbedSells}}}
 
{{{TabbedSells}}}
 
}}}}
 
}}}}
{{CList2|Title=Additional Dialogue|dpl={{{Additional Dialogue|}}}}}
+
{{ARR Infobox Bottom
{{CList2|Title=Pre-Calamity Dialogue|dpl={{{Pre-Calamity Dialogue|}}}}}
+
|Dialogue={{{Dialogue|}}}
{{CList2|Title=Biography|dpl={{{Biography|}}}}}
+
|Additional Dialogue={{{Additional Dialogue|}}}
{{CList2|Title=Etymology|dpl={{{Etymology|}}}}}
+
|Pre-Calamity Dialogue={{{Pre-Calamity Dialogue|}}}
{{CList2|Title=Notes|dpl={{{Notes|}}}}}
+
|Lore={{{Lore|}}}
{{CList2|Title=Gallery [[File:Image add.png|16px|link=http://ffxiv.gamerescape.com/w/index.php?title=Special:Upload&wpDestFile={{#replace:{{anchorencode:{{PAGENAME}}}}|.27|'}}--{{CURRENTTIMESTAMP}}.png|Add Image]]|dpl=
+
|Full Biography={{{Full Biography|}}}
{{#tag:gallery|
+
|Etymology={{{Etymology|}}}
{{#arraydefine:Images|{{{Images}}}}}{{#arraysort:Images|asc}}{{#arrayslice:Image1|Images|0|1}}{{#arrayslice:Image2|Images|1|1}}{{#arrayslice:Image3|Images|2|1}}{{#arrayslice:Image4|Images|3|1}}{{#arrayslice:Image5|Images|4|1}}{{#arrayslice:Image6|Images|5|1}}{{#arrayslice:Image7|Images|6|1}}{{#arrayslice:Image8|Images|7|1}}{{#arrayslice:Image9|Images|8|1}}{{#arrayslice:Image10|Images|9|1}}
+
|Walkthrough={{{Walkthrough|}}}
{{#arrayprint:Image1||@@@@|File:@@@@}}
+
|Journal={{{Journal|}}}
{{#arrayprint:Image2||@@@@|File:@@@@}}
+
|Strategy={{{Strategy|}}}
{{#arrayprint:Image3||@@@@|File:@@@@}}
+
|Notes={{{Notes|}}}
{{#arrayprint:Image4||@@@@|File:@@@@}}
+
|Images={{{Images|}}}
{{#arrayprint:Image5||@@@@|File:@@@@}}
 
{{#arrayprint:Image6||@@@@|File:@@@@}}
 
{{#arrayprint:Image7||@@@@|File:@@@@}}
 
{{#arrayprint:Image8||@@@@|File:@@@@}}
 
{{#arrayprint:Image9||@@@@|File:@@@@}}
 
{{#arrayprint:Image10||@@@@|File:@@@@}}
 
{{#dpl:
 
|  dplcache=gallery1
 
|  allowcachedresults=true
 
|  escapelinks= false
 
|  namespace = File
 
|  titlematch={{Fixtick|{{PAGENAME}}}}--%
 
| mode=userformat
 
|  listseparators=,%PAGE%{{!}}{{ImageInfo{{!}}%TITLE%}}\n,,
 
}}
 
|widths="110px"
 
}}
 
 
}}
 
}}
 
[[Category:NPC]]{{#if:{{{Patch|}}}||[[Category:Unknown Patch]]}}
 
[[Category:NPC]]{{#if:{{{Patch|}}}||[[Category:Unknown Patch]]}}

Revision as of 20:30, 3 April 2015

{{ARR Infobox NPC
| Patch = 4.0
| Image = {{subst:PAGENAME}}.png <!-- Forced to 220x400px. Use 'Move Image' if not centered -->
| Image Width = <!-- Used to override default 220px width. Leave blank if not needed -->

| Move Image Left =   <!-- Value between 0 and 5-->
| Move Image Up   =   <!-- Value between 0 and 5-->

| Name = {{subst:SUBPAGENAME}} <!-- MUST be set to the PAGENAME. If their full name is different from their display name, use Full Name -->
| Full Name = <!-- If the NPC has a last name which doesn't appear above their head in-game, place their entire first/last name here -->

| Level = 

| Gender      = 
| Race        = 
| Clan        = 

| Affiliation =   <!-- Name of city-state affiliation. Creates category of what's entered -->
| Occupation  =   <!-- Comma separated if more than one. Creates category of what's entered -->
| Employer    =   <!-- Comma separated if more than one, encase in brackets if needed -->
| Title       =   

<!-- Delete this comment and the one below 'Occupation Link' if you do not want
the system to automatically create category links to what is entered in them!
| Affiliation Link = No
| Occupation Link = No
-->

| Location 1 = 
| Location 1 Coordinates = 
| Location 1 Level = 
| Location 1 Cutscene = 
| Location 1 FATE = 
| Location 1 Event = 
| Location 1 Quest = 
| Location 1 Guildhest = 
| Location 1 Levequest = 

| Location 2 = 
| Location 2 Coordinates = 
| Location 2 Level = 
| Location 2 Cutscene = 
| Location 2 FATE = 
| Location 2 Event = 
| Location 2 Quest = 
| Location 2 Guildhest = 
| Location 2 Levequest = 
<!-- Add more if needed -->

| Dialogue = 
| Additional Dialogue = 
| Pre-Calamity Dialogue = 

| TabbedSells = 
<!-- If a merchant, remove THIS line with the exclamation point and --'s, and the other line
like it just before 'Biography' to enable Merchant code! If not a merchant, delete this entire
explanation and code to prevent confusion for future editors.
{{Tabsells
|General = 
{{Sells|Woodworking Delineation|Quantity=10|Currency=Blue Crafters' Scrip|250}}

|Curious Crop Exchange =
{{Trades|Adamantite Nugget|Quantity=1|Item1=Althyk Lavender|Count1=1}}
}}
-->

| Biography = 
| Images = 
| Etymology = 
| Notes =
}}