Template:NpcNew: Difference between revisions

From Medivia Online Wiki
Vezter (talk | contribs)
No edit summary
Vezter (talk | contribs)
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table class="wikitable">
<noinclude>
<!-- Cargo table declaration for NPC data -->
{{#cargo_declare:
_table = NpcData
|Name = String
|City = String
}}
</noinclude><table class="wikitable">
<tr><th style="text-align: center"><div style="font-family: Tahoma; font-weight: normal; word-spacing: -2px; font-size: 11pt; color: #ff9448; text-align: center; text-shadow: #000 1px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px;text-align: center">{{{name}}}<br>{{{image|[[File:NPC_Image_Missing.png|NPC Missing Image]]}}}</div></th><th>{{{name}}}</th></tr>
<tr><th style="text-align: center"><div style="font-family: Tahoma; font-weight: normal; word-spacing: -2px; font-size: 11pt; color: #ff9448; text-align: center; text-shadow: #000 1px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px, #000 0px 0px 1px;text-align: center">{{{name}}}<br>{{{image|[[File:NPC_Image_Missing.png|NPC Missing Image]]}}}</div></th><th>{{{name}}}</th></tr>
<tr><th>'''Location:'''</th><td>{{#if: {{{link|}}}|[[File:Map.png|link={{{link}}}]]}} {{{location}}}</td></tr>
<tr><th>'''Location:'''</th><td>{{#if: {{{link|}}}|[[File:Map.png|link={{{link}}}]]}} {{{location}}}</td></tr>
Line 37: Line 44:
--></table>
--></table>
{{#if: {{{category|}}}|Go back to [[{{{category}}}]].}}
{{#if: {{{category|}}}|Go back to [[{{{category}}}]].}}
<includeonly>
<includeonly>
{{#cargo_store:
{{#cargo_store:
_table = NpcData
_table = NpcData
|Name = {{PAGENAME}}
|Name = {{PAGENAME}}
|City = {{{location|}}}
|City = {{{city|{{{location|}}}}}}
}}
}}
</includeonly>
</includeonly>

Latest revision as of 18:36, 24 August 2026

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

{{{name}}}
NPC Missing Image
{{{name}}}
Location: {{{location}}}
Occupation:{{{job}}}