Difference between revisions of "Template:Boss"

From ALttP Speedrunning Wiki
Jump to: navigation, search
(o)
 
(27 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Infobox
+
{{#css:
| title = {{{name|}}}
+
  .prettytable {
 +
    margin-left: 20px !important;
 +
    margin-bottom: 20px !important;
 +
  }
  
| image = {{#if:{{{image|{{{image_border|}}}}}}|[[Image:{{{image|{{{image_border}}}}}}|{{#if:{{{size|}}}|{{{size}}}|200px}}|alt={{{alt|}}}]]|{{{image2|}}}}}
+
  #boss-header {
 +
    font-weight: bold;
 +
    font-size: 1.2em;
 +
    text-align: center;
 +
  }
  
| label1 = HP
+
  td.nextBoss {
| data1 = {{{health|}}}
+
    text-align: right;
| label2  = Location
+
  }
| data2 = {{{location|}}}
+
 
| label3  = Previous boss
+
  td.prevBoss, td.nextBoss {
| data3 = {{{prev_boss|}}}
+
    font-size: 0.9em;
| label4 = Next boss
+
  }
| data4 = {{{next_boss|}}}
+
 
 +
  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
 +
  }
 +
 
 +
  .metadata {
 +
    font-size: 0.9em;
 +
  }
 
}}
 
}}
 +
<includeonly>{{#invoke:Infobox Boss|main}}[[Category:Bosses]]</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 15:35, 23 December 2018

Template documentation[create]