Difference between revisions of "Template:NPC"

From XilePK - Ragnarok Online Server
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
<div class="mainpage-contents tile-row">
 
<div class="mainpage-contents tile-row">
 
<div class="contents-equipment tile-halves">
 
<div class="contents-equipment tile-halves">
     <div class="tile-top tile-image {{#if:{{{5|}}}|tile-image-custom}}" style="{{#if:{{{5|}}}|--custom-width:{{{5}}}px; --custom-height:{{{6|}}}px;}}">
+
     <div class="tile-top tile-image nomobile">[[File:{{{1|Hat_shop.gif}}}|{{#if:{{{5|}}}|{{{5}}}px|}}|link=#{{{2|npc-id}}}|{{#ifexpr:{{{5|}}}>0|class="custom-size" data-width="{{{5}}}" data-height="{{{#if:{{{6|}}}|{{{6}}}|{{{5}}}}}" style="--custom-width:{{{5}}}px; --custom-height:{{#if:{{{6|}}}|{{{6}}}|{{{5}}}}}px;"|}}]]</div>
        [[File:{{{1|Hat_shop.gif}}}|link=#{{{2|npc-id}}}|class=warp-copy|data-copy="@warp {{{2}}}"]]
 
    </div>
 
 
     <div class="tile-bottom link-button">
 
     <div class="tile-bottom link-button">
 
         <h2><span class="warp-copy" data-copy="@warp {{{2}}}">{{{3|Nome do NPC}}}</span></h2>
 
         <h2><span class="warp-copy" data-copy="@warp {{{2}}}">{{{3|Nome do NPC}}}</span></h2>

Latest revision as of 17:14, 30 April 2025