Template:Npc: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
m (Text replacement - "loation" to "location")
(Undo revision 78321 by Jasaj (talk))
Tag: Undo
 
(47 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>{{{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></table>
  |Notes={{{notes|}}}
</div>[[Category:NPC]]
  |NPCType={{#if:{{{npcType|}}}|{{{npcType}}} }}NPC
</includeonly>
}}<!--
<noinclude>
 
### 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
Line 33: Line 76:
|starsign=
|starsign=
|mmm=
|mmm=
|notes=
}}
}}
</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=
}}