Template:EnemyNavigation: Difference between revisions

From IdleOn MMO Wiki
imported>Wekhter
mNo edit summary
mNo edit summary
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<table class="EnemyNav" style="min-width:60%;">
<noinclude><!-- old way
<tr>
<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:40%;vertical-align: middle;padding:.5em;">
-->{{#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:{{{1|}}}|
                    [[File:ArrowLeft.png|15px|link={{{1}}}]] {{Enemy|{{{1}}}}}
                }}
            </table>
        </td>
        <td style="text-align: center;border:3px solid #916699;font-weight:bold;vertical-align: middle; padding:.5em;">Enemies</td>
        <td style="width:40%;vertical-align: middle;padding:.5em;text-align:right;">
                {{#if:{{{2|}}}|
                  {{Enemy|{{{1}}}}} [[File:ArrowRight.png|15px|link={{{2}}}]]
              }}
            </table>
        </td>
</tr>
</table><br clear="left">

Latest revision as of 18:05, 3 April 2024

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