Difference between revisions of "Template:ARR Infobox NPC"

(Seeing if easy copy/paste of 'tabbedsells' will work for tabbedtrades)
Line 150: Line 150:
 
}}{{#if:{{{TabbedSells|}}}|{{CList2|Title=Sells|dpl=  
 
}}{{#if:{{{TabbedSells|}}}|{{CList2|Title=Sells|dpl=  
 
{{{TabbedSells}}}
 
{{{TabbedSells}}}
}}}}{{#if:{{{Additional Dialogue|}}}|
+
}}}}
{{{!}} style="padding:1em 0.3em 0em 0.3em; border:none; width:100%; float:left;"
+
{{CList|Title=Additional Dialogue|dpl={{{Additional Dialogue|}}}}}
! align="left" {{!}}<div style="font-size:18px;">Additional Dialogue</div>[[File:Divider3.png|left|link=]]
+
{{CList|Title=Pre-Calamity Dialogue|dpl={{{Pre-Calamity Dialogue|}}}}}
{{!}}-
+
{{CList|Title=Biography|dpl={{{Biography|}}}}}
{{!}}
+
{{CList|Title=Etymology|dpl={{{Etymology|}}}}}
{{{Additional Dialogue}}}
+
{{CList|Title=Notes|dpl={{{Notes|}}}}}
{{!}}}
+
{{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=
}}{{#if:{{{Pre-Calamity Dialogue|}}}|
 
{{{!}} style="padding:1em 0.3em 0em 0.3em; border:none; width:100%; float:left;"
 
! align="left" {{!}}<div style="font-size:18px;">Pre-Calamity Dialogue</div>[[File:Divider3.png|left|link=]]
 
{{!}}-
 
{{!}}
 
{{{Pre-Calamity Dialogue}}}
 
{{!}}}
 
}}{{#if:{{{Biography|}}}|
 
{{{!}} class="collapsible" style="padding:1em 0.3em 0em 0.3em; border:none; width:100%; float:left;"
 
! align="left" {{!}}<div style="font-size:18px;">Biography</div>[[File:Divider3.png|left|link=]]
 
{{!}}-
 
{{!}}{{{Biography}}}
 
{{!}}}
 
}}{{#if:{{{Etymology|}}}|
 
{{{!}} class="collapsible" style="padding:1em 0.3em 0em 0.3em; border:none; width:100%; float:left;"
 
! align="left" {{!}}<div style="font-size:18px;">Etymology</div>[[File:Divider3.png|left|link=]]
 
{{!}}-
 
{{!}}{{{Etymology}}}
 
{{!}}}
 
}}{{#if:{{{Images|}}}|
 
{{{!}} class="collapsible" style="padding:1em 0.3em 0em 0.3em; border:none; width:100%; float:left;"
 
! align="left" {{!}}<div style="font-size:18px;">Screen Shots</div>[[File:Divider3.png|left|link=]]
 
{{!}}-
 
{{!}}
 
 
{{#tag:gallery|
 
{{#tag:gallery|
 
{{#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}}
 
{{#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}}
Line 193: Line 169:
 
{{#arrayprint:Image9||@@@@|File:@@@@}}
 
{{#arrayprint:Image9||@@@@|File:@@@@}}
 
{{#arrayprint:Image10||@@@@|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"
 
}}
 
}}
{{!}}}
 
 
}}
 
}}
{| style="padding:1em 0.3em 0em 0.3em; border:none; width:100%; float:left;"
 
! align="left" |<div style="font-size:18px;">Notes</div>[[File:Divider3.png|left|link=]]
 
|-
 
|
 
{{{Notes|}}}
 
|}
 
{{!}}}
 
 
[[Category:NPC]]{{#if:{{{Patch|}}}||[[Category:Unknown Patch]]}}
 
[[Category:NPC]]{{#if:{{{Patch|}}}||[[Category:Unknown Patch]]}}
 
<!-- Spacer -->
 
<!-- Spacer -->

Revision as of 18:46, 4 September 2014

{{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 =
}}