Difference between revisions of "Template:Dungeon"

From ALttP Speedrunning Wiki
Jump to: navigation, search
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#css:
+
{{Infobox
#dungeon {
+
| title = {{{name|}}}
  padding: 8px;
 
  border: 1px solid #777;
 
  display: inline-block;
 
  float: right;
 
}
 
  
#dungeon .label {
+
| image = [[Image:{{{name}}}.png]]
  display: inline-block;
 
  width: 106px;
 
}
 
  
#dungeon .dungeon-name {
+
| label1 = Boss
  font-weight: bold;
+
| data1 = {{{boss|}}}
  border: 2px solid black;
+
| label2  = Dungeon item
  text-align: center;
+
| data2 = {{{item|}}}
  padding: 3px;
+
| label3  = Previous dungeon
  background: #f9f9f9;
+
| data3 = {{{prev_dungeon|}}}
  margin-bottom: 8px;
+
| label4 = Next dungeon
}  
+
| data4 = {{{next_dungeon|}}}
 
 
#dungeon .prev-next {
 
  margin-top: 8px;
 
  font-size: 0.9em;
 
}
 
 
 
#dungeon .prev-next div {
 
  display: inline-block;
 
}
 
 
 
#dungeon .prev a:before {
 
  content: '< ';
 
}
 
#dungeon .next {
 
  float: right;
 
  margin-left: 12px;
 
}
 
#dungeon .next a:after {
 
  content: ' >';
 
}
 
 
}}
 
}}
<div id="dungeon">
 
    <div class="dungeon-name">{{{name|Unknown}}}</div>
 
    <div class="dungoen-boss"><div class="label">Boss:</div>[[{{{boss|Unknown}}}]]</div>
 
    <div class="dungeon-item"><div class="label">Dungeon item:</div>[[{{{item|Unknown}}}]]</div>
 
 
    <div class="prev-next">
 
      <div class="prev">[[{{{prev_dungeon}}}]]</div>
 
      <div class="next">[[{{{next_dungeon}}}]]</div>
 
    </div>
 
</div>
 

Latest revision as of 15:16, 7 January 2017

[[Image:{{{name}}}.png]]