Template:Area/tooltipbox: Difference between revisions

From IdleOn MMO Wiki
mNo edit summary
No edit summary
Line 1: Line 1:
<includeonly>&lt;div class='Infobox Detailbox'&gt;&lt;b class='Header'&gt;{{{Area}}}&lt;/b&gt;&lt;b class='SubHeader'&gt;Area in {{{World}}}&lt;/b&gt;&lt;i class='HeaderImage'&gt;&lt;img src='{{filepath:{{{EnemyImage}}}}}'&gt;&lt;/i&gt;&lt;b class='SubHeader'&gt;The enemy in there is {{{Enemy}}}&lt;/b&gt;&lt;dl&gt;&lt;/dl&gt;&lt;/div&gt;</includeonly><noinclude>HTML entity names are used within this template to avoid parsing the contents early. The readable version is as follows:
<includeonly>&lt;div class='Infobox Detailbox'&gt;
<pre><div class='Infobox Detailbox'>
    &lt;b class='SubHeader'&gt;The {{{Enemy}}} map&lt;/b&gt;
    <b class='Header'>{{{Area}}}</b>
    &lt;i class='HeaderImage'&gt;&lt;img src='{{filepath:{{{EnemyImage}}}}}'&gt;&lt;/i&gt;
     <b class='SubHeader'>Area in {{{World}}}</b>
    &lt;dl&gt;&lt;/dl&gt;
&lt;/div&gt;</includeonly><noinclude>
HTML entity names are used within this template to avoid parsing the contents early. The readable version is as follows:
    <pre>
<div class='Infobox Detailbox'>
     <b class='SubHeader'>The {{{Enemy}}} map</b>
     <i class='HeaderImage'><img src='{{filepath:{{{EnemyImage}}}}}'></i>
     <i class='HeaderImage'><img src='{{filepath:{{{EnemyImage}}}}}'></i>
    <b class='SubHeader'>The enemy in there is {{{Enemy}}}</b>
     <dl></dl>
     <dl></dl>
</div></pre></noinclude>
</div>
    </pre>
</noinclude>

Revision as of 18:08, 22 July 2024

HTML entity names are used within this template to avoid parsing the contents early. The readable version is as follows:

<div class='Infobox Detailbox'>
    <b class='SubHeader'>The {{{Enemy}}} map</b>
    <i class='HeaderImage'><img src='{{filepath:{{{EnemyImage}}}}}'></i>
    <dl></dl>
</div>