Difference between revisions of "Template:Boss"

From ALttP Speedrunning Wiki
Jump to: navigation, search
(o)
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{#css:
 
{{#css:
 +
  .prettytable {
 +
    margin-left: 20px !important;
 +
    margin-bottom: 20px !important;
 +
  }
  
}}
+
  #boss-header {
<div class="alttp-box" id="boss">
+
    font-weight: bold;
     <div class="title">{{{name|Unknown}}}</div>
+
    font-size: 1.2em;
     <div class="health"><div class="label">HP:</div>{{{hp|Unknown}}}</div>
+
     text-align: center;
     <div class="location"><div class="label">Location:</div>[[{{{location}}}]]</div>
+
  }
 +
 
 +
  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;
 +
  }
  
     <div style="text-align: center; font-size: 0.9em; margin-top: 8px;">[[ Bosses | List of bosses ]]</div>
+
  td > img {
 +
     text-align: center
 +
  }
  
     <div class="prev-next">
+
  .metadata {
      {{#if: {{{prev_boss|}}} | <div class="prev">[[{{{prev_boss}}}|<i class="fa fa-angle-left"></i> {{{prev_boss}}}]]</div> }}
+
     font-size: 0.9em;
      {{#if: {{{next_boss|}}} | <div class="next">[[{{{next_boss}}}|{{{next_boss}}} <i class="fa fa-angle-right"></i>]]</div> }}
+
  }
    </div>
+
}}
</div>
+
<includeonly>{{#invoke:Infobox Boss|main}}[[Category:Bosses]]</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 15:35, 23 December 2018

Template documentation[create]