Template:Npc: Difference between revisions

From IdleOn MMO Wiki
imported>Kiokurashi
No edit summary
(Undo revision 78321 by Jasaj (talk))
Tag: Undo
 
(27 intermediate revisions by 7 users not shown)
Line 3: Line 3:
### Cargo Declare ###
### Cargo Declare ###
-->{{#cargo_declare:_table=NPCs
-->{{#cargo_declare:_table=NPCs
  |World=String
   |MapLocation=String
   |MapLocation=String
   |QuestCount=Integer
   |QuestCount=Integer
Line 8: Line 9:
   |Starsign=String
   |Starsign=String
   |MomsMaidenName=String
   |MomsMaidenName=String
   |Notes=Wikitext
   |Notes=Wikitext (size=3000)
  |NPCType=String
}}</noinclude><!--
}}</noinclude><!--


Line 14: Line 16:
--><includeonly>
--><includeonly>
{{#cargo_store:_table=NPCs
{{#cargo_store:_table=NPCs
  |World={{{world|}}}
   |MapLocation={{{location|}}}
   |MapLocation={{{location|}}}
   |QuestCount={{{noquest|}}}
   |QuestCount={{{noquest|0}}}
   |BirthWeight={{{birthweight|}}}
   |BirthWeight={{{birthweight|}}}
   |Starsign={{{starsign|}}}
   |Starsign={{{starsign|}}}
   |MomsMaidenName={{{mmm|}}}
   |MomsMaidenName={{{mmm|}}}
   |Notes={{{notes|}}}
   |Notes={{{notes|}}}
  |NPCType={{#if:{{{npcType|}}}|{{{npcType}}} }}NPC
}}<!--
}}<!--


### Infobox ###
### Infobox ###
-->{| class="Infobox"
--><infobox theme="npcinfo">
|-
<title>
! colspan="2" class="Header" | {{PAGENAME}}
<default>{{PAGENAME}}</default>
|-
</title>
| colspan="2" class="HeaderImage" | [[file:{{PAGENAME}}.gif]]
<image>
|-
        <default>[[File:{{PAGENAME}}.gif]]</default>
! colspan="2" class="SubHeader" | Information
    </image>
|-
    <header>Information</header>
! Location
    <data source="world">
| [[Worlds#{{{location}}} | {{{location}}}]]
<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>
! Number of Quests
</data>
| {{{noquest|}}}
    <data source="location">
|-
<label>Area</label>
! colspan="2" class="SubHeader" | Misc
        <format>{{Area|{{{location}}}}}</format>
|-
</data>
! Birth Weight (Kg)
    <data source="customarea">
| {{{birthweight}}}
<label>Location</label>
|-
</data>
! Starsign
    <data source="noquest">
| {{{starsign}}}
<label>Total Quests</label>
|-
</data>
! class="LastTable" | Mothers Maiden Name
    <header>Misc</header>
| {{{mmm|}}}
    <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|}}}
{{{notes|}}}
Line 55: Line 68:
|description=Location: {{{location}}}
|description=Location: {{{location}}}
Number of Quests: {{{noquest|0}}}
Number of Quests: {{{noquest|0}}}
}}
}}[[Category:NPC]]</includeonly><noinclude>
[[Category:NPC]]
</includeonly><noinclude>
<pre>
<pre>
{{npc
{{npc

Latest revision as of 09:32, 17 August 2024

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

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