Difference between revisions of "Template:Boss"

From ALttP Speedrunning Wiki
Jump to: navigation, search
(o)
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{#css:
 
{{#css:
 +
  .prettytable {
 +
    margin-left: 20px !important;
 +
    margin-bottom: 20px !important;
 +
  }
 +
 
   #boss-header {
 
   #boss-header {
 
     font-weight: bold;
 
     font-weight: bold;
Line 6: 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 18: Line 46:
 
   }
 
   }
 
}}
 
}}
 
+
<includeonly>{{#invoke:Infobox Boss|main}}[[Category:Bosses]]</includeonly><noinclude>{{Documentation}}</noinclude>
{| {{prettytable|float=right}}
 
| colspan="8" |  <div id="boss-header">{{{name|Boss name}}}'''</div> [[Image:{{{image}}}]]
 
|- class="metadata"
 
| colspan=4" | <strong>Location</strong> || colspan="4" | {{{location|}}}
 
|-
 
| '''HP''' || '''{{{17}}}''' || [[Image:Icon_Bow.png]] || {{{7}}} || [[Image:Icon_Magic_Powder.png]] || {{{11}}}
 
| rowspan="2" | [[Image:Icon_Green_Mail.png]] || rowspan="2" | {{{18}}}
 
|-
 
| [[Image:Icon_L1_Sword.png]] || {{{3}}} || [[Image:Icon_Silver_Bow.png]] || {{{10}}} || [[Image:Icon_Fire_Rod.png]] || {{{12}}}
 
|-
 
| [[Image:Icon_L2_Sword.png]] || {{{4}}} || [[Image:Icon_Bombs.png]] || {{{9}}} || [[Image:Icon_Ice_Rod.png]] || {{{13}}}
 
| rowspan="2" | [[Image:Icon_Blue_Mail.png]] || rowspan="2" | {{{19}}}
 
|-
 
| [[Image:Icon_L3_Sword.png]] || {{{5}}} || [[Image:Icon_Boomerang.png]] || {{{2}}} || [[Image:Icon_Bombos.png]] || {{{14}}}
 
|-
 
| [[Image:Icon_L4_Sword.png]] || {{{6}}} || [[Image:Icon_Hookshot.png]] || {{{8}}} || [[Image:Icon_Ether.png]] || {{{15}}}
 
| rowspan="2" | [[Image:Icon_Red_Mail.png]] || rowspan="2" | {{{20}}}
 
|-
 
| [[Image:Icon_Hammer.png]] || {{{5}}} || [[Image:Icon_Item_Stone.png]] || {{{5}}}  || [[Image:Icon_Quake.png]] || {{{16}}}
 
|-
 
| 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> }}
 
|}<noinclude>{{Documentation}}</noinclude>
 

Latest revision as of 15:35, 23 December 2018

Template documentation[create]