Template:Npc: Difference between revisions

From IdleOn MMO Wiki
imported>Oniled
No edit summary
(Undo revision 78321 by Jasaj (talk))
Tag: Undo
 
(44 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<includeonly>
<noinclude><!--
<div class="infobox">
 
<table><th class="header">{{{title|{{PAGENAME}}}}}</th></table>
### Cargo Declare ###
<div class="infobox-image">[[File:{{PAGENAME}}.gif]]</div>
-->{{#cargo_declare:_table=NPCs
<table>
  |World=String
     <th class="subheader" colspan="2">Information</th>
  |MapLocation=String
     </tr>
  |QuestCount=Integer
    <th>Location</th>
  |BirthWeight=Float
    <td>[[Worlds#{{{location}}}|{{{location}}}]]</td>
  |Starsign=String
    </tr>
  |MomsMaidenName=String
     <th>Number Of Quests</th>
  |Notes=Wikitext (size=3000)
    <td>{{{noquest}}}</td>
  |NPCType=String
    </tr>
}}</noinclude><!--
    <th class="subheader" colspan="2">Misc</th>
 
    </tr>
### Cargo Store ###
    <th>Birth Weight (Kg)</th>
--><includeonly>
     <td>{{{birthweight}}}</td>
{{#cargo_store:_table=NPCs
    </tr>
  |World={{{world|}}}
    <th>Starsign</th>
  |MapLocation={{{location|}}}
     <td>{{{starsign}}}</td>
  |QuestCount={{{noquest|0}}}
     </tr>
  |BirthWeight={{{birthweight|}}}
    <th>Mothers Maiden Name</th>
  |Starsign={{{starsign|}}}
    <td>{{{mmm}}}</td>
  |MomsMaidenName={{{mmm|}}}
  </tr>
  |Notes={{{notes|}}}
     <th class="subheader" colspan="2">Location</th>
  |NPCType={{#if:{{{npcType|}}}|{{{npcType}}} }}NPC
    </tr>
}}<!--
     <th>World</th>
 
    <td>{{{world}}}</td>
### Infobox ###
    </tr>
--><infobox theme="npcinfo">
    <th style="border-radius: 0 0 0 0.4em">Area</th>
<title>
    <td>{{#if: {{{area|}}}|[[Worlds#{{{area}}}|{{{area}}}]]}}{{#if: {{{area2|}}}|, [[Worlds#{{{area2}}}|{{{area2}}}]]}}{{#if: {{{area3|}}}|, [[Worlds#{{{area3}}}|{{{area3}}}]]}}{{#if: {{{customarea|}}}|{{#if:{{{area|}}}|<br>}}{{{customarea}}}}}</td></tr>
<default>{{PAGENAME}}</default>
</table>
</title>
</div>[[Category:NPC]]
<image>
</includeonly>
        <default>[[File:{{PAGENAME}}.gif]]</default>
<noinclude>
    </image>
     <header>Information</header>
     <data source="world">
<label>World</label>
<format>[[Worlds#World {{#switch:{{{world}}}|Blunder Hills=1|Yum-Yum Desert=2|Frostbite Tundra=3|Hyperion Nebula=4|Smolderin' Plateau=5}} - {{{world}}}|{{{world}}}]]</format>
</data>
     <data source="location">
<label>Area</label>
        <format>{{Area|{{{location}}}}}</format>
</data>
    <data source="customarea">
<label>Location</label>
</data>
     <data source="noquest">
<label>Total Quests</label>
</data>
     <header>Misc</header>
     <data source="birthweight">
<label>Birth Weight</label>
        <format>{{{birthweight}}} Kg</format>
</data>
     <data source="starsign">
<label>Starsign</label>
</data>
     <data source="mmm">
<label>Mother's Maiden Name</label>
</data>
</infobox>
 
{{{notes|}}}
 
{{#seo:
|image={{PAGENAME}}.gif
|description=Location: {{{location}}}
Number of Quests: {{{noquest|0}}}
}}[[Category:NPC]]</includeonly><noinclude>
<pre>
<pre>
{{npc
{{npc
Line 41: Line 76:
|starsign=
|starsign=
|mmm=
|mmm=
|world=example
|notes=
|area=example
|area2=example (optional)
|area3=example (optional)
}}
}}
</pre>
</pre>
[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Latest revision as of 09:32, 17 August 2024

This template defines the table "NPCs". View table.

{{npc
|location=
|noquest=
|birthweight=
|starsign=
|mmm=
|notes=
}}