Difference between revisions of "Template:Boss"

From ALttP Speedrunning Wiki
Jump to: navigation, search
(o)
 
(32 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{#css:
 
{{#css:
#boss {
+
  .prettytable {
  padding: 8px;
+
    margin-left: 20px !important;
  border: 1px solid #777;
+
    margin-bottom: 20px !important;
   display: inline-block;
+
   }
  float: right;
 
}
 
  
#boss .boss-name {
+
  #boss-header {
   font-weight: bold;
+
    font-weight: bold;
   border-bottom: 2px solid black;
+
    font-size: 1.2em;
}   
+
    text-align: center;
 +
  }
 +
 
 +
  td.nextBoss {
 +
    text-align: right;
 +
  }
 +
 
 +
  td.prevBoss, td.nextBoss {
 +
    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
 +
  }
 +
 
 +
  .metadata {
 +
    font-size: 0.9em;
 +
  }
 
}}
 
}}
<div class="alttp-box" id="boss">
+
<includeonly>{{#invoke:Infobox Boss|main}}[[Category:Bosses]]</includeonly><noinclude>{{Documentation}}</noinclude>
    <div class="title">{{{name|Unknown}}}</div>
 
    <div class="health"><div class="label">HP:</div>[[{{{hp|Unknown}}}]]</div>
 
    <div class="location"><div class="label">Location:</div>[[{{{location}}}]]</div>
 
 
 
[[Bosses|List of bosses]]
 
</div>
 

Latest revision as of 15:35, 23 December 2018

Template documentation[create]