Difference between revisions of "Template:NpcNew"
From Medivia Online Wiki
(Created page with "<table class="wikitable"> <tr><th style="text-align: center"><div style="font-family: Tahoma; font-size: 12pt; color: #ff9448; text-align: center; text-shadow: #000 0px 0px 1p...") |
|||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<table class="wikitable"> | <noinclude> | ||
<tr><th style="text-align: center"><div style="font-family: Tahoma; font-size: | <!-- 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>'''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> | ||
<tr><th>'''Occupation:'''</th><td>{{{job}}}</td></tr><!-- | <tr><th>'''Occupation:'''</th><td>{{{job}}}</td></tr><!-- | ||
| Line 36: | Line 43: | ||
-->{{#if: {{{note|}}}|<tr><th>'''Notes:'''</th><td>{{{note}}}</td></tr>}}<!-- | -->{{#if: {{{note|}}}|<tr><th>'''Notes:'''</th><td>{{{note}}}</td></tr>}}<!-- | ||
--></table> | --></table> | ||
{{#if: {{{category|}}}|Go back to [[{{{category}}}]].}}< | {{#if: {{{category|}}}|Go back to [[{{{category}}}]].}} | ||
<includeonly> | |||
{{#cargo_store: | |||
_table = NpcData | |||
|Name = {{PAGENAME}} | |||
|City = {{{location|}}} | |||
}} | |||
</includeonly> | |||