Difference between revisions of "Template:Boss"

From ALttP Speedrunning Wiki
Jump to: navigation, search
(o)
 
(7 intermediate revisions by the same user not shown)
Line 11: Line 11:
 
   }
 
   }
  
   .next-boss {
+
   td.nextBoss {
 
     text-align: right;
 
     text-align: right;
 
   }
 
   }
  
   .prev-boss, .next-boss {
+
   td.prevBoss, td.nextBoss {
 
     font-size: 0.9em;
 
     font-size: 0.9em;
 +
  }
 +
 +
  td.prevBoss:not(:empty):before {
 +
    content: '← ';
 +
    font-weight: bold;
 +
  }
 +
 +
  td.nextBoss:not(:empty):after {
 +
    content: ' →';
 +
    font-weight: bold;
 +
  }
 +
 +
  td.damage {
 +
    text-align: right;
 +
  }
 +
 +
  td .spr-ohko {
 +
    font-weight: bold;
 +
    color: #880000;
 +
  }
 +
 +
  td > img {
 +
    text-align: center
 
   }
 
   }
  
Line 23: Line 46:
 
   }
 
   }
 
}}
 
}}
<includeonly>
+
<includeonly>{{#invoke:Infobox Boss|main}}[[Category:Bosses]]</includeonly><noinclude>{{Documentation}}</noinclude>
{| {{prettytable|float=right}}
 
| colspan="8" |  <div id="boss-header">{{{name|Boss name}}}'''</div> [[File:{{{image}}}|240px|center]]
 
|- class="metadata"
 
| colspan=4" | '''Location''' || colspan="4" | {{{location|}}}
 
|-
 
! HP || '''{{{17}}}'''
 
| [[Image:Icon_Bow.png]] || {{SpriteIDDamage|id={{{id}}}|weapon=arrow}}
 
| [[Image:Icon_Cane_of_Byrna.png]] || {{#ifeq:{{{byrna}}}|no|0|{{SpriteIDDamage|id={{{id}}}|weapon=sword 1}}}}
 
| rowspan="2" | [[Image:Icon_Green_Mail.png]] || rowspan="2" | {{{mail1}}}
 
|-
 
| [[Image:Icon_L1_Sword.png]] || {{SpriteIDDamage|id={{{id}}}|weapon=sword 1}}
 
| [[Image:Icon_Silver_Bow.png]] || {{SpriteIDDamage|id={{{id}}}|weapon=silver}}
 
| [[Image:Icon_Fire_Rod.png]] || {{SpriteIDDamage|id={{{id}}}|weapon=fire rod}}
 
|-
 
| [[Image:Icon_L2_Sword.png]] || {{SpriteIDDamage|id={{{id}}}|weapon=sword 2}}
 
| [[Image:Icon_Bombs.png]] || {{SpriteIDDamage|id={{{id}}}|weapon=bomb}}
 
| [[Image:Icon_Ice_Rod.png]] || {{SpriteIDDamage|id={{{id}}}|weapon=ice rod}}
 
| rowspan="2" | [[Image:Icon_Blue_Mail.png]] || rowspan="2" | {{{mail2}}}
 
|-
 
| [[Image:Icon_L3_Sword.png]] || {{SpriteIDDamage|id={{{id}}}|weapon=sword 3}}
 
| [[Image:Icon_Boomerang.png]] || {{SpriteIDDamage|id={{{id}}}|weapon=boomerang}}
 
| [[Image:Icon_Bombos.png]] || {{SpriteIDDamage|id={{{id}}}|weapon=bombos}}
 
|-
 
| [[Image:Icon_L4_Sword.png]] || {{SpriteIDDamage|id={{{id}}}|weapon=sword 4}}
 
| [[Image:Icon_Hookshot.png]] || {{SpriteIDDamage|id={{{id}}}|weapon=hookshot}}
 
| [[Image:Icon_Ether.png]] || {{SpriteIDDamage|id={{{id}}}|weapon=ether}}
 
| rowspan="2" | [[Image:Icon_Red_Mail.png]] || rowspan="2" | {{{mail3}}}
 
|-
 
| [[Image:Icon_Hammer.png]] || {{#ifeq:{{{hammer}}}|no|0|{{SpriteIDDamage|id={{{id}}}|weapon=sword 3}}}}
 
| [[Image:Icon_Cane_of_Somaria.png]] || {{#ifeq:{{{somaria}}}|no|0|{{SpriteIDDamage|id={{{id}}}|weapon=sword 1}}}}
 
| [[Image:Icon_Quake.png]] || {{SpriteIDDamage|id={{{id}}}|weapon=quake}}
 
|-
 
| colspan=4" class="prev-boss" | {{#if: {{{prev_boss|}}} | <i class="fa fa-angle-left"></i> {{{prev_boss|}}} }} || colspan="4" class="next-boss" | {{#if: {{{next_boss|}}} | {{{next_boss|}}} <i class="fa fa-angle-right"></i> }}
 
|}</includeonly><noinclude>{{Documentation}}</noinclude>
 

Latest revision as of 14:35, 23 December 2018

Template documentation[create]