Difference between revisions of "Template:Boss"

From ALttP Speedrunning Wiki
Jump to: navigation, search
m
(o)
 
(28 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{#css:
 
{{#css:
 +
  .prettytable {
 +
    margin-left: 20px !important;
 +
    margin-bottom: 20px !important;
 +
  }
  
 +
  #boss-header {
 +
    font-weight: bold;
 +
    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">
+
<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>
 
 
 
    <div class="prev-next">
 
      {{#if: {{{prev_boss|}}} | <div class="prev">[[{{{prev_boss}}}|<i class="fa fa-angle-left"></i> {{{prev_boss}}}]]</div> }}
 
      {{#if: {{{next_boss|}}} | <div class="next">[[{{{next_boss}}}|{{{next_boss}}} <i class="fa fa-angle-right"></i>]]</div> }}
 
    </div>
 
</div>
 

Latest revision as of 15:35, 23 December 2018

Template documentation[create]