Template

BattleField: Difference between revisions

From The Rockman EXE Zone Wiki

No edit summary
No edit summary
Line 1: Line 1:
<includeonly><div class="template_battlefield">
<includeonly><div class="template_battlefield">
{| style="border-width:0;"
{{#ifeq:{{{nocol1|}}}|true||![[File:Panel_{{#ifeq:{{{col1|red}}}|missing|missing|r1_{{#ifeq:{{{col1|red}}}|blue|b|r}}_{{{style|bn1}}}{{#if:{{{panel11|}}}|-{{{panel11}}}}}}}.png|40x24px|link=]]{{#if:{{{object11|}}}|<div class="template_battlefield_obj-red template_battlefield_obj-{{{object11}}}">[[File:Object_{{{object11}}}.png|link=]]</div>}}}}{{#ifeq:{{{nocol2|}}}|true||![[File:Panel_{{#ifeq:{{{col2|red}}}|missing|missing|r1_{{#ifeq:{{{col2|red}}}|blue|b|r}}_{{{style|bn1}}}{{#if:{{{panel21|}}}|-{{{panel21}}}}}}}.png|40x24px|link=]]{{#if:{{{object21|}}}|<div class="template_battlefield_obj-red template_battlefield_obj-{{{object21}}}">[[File:Object_{{{object21}}}.png|link=]]</div>}}}}{{#ifeq:{{{nocol3|}}}|true||![[File:Panel_{{#ifeq:{{{col3|red}}}|missing|missing|r1_{{#ifeq:{{{col3|red}}}|blue|b|r}}_{{{style|bn1}}}{{#if:{{{panel31|}}}|-{{{panel31}}}}}}}.png|40x24px|link=]]{{#if:{{{object31|}}}|<div class="template_battlefield_obj-{{#ifeq:{{{col3|red}}}|blue|blue|red}} template_battlefield_obj-{{{object31}}}">[[File:Object_{{{object31}}}.png|link=]]</div>}}}}{{#ifeq:{{{nocol4|}}}|true||![[File:Panel_{{#ifeq:{{{col4|blue}}}|missing|missing|r1_{{#ifeq:{{{col4|blue}}}|red|r|b}}_{{{style|bn1}}}{{#if:{{{panel41|}}}|-{{{panel41}}}}}}}.png|40x24px|link=]]{{#if:{{{object41|}}}|<div class="template_battlefield_obj-{{#ifeq:{{{col4|blue}}}|red|red|blue}} template_battlefield_obj-{{{object41}}}">[[File:Object_{{{object41}}}.png|link=]]</div>}}}}{{#ifeq:{{{nocol5|}}}|true||![[File:Panel_{{#ifeq:{{{col5|blue}}}|missing|missing|r1_{{#ifeq:{{{col5|blue}}}|red|r|b}}_{{{style|bn1}}}{{#if:{{{panel51|}}}|-{{{panel51}}}}}}}.png|40x24px|link=]]{{#if:{{{object51|}}}|<div class="template_battlefield_obj-blue template_battlefield_obj-{{{object51}}}">[[File:Object_{{{object51}}}.png|link=]]</div>}}}}{{#ifeq:{{{nocol6|}}}|true||![[File:Panel_{{#ifeq:{{{col6|blue}}}|missing|missing|r1_{{#ifeq:{{{col6|blue}}}|red|r|b}}_{{{style|bn1}}}{{#if:{{{panel61|}}}|-{{{panel61}}}}}}}.png|40x24px|link=]]{{#if:{{{object61|}}}|<div class="template_battlefield_obj-blue template_battlefield_obj-{{{object61}}}">[[File:Object_{{{object61}}}.png|link=]]</div>}}}}
|-
{{#ifeq:{{{nocol1|}}}|true||![[File:Panel_{{#ifeq:{{{col1|red}}}|missing|missing|r2_{{#ifeq:{{{col1|red}}}|blue|b|r}}_{{{style|bn1}}}{{#if:{{{panel12|}}}|-{{{panel12}}}}}}}.png|40x24px|link=]]{{#if:{{{object12|}}}|<div class="template_battlefield_obj-red template_battlefield_obj-{{{object12}}}">[[File:Object_{{{object12}}}.png|link=]]</div>}}}}{{#ifeq:{{{nocol2|}}}|true||![[File:Panel_{{#ifeq:{{{col2|red}}}|missing|missing|r2_{{#ifeq:{{{col2|red}}}|blue|b|r}}_{{{style|bn1}}}{{#if:{{{panel22|}}}|-{{{panel22}}}}}}}.png|40x24px|link=]]{{#if:{{{object22|}}}|<div class="template_battlefield_obj-red template_battlefield_obj-{{{object22}}}">[[File:Object_{{{object22}}}.png|link=]]</div>}}}}{{#ifeq:{{{nocol3|}}}|true||![[File:Panel_{{#ifeq:{{{col3|red}}}|missing|missing|r2_{{#ifeq:{{{col3|red}}}|blue|b|r}}_{{{style|bn1}}}{{#if:{{{panel32|}}}|-{{{panel32}}}}}}}.png|40x24px|link=]]{{#if:{{{object32|}}}|<div class="template_battlefield_obj-{{#ifeq:{{{col3|red}}}|blue|blue|red}} template_battlefield_obj-{{{object32}}}">[[File:Object_{{{object32}}}.png|link=]]</div>}}}}{{#ifeq:{{{nocol4|}}}|true||![[File:Panel_{{#ifeq:{{{col4|blue}}}|missing|missing|r2_{{#ifeq:{{{col4|blue}}}|red|r|b}}_{{{style|bn1}}}{{#if:{{{panel42|}}}|-{{{panel42}}}}}}}.png|40x24px|link=]]{{#if:{{{object42|}}}|<div class="template_battlefield_obj-{{#ifeq:{{{col4|blue}}}|red|red|blue}} template_battlefield_obj-{{{object42}}}">[[File:Object_{{{object42}}}.png|link=]]</div>}}}}{{#ifeq:{{{nocol5|}}}|true||![[File:Panel_{{#ifeq:{{{col5|blue}}}|missing|missing|r2_{{#ifeq:{{{col5|blue}}}|red|r|b}}_{{{style|bn1}}}{{#if:{{{panel52|}}}|-{{{panel52}}}}}}}.png|40x24px|link=]]{{#if:{{{object52|}}}|<div class="template_battlefield_obj-blue template_battlefield_obj-{{{object52}}}">[[File:Object_{{{object52}}}.png|link=]]</div>}}}}{{#ifeq:{{{nocol6|}}}|true||![[File:Panel_{{#ifeq:{{{col6|blue}}}|missing|missing|r2_{{#ifeq:{{{col6|blue}}}|red|r|b}}_{{{style|bn1}}}{{#if:{{{panel62|}}}|-{{{panel62}}}}}}}.png|40x24px|link=]]{{#if:{{{object62|}}}|<div class="template_battlefield_obj-blue template_battlefield_obj-{{{object62}}}">[[File:Object_{{{object62}}}.png|link=]]</div>}}}}
|-
{{#ifeq:{{{nocol1|}}}|true||![[File:Panel_{{#ifeq:{{{col1|red}}}|missing|missing|r3_{{#ifeq:{{{col1|red}}}|blue|b|r}}_{{{style|bn1}}}{{#if:{{{panel13|}}}|-{{{panel13}}}}}}}.png|40x24px|link=]]{{#if:{{{object13|}}}|<div class="template_battlefield_obj-red template_battlefield_obj-{{{object13}}}">[[File:Object_{{{object13}}}.png|link=]]</div>}}}}{{#ifeq:{{{nocol2|}}}|true||![[File:Panel_{{#ifeq:{{{col2|red}}}|missing|missing|r3_{{#ifeq:{{{col2|red}}}|blue|b|r}}_{{{style|bn1}}}{{#if:{{{panel23|}}}|-{{{panel23}}}}}}}.png|40x24px|link=]]{{#if:{{{object23|}}}|<div class="template_battlefield_obj-red template_battlefield_obj-{{{object23}}}">[[File:Object_{{{object23}}}.png|link=]]</div>}}}}{{#ifeq:{{{nocol3|}}}|true||![[File:Panel_{{#ifeq:{{{col3|red}}}|missing|missing|r3_{{#ifeq:{{{col3|red}}}|blue|b|r}}_{{{style|bn1}}}{{#if:{{{panel33|}}}|-{{{panel33}}}}}}}.png|40x24px|link=]]{{#if:{{{object33|}}}|<div class="template_battlefield_obj-{{#ifeq:{{{col3|red}}}|blue|blue|red}} template_battlefield_obj-{{{object33}}}">[[File:Object_{{{object33}}}.png|link=]]</div>}}}}{{#ifeq:{{{nocol4|}}}|true||![[File:Panel_{{#ifeq:{{{col4|blue}}}|missing|missing|r3_{{#ifeq:{{{col4|blue}}}|red|r|b}}_{{{style|bn1}}}{{#if:{{{panel43|}}}|-{{{panel43}}}}}}}.png|40x24px|link=]]{{#if:{{{object43|}}}|<div class="template_battlefield_obj-{{#ifeq:{{{col4|blue}}}|red|red|blue}} template_battlefield_obj-{{{object43}}}">[[File:Object_{{{object43}}}.png|link=]]</div>}}}}{{#ifeq:{{{nocol5|}}}|true||![[File:Panel_{{#ifeq:{{{col5|blue}}}|missing|missing|r3_{{#ifeq:{{{col5|blue}}}|red|r|b}}_{{{style|bn1}}}{{#if:{{{panel53|}}}|-{{{panel53}}}}}}}.png|40x24px|link=]]{{#if:{{{object53|}}}|<div class="template_battlefield_obj-blue template_battlefield_obj-{{{object53}}}">[[File:Object_{{{object53}}}.png|link=]]</div>}}}}{{#ifeq:{{{nocol6|}}}|true||![[File:Panel_{{#ifeq:{{{col6|blue}}}|missing|missing|r3_{{#ifeq:{{{col6|blue}}}|red|r|b}}_{{{style|bn1}}}{{#if:{{{panel63|}}}|-{{{panel63}}}}}}}.png|40x24px|link=]]{{#if:{{{object63|}}}|<div class="template_battlefield_obj-blue template_battlefield_obj-{{{object63}}}">[[File:Object_{{{object63}}}.png|link=]]</div>}}}}
|-
{{#ifeq:{{{nocol1|}}}|true||{{!}}[[File:Panel_bottom_{{#ifeq:{{{col1|red}}}|missing|missing|{{#ifeq:{{{col1|red}}}|blue|b|r}}_{{{style|bn1}}}}}.png|40x8px|link=]]}}{{#ifeq:{{{nocol2|}}}|true||{{!}}[[File:Panel_bottom_{{#ifeq:{{{col2|red}}}|missing|missing|{{#ifeq:{{{col2|red}}}|blue|b|r}}_{{{style|bn1}}}}}.png|40x8px|link=]]}}{{#ifeq:{{{nocol3|}}}|true||{{!}}[[File:Panel_bottom_{{#ifeq:{{{col3|red}}}|missing|missing|{{#ifeq:{{{col3|red}}}|blue|b|r}}_{{{style|bn1}}}}}.png|40x8px|link=]]}}{{#ifeq:{{{nocol4|}}}|true||{{!}}[[File:Panel_bottom_{{#ifeq:{{{col4|blue}}}|missing|missing|{{#ifeq:{{{col4|blue}}}|red|r|b}}_{{{style|bn1}}}}}.png|40x8px|link=]]}}{{#ifeq:{{{nocol5|}}}|true||{{!}}[[File:Panel_bottom_{{#ifeq:{{{col5|blue}}}|missing|missing|{{#ifeq:{{{col5|blue}}}|red|r|b}}_{{{style|bn1}}}}}.png|40x8px|link=]]}}{{#ifeq:{{{nocol6|}}}|true||{{!}}[[File:Panel_bottom_{{#ifeq:{{{col6|blue}}}|missing|missing|{{#ifeq:{{{col6|blue}}}|red|r|b}}_{{{style|bn1}}}}}.png|40x8px|link=]]}}
|}</div></includeonly><noinclude>==Example==
{{BattleField
|style=bn2
|col1=blue
|col4=missing
|col6=red<includeonly><div class="template_battlefield">
{| style="border-width:0;"
{| style="border-width:0;"
{{#ifeq:{{{nocol1|}}}|true||![[File:Panel_{{#ifeq:{{{col1|red}}}|missing|missing|r1_{{#ifeq:{{{col1|red}}}|blue|b|r}}_{{{style|bn1}}}{{#if:{{{panel11|}}}|-{{{panel11}}}}}}}.png|40x24px|link=]]{{#if:{{{object11|}}}|<div class="template_battlefield_obj-red template_battlefield_obj-{{{object11}}}">[[File:Object_{{{object11}}}.png|link=]]</div>}}}}
{{#ifeq:{{{nocol1|}}}|true||![[File:Panel_{{#ifeq:{{{col1|red}}}|missing|missing|r1_{{#ifeq:{{{col1|red}}}|blue|b|r}}_{{{style|bn1}}}{{#if:{{{panel11|}}}|-{{{panel11}}}}}}}.png|40x24px|link=]]{{#if:{{{object11|}}}|<div class="template_battlefield_obj-red template_battlefield_obj-{{{object11}}}">[[File:Object_{{{object11}}}.png|link=]]</div>}}}}
Line 34: Line 48:
|col4=missing
|col4=missing
|col6=red
|col6=red
|panel21=poison
|panel22=holy
|panel23=poison
|panel31=grass
|panel32=grass
|panel33=grass
|panel51=cracked
|panel52=cracked
|panel53=cracked
|object11=canodumb2-bn2
|object13=canodumb3-bn2
|object22=megaman-bn4
|object33=mushy
|object41=eleball
|object52=fishy-bn2
|object61=roll-bn4
}}
{{BattleField
|style=bn6
|nocol4=true
|nocol5=true
|nocol6=true
|object22=megaman-bn6
}}
==Usage==
<pre>{{BattleField
|style=bn2
|col1=blue
|col4=missing
|col6=red
|panel21=poison
|panel22=holy
|panel23=poison
|panel31=grass
|panel32=grass
|panel33=grass
|panel51=cracked
|panel52=cracked
|panel53=cracked
|object11=canodumb2-bn2
|object13=canodumb3-bn2
|object22=megaman-bn4
|object33=mushy
|object41=eleball
|object52=fishy-bn2
|object61=roll-bn4
}}
{{BattleField
|style=bn6
|nocol4=true
|nocol5=true
|nocol6=true
|object22=megaman-bn6
}}</pre></noinclude>
|panel21=poison
|panel21=poison
|panel22=holy
|panel22=holy

Revision as of 20:55, 18 September 2019

Example

Panel r1 b bn2.png
Object canodumb2-bn2.png
!Panel r1 r bn2-poison.png!Panel r1 r bn2-grass.png!Panel missing.png
Object eleball.png
!Panel r1 b bn2-cracked.png!Panel r1 b bn2.png
Object roll-bn4.png
Panel r2 b bn2.png!Panel r2 r bn2-holy.png
Object megaman-bn4.png
!Panel r2 r bn2-grass.png!Panel missing.png!Panel r2 b bn2-cracked.png
Object fishy-bn2.png
!Panel r2 b bn2.png
Panel r3 b bn2.png
Object canodumb3-bn2.png
!Panel r3 r bn2-poison.png!Panel r3 r bn2-grass.png
Object mushy.png
!Panel missing.png!Panel r3 b bn2-cracked.png!Panel r3 b bn2.png
Panel bottom b bn2.png|Panel bottom r bn2.png|Panel bottom r bn2.png|Panel bottom missing.png|Panel bottom b bn2.png|Panel bottom b bn2.png

|panel21=poison |panel22=holy |panel23=poison |panel31=grass |panel32=grass |panel33=grass |panel51=cracked |panel52=cracked |panel53=cracked |object11=canodumb2-bn2 |object13=canodumb3-bn2 |object22=megaman-bn4 |object33=mushy |object41=eleball |object52=fishy-bn2 |object61=roll-bn4 }}

Template loop detected: Template:BattleField

Usage

{{BattleField
|style=bn2
|col1=blue
|col4=missing
|col6=red
|panel21=poison
|panel22=holy
|panel23=poison
|panel31=grass
|panel32=grass
|panel33=grass
|panel51=cracked
|panel52=cracked
|panel53=cracked
|object11=canodumb2-bn2
|object13=canodumb3-bn2
|object22=megaman-bn4
|object33=mushy
|object41=eleball
|object52=fishy-bn2
|object61=roll-bn4
}}

{{BattleField
|style=bn6
|nocol4=true
|nocol5=true
|nocol6=true
|object22=megaman-bn6
}}

</noinclude>

Panel r1 r bn6.png!Panel r1 r bn6.png!Panel r1 r bn6.png
Panel r2 r bn6.png!Panel r2 r bn6.png
Object megaman-bn6.png
!Panel r2 r bn6.png
Panel r3 r bn6.png!Panel r3 r bn6.png!Panel r3 r bn6.png
Panel bottom r bn6.png|Panel bottom r bn6.png|Panel bottom r bn6.png

|panel21=poison |panel22=holy |panel23=poison |panel31=grass |panel32=grass |panel33=grass |panel51=cracked |panel52=cracked |panel53=cracked |object11=canodumb2-bn2 |object13=canodumb3-bn2 |object22=megaman-bn4 |object33=mushy |object41=eleball |object52=fishy-bn2 |object61=roll-bn4 }}

Template loop detected: Template:BattleField

Usage

{{BattleField
|style=bn2
|col1=blue
|col4=missing
|col6=red
|panel21=poison
|panel22=holy
|panel23=poison
|panel31=grass
|panel32=grass
|panel33=grass
|panel51=cracked
|panel52=cracked
|panel53=cracked
|object11=canodumb2-bn2
|object13=canodumb3-bn2
|object22=megaman-bn4
|object33=mushy
|object41=eleball
|object52=fishy-bn2
|object61=roll-bn4
}}

{{BattleField
|style=bn6
|nocol4=true
|nocol5=true
|nocol6=true
|object22=megaman-bn6
}}

</noinclude>

Usage

{{BattleField
|style=bn2
|col1=blue
|col4=missing
|col6=red
|panel21=poison
|panel22=holy
|panel23=poison
|panel31=grass
|panel32=grass
|panel33=grass
|panel51=cracked
|panel52=cracked
|panel53=cracked
|object11=canodumb2-bn2
|object13=canodumb3-bn2
|object22=megaman-bn4
|object33=mushy
|object41=eleball
|object52=fishy-bn2
|object61=roll-bn4
}}

{{BattleField
|style=bn6
|nocol4=true
|nocol5=true
|nocol6=true
|object22=megaman-bn6
}}