Template:EnemyNavigation: Difference between revisions

From IdleOn MMO Wiki
imported>BigCoight
No edit summary
mNo edit summary
 
(87 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<div class="navigation">
<noinclude><!-- old way
    <table style = "width: 500px; background: #c0b3cc;">
<div class="EnemyNav"><div class="EnemyNavLeft">{{#if:{{{1|}}}|[[File:ArrowLeft.png|15px|link={{{1}}}]] {{Enemy|{{{1}}}|16}}}}</div><div class="EnemyNavCenter">Enemies</div><div class="EnemyNavRight">{{#if:{{{2|}}}|{{Enemy|{{{2}}}|16}} [[File:ArrowRight.png|15px|link={{{2}}}]]}}</div></div>
        <td style = "width:45%;">
-->{{#invoke:EnemyNav|BuildNav|Type=Normal|Enemy=Slime}}Example for [[Slime]] using <code><nowiki>{{EnemyNavigation|type=Normal|enemy=Slime}}</nowiki></code></noinclude><includeonly>{{#invoke:EnemyNav|BuildNav|Type={{{type|Undefined}}}|Enemy={{{enemy|{{PAGENAME}}}}}}}</includeonly>
        {{#if:{{{prevImg|}}}|
            <table style ="background : #c0b3cc; width:100%;">
                <td style="text-align: right">[[File:ArrowLeft.png|15px|]]</td>
                <td style="text-align: center">[[File:{{{prevImg}}}|50px|link={{{prevLink}}}]]</td>
                <td style="text-align: right">{{{prevLink}}}</td>
            </table>
        }}
        </td>
        <td>Enemies</td>
        <td style="width:45%">
            <table style ="background: #c0b3cc;width:100%;">
                <td style="text-align: right">{{{nxtLink}}}</td>
                <td style="text-align: center">[[File:{{{nxtImg}}}|50px|link={{{nxtLink}}}]]</td>
                <td style="text-align: right">[[File:ArrowRight.png|15px|]]</td>
            </table>
        </td>
    </table>
</div>

Latest revision as of 18:05, 3 April 2024

Example for Slime using {{EnemyNavigation|type=Normal|enemy=Slime}}