Difference between revisions of "Template:Category"

From ALttP Speedrunning Wiki
Jump to: navigation, search
m
 
(18 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{#css:
 
{{#css:
#category .glitches {
+
.glitch.allowed .fa-ban {
  margin-top: 8px;
 
}
 
 
 
#category .glitches .glitch {
 
  display: inline-block;
 
  padding: 2px;
 
  border: 1px solid transparent;
 
  line-height: 0.9em;
 
}
 
 
 
#category .glitches .allowed {
 
  background: #dfd;
 
  border-color: #bdb;
 
}
 
#category .glitches .allowed .fa-ban {
 
 
   display: none;
 
   display: none;
 
}
 
}
#category .glitches .fa-check {
+
.glitch .fa-check {
   color: #474;
+
   color: green;
 
}
 
}
  
#category .glitches .banned {
+
.glitch.banned .fa-check {
  background: #fdd;
 
  border-color: #dbb;
 
}
 
#category .glitches .banned .fa-check {
 
 
   display: none;
 
   display: none;
 
}
 
}
#category .glitches .fa-ban {
+
.glitch .fa-ban {
   color: #744;
+
   color: red;
 
}
 
}
 +
}}
  
 +
{{Infobox
 +
| title = {{{name|}}}
 +
| label1 = Leaderboards
 +
| data1 = [http://speedrun.com/alttp/#{{{srcsection|}}} SRC]
 +
| label2 = World Record
 +
| data2 = <srcrecord src="{{{srccategory|}}}"></srcrecord>
 +
| label3  = Rules
 +
| data3 = <div class="glitch {{ #if: {{{ rule_sq| }}} | allowed | banned }}"><i class="fa fa-check"></i><i class="fa fa-ban"></i> [[ Save & Quit | S+Q ]]</div><div class="glitch {{ #if: {{{ rule_eg| }}} | allowed | banned }}"><i class="fa fa-check"></i><i class="fa fa-ban"></i> [[ Exploration Glitch | EG ]]</div><div class="glitch {{ #if: {{{ rule_dg| }}} | allowed | banned }}"><i class="fa fa-check"></i><i class="fa fa-ban"></i> [[ Door Glitches | DG ]]</div><div class="glitch {{ #if: {{{ rule_ww| }}} | allowed | banned }}"><i class="fa fa-check"></i><i class="fa fa-ban"></i> [[ Wrong Warp | WW ]]</div><div class="glitch {{ #if: {{{ rule_oob| }}} | allowed | banned }}"><i class="fa fa-check"></i><i class="fa fa-ban"></i> [[ Out of Bounds | OoB ]]</div>
 +
| label4  = Splits
 +
| data4 = [[:File:{{{splits|}}}|LiveSplit file]]
 
}}
 
}}
<div class="alttp-box" id="category">
 
  <div class="title">{{{name|Unknown}}}</div>
 
 
  <div class="leaderboards"><div class="label">Leaderboards</div> [{{{srclink}}} SRC]</div>
 
 
  <div class="glitches">
 
    <div class="glitch {{#if: {{{rule_sq|}}} | allowed | banned }}"><i class="fa fa-check"></i><i class="fa fa-ban"></i> [[Save & Quit|S+Q]]</div>
 
    <div class="glitch {{#if: {{{rule_yba|}}} | allowed | banned }}"><i class="fa fa-check"></i><i class="fa fa-ban"></i> [[Yuzuhara's Bottle Adventure|YBA]]</div>
 
    <div class="glitch {{#if: {{{rule_oob|}}} | allowed | banned }}"><i class="fa fa-check"></i><i class="fa fa-ban"></i> [[Out of Bounds|OoB]]</div>
 
    <div class="glitch {{#if: {{{rule_eg|}}} | allowed | banned }}"><i class="fa fa-check"></i><i class="fa fa-ban"></i> [[Exploration Glitch|EG]]</div>
 
  </div>
 
</div>
 

Latest revision as of 10:49, 6 June 2019


Leaderboards SRC
World Record '"`UNIQ--srcrecord-00000000-QINU`"'
Rules
Splits [[:File:|LiveSplit file]]