Jump to navigation Jump to search

Template:NPC: Difference between revisions

No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<div align="center">
<div align="center">
[[ {{{npcname}}|{{npcname}} ]] | [[ {{npcname}}/statblock|statblock]]
{{#if:{{{npcname|}}}|
<div class="infobox tantable {{{ibclass|}}}">
<div class="npc-nav" style="text-align:center; font-size:smaller; padding:4px;>
<table class="infobox-table">
  [[{{{npcname}}}|{{{npcname}}}]] &#124; [[{{{npcname}}}/statblock|statblock]]
{|
</div>
! colspan="2" class="ibname" style="background-color: {{{bgcolor|#000}}}; color: {{{fgcolor|#fff}}}; font-weight: bold;" | {{ #if:{{{ibname|}}} | {{{ibname}}}|{{PAGENAME}}}}{{ #if:{{{ibnamenote|}}} | <small> {{{ibnamenote}}}</small>|}}
|-
{{ #if:{{{npctype|}}} |
! colspan="2" style="background-color: {{{bgcolor|#000}}}; color: {{{fgcolor|#fff}}}; font-weight: bold;" {{!}} ({{{npctype|}}})
}}
{{ #forargs: paramname
  | key
  | value
  | <nowiki/>
{{ #if:{{{param{{#var: key}}|}}} |
{{!}} {{#var: paramname}}
{{!}} '''{{#var: value}}'''
{{!}} {{{param{{#var: key}}|}}}
}}
{{!}}-
}}
}}
}}
|}
</table>
</div>
</div>


</div>
</div>

Latest revision as of 22:35, 7 May 2025


Template documentation (for the above template, sometimes hidden or invisible)
Template:Tocright

Template

{{NPC
| npcname=Magma-Shard
}}

Usage

{{NPC
| npcname=Magma-Shard
}}

Example

{{NPC
| npcname=Magma-Shard
}}

renders as



Visit Template:NPC/doc to edit this text! (How does this work?)