Difference between revisions of "Template:Category"

From ALttP Speedrunning Wiki
Jump to: navigation, search
 
(42 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{#css:
 
{{#css:
#category {
+
.glitch.allowed .fa-ban {
   padding: 8px;
+
   display: none;
  border: 1px solid #777;
+
}
  display: inline-block;
+
.glitch .fa-check {
   float: right;
+
   color: green;
 
}
 
}
  
#category .category-type {
+
.glitch.banned .fa-check {
   font-weight: bold;
+
   display: none;
   border-bottom: 2px solid black;
+
}
}  
+
.glitch .fa-ban {
 +
   color: red;
 +
}
 +
}}
  
#category .glitches .glitch {
+
{{Infobox
  display: inline-block;
+
| title = {{{name|}}}
  margin-right: 8px;
+
| 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 id="category">
 
    <div class="category-name">Category: {{{name|Unknown}}}</div>
 
 
    <div class="category-type">{{{type|Unknown}}} | [{{{srclink}}} Leaderboards]</div>
 
 
    <div class="glitches">
 
        <div class="glitch">[[Save & Quit|S+Q]]: {{{rule_sq|No}}}</div>
 
        <div class="glitch">[[Exploration Glitch|EG]]: {{{rule_eg|No}}}</div>
 
        <div class="glitch">[[Exploration Glitch#Semi EG|Semi-EG]]: {{{rule_semieg|No}}}</div>
 
        <div class="glitch">[[Yuzuhara's Bottle Adventure|YBA]]: {{{rule_yba|No}}}</div>
 
        <div class="glitch">[[Out of Bounds|OoB]]: {{{rule_oob|No}}}</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]]