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 ==
Displays a "View on map" link for NPC spawn locations.
Place on any NPC article page.
Once the MapEmbed extension is installed this will render as an interactive button.
For now it renders as a plain text link.


<pre>
<pre>
{{Map spawn|label=Knight|cx=-273|cy=-254|level=1|markers=x,y,r;x,y,r}}
{{Infobox NPC
| name        =  
| description  =  
| combat_level =  
| hitpoints    =  
| accuracy    =  
| strength    =
| defense      =
| magic        =
| range        =
| speed        =
| aggro        =
| respawn      =
| pickpocketable =
| can_shop    =
}}
</pre>
</pre>
[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude><includeonly>[https://highspellmap.com 🗺️ View on map] ({{{label|}}} · {{{markers|}}})
</noinclude>
<includeonly>
{| class="wikitable" style="float:right; clear:right; margin:0 0 1em 1em; text-align:left; min-width:220px; font-size:13px;"
|-
! colspan="2" style="background:#2c2c2c; color:#f0e6c8; font-size:1.1em; padding:6px 10px; text-align:center;" | {{{name|Unknown NPC}}}
|-
! colspan="2" style="background:#3a3a3a; color:#c8a96e; text-align:center;" | General
|-
! style="width:50%;" | Description
| ''{{{description|}}}''
|-
! | Pickpocketable
| {{{pickpocketable|}}}
|-
! | Shop
| {{{can_shop|}}}
|-
! colspan="2" style="background:#3a3a3a; color:#c8a96e; text-align:center;" | Combat stats
|-
! | Combat level
| {{{combat_level|}}}
|-
! | Hitpoints
| {{{hitpoints|}}}
|-
! | Accuracy
| {{{accuracy|}}}
|-
! | Strength
| {{{strength|}}}
|-
! | Defense
| {{{defense|}}}
|-
! | Magic
| {{{magic|}}}
|-
! | Ranged
| {{{range|}}}
|-
! | Speed
| {{{speed|}}}
|-
! | Aggressive
| {{{aggro|}}}
|-
! | Respawn (ticks)
| {{{respawn|}}}
|}
</includeonly>
</includeonly>

Revision as of 09:10, 28 February 2026


Usage

Place on any NPC article page.

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