Difference between revisions of "Template:Boss"

From ALttP Speedrunning Wiki
Jump to: navigation, search
(Created page with "{{#css: #boss { padding: 8px; border: 1px solid #777; display: inline-block; float: right; } #boss .boss-name { font-weight: bold; border-bottom: 2px solid black;...")
 
(o)
 
(34 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 id="boss">
+
<includeonly>{{#invoke:Infobox Boss|main}}[[Category:Bosses]]</includeonly><noinclude>{{Documentation}}</noinclude>
    <div class="boss-name">{{{name|Unknown}}}</div>
 
    <div class="boss-health">HP: [[{{{hp|Unknown}}}]]</div>
 
    <div class="boss-location">Location: [[{{{location}}}]]</div>
 
</div>
 

Latest revision as of 15:35, 23 December 2018

Template documentation[create]