Template:Npc: Difference between revisions

From IdleOn MMO Wiki
imported>BigCoight
mNo edit summary
(Undo revision 78321 by Jasaj (talk))
Tag: Undo
 
(54 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<div class="infobox">
<noinclude><!--
<table><th class="header">{{{title|{{PAGENAME}}}}}</th></table>
<div class="infobox-image">[[File:{{PAGENAME}}.gif]]</div>
<table>
    <th class="subheader" colspan="2">Information</th>
    </tr>
    <th>Location</th>
    <td>{{{loation}}}</td>
    </tr>
    <th>Number Of Quests</th>
    <td>{{{noquest}}}</td>
    </tr>
    <th>Repeatable?</th>
    <td>{{{repeatable}}}</td>
    </tr>
    <th class="subheader" colspan="2">Misc</th>
    </tr>
    <th>Birth Weight (Kg)</th>
    <td>{{{birthweight}}}</td>
    </tr>
    <th>Starsign</th>
    <td>{{{starsign}}}</td>
    </tr>
    <th>Mothers Maiden Name</th>
    <td>{{{mmm}}}</td>
</tr></table>
</div>


<noinclude>
### Cargo Declare ###
-->{{#cargo_declare:_table=NPCs
  |World=String
  |MapLocation=String
  |QuestCount=Integer
  |BirthWeight=Float
  |Starsign=String
  |MomsMaidenName=String
  |Notes=Wikitext (size=3000)
  |NPCType=String
}}</noinclude><!--
 
### Cargo Store ###
--><includeonly>
{{#cargo_store:_table=NPCs
  |World={{{world|}}}
  |MapLocation={{{location|}}}
  |QuestCount={{{noquest|0}}}
  |BirthWeight={{{birthweight|}}}
  |Starsign={{{starsign|}}}
  |MomsMaidenName={{{mmm|}}}
  |Notes={{{notes|}}}
  |NPCType={{#if:{{{npcType|}}}|{{{npcType}}} }}NPC
}}<!--
 
### Infobox ###
--><infobox theme="npcinfo">
<title>
<default>{{PAGENAME}}</default>
</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
|loation=
|location=
|noquest=
|noquest=
|repeatable=
|birthweight=
|birthweight=
|starsign=
|starsign=
|mmm=
|mmm=
|notes=
}}
}}
</pre>
</pre>
[[Category:Infobox templates]]
</noinclude>
</noinclude>
[[Category:Pages with broken file links]]

Latest revision as of 09:32, 17 August 2024

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

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