Jump to content

Template:MerchantPage: Difference between revisions

From EverQuest Legends Wiki
No edit summary
Tag: Manual revert
No edit summary
Tag: Reverted
Line 1: Line 1:
<noinclude>
<noinclude>
This is a test template for merchants.
This is a template for merchant NPC pages.


Usage notes:
Common parameters:
* <code>imagefilename</code> is optional.
* <code>imagefilename</code> — optional image filename
* <code>width</code> is optional and defaults to <code>520px</code>.
* <code>width</code> — optional image width, defaults to <code>460px</code>
* Example: <code>| width = 420px</code>
* <code>second_image</code> — optional secondary image
* <code>second_width</code> — optional secondary image width, defaults to <code>280px</code>
----
----
</noinclude>__NOTOC__
</noinclude>__NOTOC__


{{#if:{{{imagefilename|}}}|
<div class="merchant-page-shell" style="
<div class="merchant-page-image" style="float:right; margin: 0 0 1rem 1.25rem; max-width: min(620px, 55vw); text-align:center;">
margin: 0.75rem 0 1rem;
[[File:{{{imagefilename}}}|{{#if:{{{width|}}}|{{{width}}}|520px}}|frameless|alt={{{name|Merchant image}}}]]
padding: 0.85rem;
</div>
background: linear-gradient(180deg, rgba(13,18,26,0.88), rgba(8,12,18,0.94));
}}
border: 1px solid rgba(216,183,92,0.34);
border-radius: 10px;
box-shadow: 0 10px 28px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.04);
box-sizing: border-box;
">
 
<div class="merchant-page-top" style="
display: grid;
grid-template-columns: minmax(240px, 0.42fr) minmax(360px, 0.58fr);
gap: 0.85rem;
align-items: start;
">


<div class="merchant-page-stats" style="
min-width: 0;
padding: 0.65rem;
background: rgba(255,255,255,0.03);
border: 1px solid rgba(255,255,255,0.09);
border-radius: 8px;
box-sizing: border-box;
">
{{Mobstatsbox
{{Mobstatsbox
| name              = {{{name}}}
| name              = {{{name}}}
Line 33: Line 53:
| damage_per_hit    = {{{damage_per_hit}}}
| damage_per_hit    = {{{damage_per_hit}}}
| special          = {{{special}}}
| special          = {{{special}}}
}}
</div>
<div class="merchant-page-media" style="
min-width: 0;
display: grid;
grid-template-columns: minmax(0, 1fr);
gap: 0.75rem;
">
{{#if:{{{imagefilename|}}}|
<div class="merchant-page-image" style="
padding: 0.55rem;
background: rgba(255,255,255,0.03);
border: 1px solid rgba(216,183,92,0.24);
border-radius: 8px;
text-align: center;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
box-sizing: border-box;
">
[[File:{{{imagefilename}}}|{{#if:{{{width|}}}|{{{width}}}|460px}}|frameless|alt={{{name|Merchant image}}}]]
</div>
}}
}}


{{#if:{{{second_image|}}}|
{{#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;">
<div class="merchant-page-image-secondary" style="
[[File:{{{second_image}}}|{{#if:{{{second_width|}}}|{{{second_width}}}|320px}}|frame|{{{second_imagetext|}}}]]
padding: 0.55rem;
background: rgba(255,255,255,0.03);
border: 1px solid rgba(216,183,92,0.20);
border-radius: 8px;
text-align: center;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
box-sizing: border-box;
">
[[File:{{{second_image}}}|{{#if:{{{second_width|}}}|{{{second_width}}}|280px}}|frameless|{{{second_imagetext|}}}]]
{{#if:{{{second_imagetext|}}}|
<div style="margin-top: 0.35rem; color: #aab3c2; font-size: 0.84rem; line-height: 1.25;">
{{{second_imagetext}}}
</div>
</div>
}}
}}
</div>
}}
</div>
</div>
<div class="mobPageDiv merchant-page-content" style="
margin-top: 0.85rem;
display: grid;
grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
gap: 0.85rem;
align-items: start;
">


<div class="mobPageDiv">
<div class="merchant-page-main" style="
display: grid;
grid-template-columns: 1fr;
gap: 0.85rem;
min-width: 0;
">


=== Description ===
<div class="merchant-page-section" style="
padding: 0.8rem;
background: rgba(255,255,255,0.03);
border: 1px solid rgba(255,255,255,0.09);
border-radius: 8px;
box-sizing: border-box;
">
<h2 style="
margin: 0 0 0.55rem;
padding: 0 0 0.3rem;
color: #d8b75c;
font-family: Georgia, 'Times New Roman', serif;
font-size: 1.15rem;
letter-spacing: 0.04em;
border-bottom: 1px solid rgba(216,183,92,0.22);
">Description</h2>


{{{description|none}}}
{{{description|none}}}
</div>


=== Items Sold ===
<div class="merchant-page-section" style="
padding: 0.8rem;
background: rgba(255,255,255,0.03);
border: 1px solid rgba(255,255,255,0.09);
border-radius: 8px;
box-sizing: border-box;
">
<h2 style="
margin: 0 0 0.55rem;
padding: 0 0 0.3rem;
color: #d8b75c;
font-family: Georgia, 'Times New Roman', serif;
font-size: 1.15rem;
letter-spacing: 0.04em;
border-bottom: 1px solid rgba(216,183,92,0.22);
">Items Sold</h2>


{{{items_sold|* None}}}
{{{items_sold|* None}}}
</div>
</div>
<div class="merchant-page-side" style="
display: grid;
grid-template-columns: 1fr;
gap: 0.85rem;
min-width: 0;
">


=== Factions ===
<div class="merchant-page-section" style="
padding: 0.75rem;
background: rgba(255,255,255,0.03);
border: 1px solid rgba(255,255,255,0.09);
border-radius: 8px;
box-sizing: border-box;
">
<h2 style="
margin: 0 0 0.5rem;
padding: 0 0 0.3rem;
color: #d8b75c;
font-family: Georgia, 'Times New Roman', serif;
font-size: 1.05rem;
letter-spacing: 0.04em;
border-bottom: 1px solid rgba(216,183,92,0.20);
">Factions</h2>


{{{factions|* None}}}
{{{factions|* None}}}
</div>


=== Opposing Factions ===
<div class="merchant-page-section" style="
padding: 0.75rem;
background: rgba(255,255,255,0.03);
border: 1px solid rgba(255,255,255,0.09);
border-radius: 8px;
box-sizing: border-box;
">
<h2 style="
margin: 0 0 0.5rem;
padding: 0 0 0.3rem;
color: #d8b75c;
font-family: Georgia, 'Times New Roman', serif;
font-size: 1.05rem;
letter-spacing: 0.04em;
border-bottom: 1px solid rgba(216,183,92,0.20);
">Opposing Factions</h2>


{{{opposing_factions|* None}}}
{{{opposing_factions|* None}}}
</div>


=== Related Quests ===
<div class="merchant-page-section" style="
padding: 0.75rem;
background: rgba(255,255,255,0.03);
border: 1px solid rgba(255,255,255,0.09);
border-radius: 8px;
box-sizing: border-box;
">
<h2 style="
margin: 0 0 0.5rem;
padding: 0 0 0.3rem;
color: #d8b75c;
font-family: Georgia, 'Times New Roman', serif;
font-size: 1.05rem;
letter-spacing: 0.04em;
border-bottom: 1px solid rgba(216,183,92,0.20);
">Related Quests</h2>


{{{related_quests|* None}}}
{{{related_quests|* None}}}
</div>


</div>
</div>
</div>
</div>
<div style="clear:both;"></div>
<div style="clear:both;"></div>



Revision as of 21:54, 18 May 2026

This is a template for merchant NPC pages.

Common parameters:

  • imagefilename — optional image filename
  • width — optional image width, defaults to 460px
  • second_image — optional secondary image
  • second_width — optional secondary image width, defaults to 280px


{{{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
  • None