Template:MerchantPage: Difference between revisions
m 1 revision imported |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This is a test template for merchants. | This is a test template for merchants. | ||
Usage notes: | |||
* <code>imagefilename</code> is optional. | |||
* <code>width</code> is optional and defaults to <code>520px</code>. | |||
* Example: <code>| width = 420px</code> | |||
---- | ---- | ||
</noinclude>__NOTOC__ | </noinclude>__NOTOC__ | ||
< | |||
{{#if:{{{imagefilename|}}}| | |||
<div class="merchant-page-image" style="float:right; margin: 0 0 1rem 1.25rem; max-width: min(620px, 55vw); text-align:center;"> | |||
[[File:{{{imagefilename}}}|{{#if:{{{width|}}}|{{{width}}}|520px}}|frameless|alt={{{name|Merchant image}}}]] | |||
</div> | |||
}} | |||
{{Mobstatsbox | {{Mobstatsbox | ||
| Line 24: | Line 34: | ||
| special = {{{special}}} | | special = {{{special}}} | ||
}} | }} | ||
{{#if: {{{second_image|}}} | [[File:{{{second_image}}}|frame|{{{second_imagetext|}}}]] }} | |||
{{#if:{{{second_image|}}}| | |||
<div class="merchant-page-image-secondary" style="float:right; clear:right; margin: 0 0 1rem 1.25rem; max-width: min(420px, 45vw); text-align:center;"> | |||
[[File:{{{second_image}}}|{{#if:{{{second_width|}}}|{{{second_width}}}|320px}}|frame|{{{second_imagetext|}}}]] | |||
</div> | |||
}} | |||
<div class="mobPageDiv"> | <div class="mobPageDiv"> | ||
| Line 49: | Line 65: | ||
</div> | </div> | ||
<div style="clear:both;"></div> | <div style="clear:both;"></div> | ||
<includeonly> | <includeonly> | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
Revision as of 21:37, 18 May 2026
This is a test template for merchants.
Usage notes:
imagefilenameis optional.widthis optional and defaults to520px.- Example:
| width = 420px
| {{{name}}} |
|---|
| Race: {{{race}}} |
| Class: {{{class}}} |
| Level: {{{level}}} |
| Spawn |
| Zone: {{{zone}}} |
| Location: {{{location}}}
|
| Stats |
| AC: {{{AC}}} |
| HP: {{{HP}}} ({{{HP_regen}}}) |
| Damage per hit: {{{damage_per_hit}}} |
| Attacks per round: {{{attacks_per_round}}} ({{{attack_speed}}}) |
| Special: {{{special}}} |
Description
none
Items Sold
- None
Factions
- None
Opposing Factions
- None
Related Quests
- None