Template:Npc: Difference between revisions

From IdleOn MMO Wiki
imported>Oniled
No edit summary
(Undo revision 78321 by Jasaj (talk))
Tag: Undo
 
(43 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>Number Of Quests</th>
  |BirthWeight=Float
    <td>{{{noquest}}}</td>
  |Starsign=String
    </tr>
  |MomsMaidenName=String
    <th class="subheader" colspan="2">Misc</th>
  |Notes=Wikitext (size=3000)
    </tr>
  |NPCType=String
    <th>Birth Weight (Kg)</th>
}}</noinclude><!--
    <td>{{{birthweight}}}</td>
 
    </tr>
### Cargo Store ###
     <th>Starsign</th>
--><includeonly>
     <td>{{{starsign}}}</td>
{{#cargo_store:_table=NPCs
     </tr>
  |World={{{world|}}}
     <th>Mothers Maiden Name</th>
  |MapLocation={{{location|}}}
    <td>{{{mmm}}}</td>
  |QuestCount={{{noquest|0}}}
  </tr>
  |BirthWeight={{{birthweight|}}}
     <th class="subheader" colspan="2">Location</th>
  |Starsign={{{starsign|}}}
    </tr>
  |MomsMaidenName={{{mmm|}}}
     <th>World</th>
  |Notes={{{notes|}}}
    <td>{{{world}}}</td>
  |NPCType={{#if:{{{npcType|}}}|{{{npcType}}} }}NPC
    </tr>
}}<!--
    <th style="border-radius: 0 0 0 0.4em">Area</th>
 
    <td>{{#if: {{{area|}}}|[[Worlds#{{{area}}}|{{{area}}}]]}}{{#if: {{{area2|}}}|, [[Worlds#{{{area2}}}|{{{area2}}}]]}}{{#if: {{{area3|}}}|, [[Worlds#{{{area3}}}|{{{area3}}}]]}}{{#if: {{{customarea|}}}|{{#if:{{{area|}}}|<br>}}{{{customarea}}}}}</td></tr>
### Infobox ###
</table>
--><infobox theme="npcinfo">
</div>[[Category:NPC]]
<title>
</includeonly>
<default>{{PAGENAME}}</default>
<noinclude>
</title>
<image>
        <default>[[File:{{PAGENAME}}.gif]]</default>
    </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 38: 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=
}}