Template:Infobox NPC: Difference between revisions

From OpenSpell Wiki
Jump to navigationJump to search
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
<noinclude>
== Usage ==
== Usage ==
Line 7: Line 6:
{{Infobox NPC
{{Infobox NPC
| name        =  
| name        =  
| image        = Knight.png
| caption      =
| description  =  
| description  =  
| combat_level =  
| combat_level =  
Line 22: Line 23:
}}
}}
</pre>
</pre>
Upload images to the wiki via [[Special:Upload]] and reference by filename.
[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>
<includeonly>
<includeonly>
{| class="wikitable" style="float:right; clear:right; margin:0 0 1em 1em; text-align:left; min-width:220px; font-size:13px;"
{| class="wikitable" style="float:right; clear:right; margin:0 0 1em 1.5em; text-align:left; width:300px; font-size:13px; border:1px solid #a2a9b1;"
|-
|-
! colspan="2" style="background:#2c2c2c; color:#f0e6c8; font-size:1.1em; padding:6px 10px; text-align:center;" | {{{name|Unknown NPC}}}
! colspan="2" style="background:#2c2c2c; color:#f0e6c8; font-size:1.15em; padding:8px 12px; text-align:center; border-bottom:2px solid #c8a96e;" | {{{name|Unknown NPC}}}
|-
| colspan="2" style="text-align:center; padding:10px; background:#1a1a1a;" |
{{{image|[[File:Npc_placeholder.png|200px]]}}}
 
{{{caption|}}}
|-
|-
! colspan="2" style="background:#3a3a3a; color:#c8a96e; text-align:center;" | General
! colspan="2" style="background:#3a3a3a; color:#c8a96e; text-align:center; padding:4px;" | General
|-
|-
! style="width:50%;" | Description
! style="width:45%; padding:4px 8px; background:#f8f9fa;" | Description
| ''{{{description|}}}''
| style="padding:4px 8px;" | ''{{{description|}}}''
|-
|-
! | Pickpocketable
! style="padding:4px 8px; background:#f8f9fa;" | Pickpocketable
| {{{pickpocketable|}}}
| style="padding:4px 8px;" | {{{pickpocketable|}}}
|-
|-
! | Shop
! style="padding:4px 8px; background:#f8f9fa;" | Shop
| {{{can_shop|}}}
| style="padding:4px 8px;" | {{{can_shop|}}}
|-
|-
! colspan="2" style="background:#3a3a3a; color:#c8a96e; text-align:center;" | Combat stats
! colspan="2" style="background:#3a3a3a; color:#c8a96e; text-align:center; padding:4px;" | Combat stats
|-
|-
! | Combat level
! style="padding:4px 8px; background:#f8f9fa;" | Combat level
| {{{combat_level|}}}
| style="padding:4px 8px;" | {{{combat_level|}}}
|-
|-
! | Hitpoints
! style="padding:4px 8px; background:#f8f9fa;" | Hitpoints
| {{{hitpoints|}}}
| style="padding:4px 8px;" | {{{hitpoints|}}}
|-
|-
! | Accuracy
! style="padding:4px 8px; background:#f8f9fa;" | Accuracy
| {{{accuracy|}}}
| style="padding:4px 8px;" | {{{accuracy|}}}
|-
|-
! | Strength
! style="padding:4px 8px; background:#f8f9fa;" | Strength
| {{{strength|}}}
| style="padding:4px 8px;" | {{{strength|}}}
|-
|-
! | Defense
! style="padding:4px 8px; background:#f8f9fa;" | Defense
| {{{defense|}}}
| style="padding:4px 8px;" | {{{defense|}}}
|-
|-
! | Magic
! style="padding:4px 8px; background:#f8f9fa;" | Magic
| {{{magic|}}}
| style="padding:4px 8px;" | {{{magic|}}}
|-
|-
! | Ranged
! style="padding:4px 8px; background:#f8f9fa;" | Ranged
| {{{range|}}}
| style="padding:4px 8px;" | {{{range|}}}
|-
|-
! | Speed
! style="padding:4px 8px; background:#f8f9fa;" | Speed
| {{{speed|}}}
| style="padding:4px 8px;" | {{{speed|}}}
|-
|-
! | Aggressive
! style="padding:4px 8px; background:#f8f9fa;" | Aggressive
| {{{aggro|}}}
| style="padding:4px 8px;" | {{{aggro|}}}
|-
|-
! | Respawn (ticks)
! style="padding:4px 8px; background:#f8f9fa;" | Respawn (ticks)
| {{{respawn|}}}
| style="padding:4px 8px;" | {{{respawn|}}}
|}
|}
</includeonly>
</includeonly>

Revision as of 09:15, 28 February 2026

Usage

Place on any NPC article page.

{{Infobox NPC
| name         = 
| image        = Knight.png
| caption      = 
| description  = 
| combat_level = 
| hitpoints    = 
| accuracy     = 
| strength     = 
| defense      = 
| magic        = 
| range        = 
| speed        = 
| aggro        = 
| respawn      = 
| pickpocketable =
| can_shop     = 
}}

Upload images to the wiki via Special:Upload and reference by filename.