Difference between revisions of "Template:Category"

From ALttP Speedrunning Wiki
Jump to: navigation, search
 
(30 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{#css:
 
{{#css:
#category .glitches {
+
.glitch.allowed .fa-ban {
   margin-top: 8px;
+
   display: none;
 +
}
 +
.glitch .fa-check {
 +
  color: green;
 
}
 
}
  
#category .glitches .glitch {
+
.glitch.banned .fa-check {
   display: inline-block;
+
   display: none;
   margin-right: 6px;
+
}
}  
+
.glitch .fa-ban {
 +
   color: red;
 +
}
 
}}
 
}}
<div class="alttp-box" id="category">
 
  <div class="title">{{{name|Unknown}}}</div>
 
  
  <div class="category-type"><div class="label">Category type</div> {{{type|Unknown}}}</div>
+
{{Infobox
  <div class="leaderboards"><div class="label">Leaderboards</div> [{{{srclink}}} SRC]</div>
+
| title = {{{name|}}}
 
+
| label1 = Leaderboards
  <div class="glitches">
+
| data1 = [http://speedrun.com/alttp/#{{{srcsection|}}} SRC]
    <div class="glitch">[[Save & Quit|S+Q]]: <i class="fa {{#if: {{{rule_sq|}}} | fa-thumbs-o-up | fa-thumbs-o-down }}"></i></div>
+
| label2 = World Record
    <div class="glitch">[[Exploration Glitch|EG]]: <i class="fa {{#if: {{{rule_eg|}}} | fa-thumbs-o-up | fa-thumbs-o-down }}"></i></div>
+
| data2 = <srcrecord src="{{{srccategory|}}}"></srcrecord>
    <div class="glitch">[[Exploration Glitch#Semi EG|Semi-EG]]: <i class="fa {{#if: {{{rule_semieg|}}} | fa-thumbs-o-up | fa-thumbs-o-down }}"></i></div>
+
| label3  = Rules
    <div class="glitch">[[Yuzuhara's Bottle Adventure|YBA]]: <i class="fa {{#if: {{{rule_yba|}}} | fa-thumbs-o-up | fa-thumbs-o-down }}"></i></div>
+
| 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>
    <div class="glitch">[[Out of Bounds|OoB]]: <i class="fa {{#if: {{{rule_oob|}}} | fa-thumbs-o-up | fa-thumbs-o-down }}"></i></div>
+
| label4  = Splits
  </div>
+
| data4 = [[:File:{{{splits|}}}|LiveSplit file]]
 
+
}}
[[ Categories|List of categories ]]
 
</div>
 

Latest revision as of 10:49, 6 June 2019


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