Template:NPC: Difference between revisions

Template page
Content added Content deleted
m (More struggling to get this right)
en>James
(Got rid of html so people don't try to use this template (Use Npcinfo instead))
Line 1: Line 1:
<includeonly><div class="npcinfobox">
<table style="float:right; font-size:90%; text-align:left; border:1px solid #aaa; padding:1px; margin-bottom: 0.5em; margin-left: 1em; clear: right; color: black;; border-collapse:collapse;background-color: #f9f9f9;" width="326px" cellpadding="1px" border="1">
<tr><th colspan="2" style="font-size:110%; text-align: center; border:none;" itemprop="name" property="schema:name">''{{{title|}}}''
</th></tr>
{{#if:{{{image|}}}|
<tr><th colspan="2" style="text-align: center; padding:2px;" itemscope itemtype="http://schema.org/ImageObject" typeof="schema:ImageObject">
[[{{{image|}}}|320px]]<br/><span itemprop="caption" property="schema:caption">{{{caption|}}}</span></th></tr> | [[Category:NPC articles with no screenshots]] }}
{{#if:{{{location|}}}|
<tr><th style="border:none;">[[:Category:NPCs by location|Locations]]</th><td style="border:none;">{{{location|}}}</td></tr> }}
{{#if:{{{drops|}}}|
<tr><th style="border:none;">Special Drops</th><td style="border:none;">{{{drops|}}}</td></tr> }}
{{#if:{{{alignment|}}}|
<tr><th style="border:none;">Alignment</th><td style="border:none;">{{{alignment|}}}</td></tr>}}
</table>

<!-- end of npc info box -->
</div></includeonly><noinclude>
<div style="clear:both"></div>

Revision as of 03:02, 31 October 2020

Cookies help us deliver our services. By using our services, you agree to our use of cookies.