Template:Npc: Difference between revisions

From IdleOn MMO Wiki
imported>BigCoight
(Created page with "<div class="infobox"> <table><th class="header">{{{title|{{PAGENAME}}}}}</th></table> <div class="infobox-image">[[File:{{PAGENAME}}.gif]]</div> <div style="font-size: 80%; fo...")
 
(Undo revision 78321 by Jasaj (talk))
Tag: Undo
 
(56 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>
### Cargo Declare ###
<div style="font-size: 80%; font-style: italic; text-align: center;">{{{caption}}}</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>{{{loation}}}</td>
  |Starsign=String
    </tr>
  |MomsMaidenName=String
     <th>Number Of Quests</th>
  |Notes=Wikitext (size=3000)
    <td>{{{noquest}}}</td>
  |NPCType=String
    </tr>
}}</noinclude><!--
     <th>Repeatable?</th>
 
     <td>{{{repeatable}}}</td>
### Cargo Store ###
    </tr>
--><includeonly>
     <th class="subheader" colspan="2">Misc</th>
{{#cargo_store:_table=NPCs
     </tr>
  |World={{{world|}}}
    <th>Birth Weight (Kg)</th>
  |MapLocation={{{location|}}}
    <td>{{{birthweight}}}</td>
  |QuestCount={{{noquest|0}}}
    </tr>
  |BirthWeight={{{birthweight|}}}
     <th>Starsign</th>
  |Starsign={{{starsign|}}}
    <td>{{{starsign}}}</td>
  |MomsMaidenName={{{mmm|}}}
     </tr>
  |Notes={{{notes|}}}
    <th>Mothers Maiden Name</th>
  |NPCType={{#if:{{{npcType|}}}|{{{npcType}}} }}NPC
    <td>{{{mmm}}}</td>
}}<!--
</tr></table>
 
</div>
### 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>
{{npc
|location=
|noquest=
|birthweight=
|starsign=
|mmm=
|notes=
}}
</pre>
[[Category:Infobox templates]]
</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=
}}