Difference between revisions of "Template test"

From A complete guide to Super Metroid speedrunning
Jump to: navigation, search
 
m (Testing new layout for profiles)
Line 1: Line 1:
{{Enemy info
+
{{#css:
|image=tatori.gif
+
#profile-page {
|damage=100/50/25
+
background-color: #111;
|health=29
+
color: #CCC;
|width=8
+
font-family: sans-serif;
|height=8
+
font-size: 12.8px;
|freeze=Yes
+
border: 4px #fff double;
|inv=1
+
width: 800px;
|nothing=17
+
padding-bottom: 10px;
|energy=17
+
}
|bigenergy=17
+
#profile-page .header {
|missile=17
+
background-color: #000;
|supers=17
+
height: 50px;
|pb=17
+
padding: 0px 10px;
|invitems=1
+
position: relative;
|item1=Beams,
+
}
|item2=Missiles,
+
#profile-page .header .headerbg {
|item3=Supers,
+
margin-left: -10px;
|item4=Bombs,
+
text-align: left;
|item5=Power Bombs,
+
width: 605px;
|item6=Speed Echoes,
+
}
|item7=Shinespark,
+
#profile-page .header .mask {
|item8=Screw Attack,
+
background-color: transparent;
|item9=Pseudo Screw
+
height: 50px;
|dx=1
+
left: 0px;
|charge=1
+
position: absolute;
|pbeam=1
+
top: 0px;
|ice=1
+
width: 605px;
|wave=1
+
}
|spazer=1
+
#profile-page .header .ctitle {
|plasma=1
+
color: #C1B193;
|xmissile=1
+
font-family: trebuchet MS;
|xsupers=1
+
font-size: 11px;
|bombs=1
+
font-variant: small-caps;
|xpb=1
+
font-weight: normal;
|speed=1
+
line-height: 15px;
|shsp=1
+
margin-left: -3px;
|screw=1
+
position: absolute;
|pseudo=1
+
top: 0px;
 +
}
 +
#profile-page .header .catname {
 +
font-family: trebuchet MS;
 +
font-size: 30px;
 +
font-variant: small-caps;
 +
font-weight: bold;
 +
line-height: 30px;
 +
margin-left: -5px;
 +
position: absolute;
 +
top: 17px;
 +
}
 +
#profile-page .breadcrumbs {
 +
background-color: #000;
 +
border-bottom: 1px solid #2D2413;
 +
border-top: 1px solid #2D2413;
 +
height: 20px;
 +
margin: 0px 0px 15px;
 +
padding-left: 3px;
 +
}
 +
#profile-page .breadcrumbs a, #profile-page .breadcrumbs strong.selflink {
 +
color: #B89964;
 +
display: inline-block;
 +
font-family: trebuchet MS;
 +
font-size: 100%;
 +
font-variant: small-caps;
 +
height: 20px;
 +
line-height: 20px;
 +
padding: 0px 3px;
 +
}
 +
#profile-page .breadcrumbs .separator {
 +
margin: 0px 3px;
 +
}
 +
#profile-page .main .left-col {
 +
background-color: #222222;
 +
border-color: #272727 #151515 #151515 #272727;
 +
border-style: solid;
 +
border-width: 2px;
 +
padding: 5px;
 +
width: 256px;
 +
}
 +
#profile-page .main .box-line {
 +
padding: 0 10px;
 +
}
 +
#profile-page .main .box-attributes {
 +
background-color: black;
 +
border: 1px solid #272727;
 +
display: inline-block;
 +
margin-left: 10px;
 +
padding: 5px;
 +
}
 +
#profile-page .main .box-info {
 +
margin-top: 5px;
 +
padding: 0;
 +
}
 +
#profile-page .main .box-line {
 +
padding: 0 10px;
 +
}
 +
#profile-page .main .box-info .ecm-info {
 +
background-color: transparent;
 +
width: 100%;
 +
}
 +
#profile-page .main .box-info .ecm-info .faction {
 +
    color: #FFF;
 +
    font-family: helvetica;
 +
    font-size: 150%;
 +
    font-variant: small-caps;
 +
    font-weight: bold;
 +
    height: 25px;
 +
    padding-bottom: 2px;
 +
    text-align: center;
 +
    vertical-align: bottom;
 +
}
 +
#profile-page .main .box-info .ecm-info .faction-img {
 +
width: 50px;
 +
}
 +
#profile-page .main .box-info .ecm-info .hull-type {
 +
height: 20px;
 +
padding: 0 5px;
 +
text-align: center;
 +
}
 +
#profile-page .main .box-info .ecm-info .hull-type a {
 +
color: #FFA500;
 +
font-family: trebuchet MS;
 +
font-size: 110%;
 +
text-transform: uppercase;
 +
}
 +
#profile-page .main .box-info .ecm-info .ecm-priority {
 +
background-color: #222222;
 +
border: 1px solid #323931;
 +
padding: 2px;
 +
position: relative;
 +
width: 90px;
 +
}
 +
#profile-page .main .box-info .ecm-info .ecm-priority .label {
 +
font-family: trebuchet MS;
 +
font-size: 10px;
 +
font-variant: small-caps;
 +
line-height: 100%;
 +
padding: 3px;
 +
text-align: center;
 +
}
 +
#profile-page .main .box-info .ecm-info .ecm-priority .value {
 +
background-color: black;
 +
font-family: trebuchet MS;
 +
font-size: 16px;
 +
font-weight: bold;
 +
line-height: 15px;
 +
overflow: hidden;
 +
padding: 3px 0 0;
 +
text-align: center;
 +
}
 +
#profile-page .main .box-info .ecm-info .ecm-priority .label2 {
 +
background-color: black;
 +
font-family: trebuchet MS;
 +
font-size: 10px;
 +
margin-bottom: 2px;
 +
padding-bottom: 3px;
 +
text-align: center;
 +
text-transform: uppercase;
 +
}
 +
#profile-page .main .box-info .ecm-info .ecm-priority .snip {
 +
color: #656565;
 +
font-size: 70%;
 +
line-height: 100%;
 +
text-align: right;
 +
}
 +
#profile-page .main .box-info .ecm-info td {
 +
line-height: 110%;
 +
vertical-align: middle;
 +
}
 +
#profile-page .main .box-discussion {
 +
background-color: #1A1A1A;
 +
border-color: #393734 black;
 +
border-style: solid;
 +
border-width: 1px;
 +
margin-left: -6px;
 +
margin-right: -6px;
 +
margin-top: 5px;
 +
padding: 5px;
 +
}
 +
#profile-page .main .box-discussion .discussion-bgr {
 +
color: rgb(160, 160, 160);
 +
font-family: trebuchet MS;
 +
font-size: 90%;
 +
}
 +
#profile-page .main .box-discussion .linkname {
 +
font-size: 11px;
 +
line-height: 120%;
 +
padding: 0px 5px;
 +
}
 +
#profile-page .main .box-awards {
 +
margin-left: -6px;
 +
margin-right: -6px;
 +
padding: 10px 0px 5px;
 +
position: relative;
 +
}
 +
#profile-page .main .box-awards .award {
 +
background-color: #1A1A1A;
 +
border-color: #393734 #000;
 +
border-style: solid;
 +
border-width: 1px;
 +
margin-bottom: 2px;
 +
padding: 2px 5px;
 +
position: relative;
 +
}
 +
#profile-page .main .box-awards .award .award-img {
 +
display: inline-block;
 +
}
 +
#profile-page .main .box-awards .award .award-label {
 +
color: #B89964;
 +
display: inline-block;
 +
font-family: arial;
 +
font-size: 12px;
 +
font-variant: small-caps;
 +
height: 19px;
 +
left: 25px;
 +
line-height: 19px;
 +
position: absolute;
 +
top: 2px;
 +
z-index: 20;
 +
}
 +
#profile-page .main .box-awards .award .award-bgr {
 +
color: #B1B1B1;
 +
float: right;
 +
font-family: trebuchet MS;
 +
font-size: 90%;
 +
position: absolute;
 +
right: 5px;
 +
top: 2px;
 +
z-index: 10;
 +
}
 +
#profile-page .mw-headline {
 +
color: #656565;
 +
display: inline-block;
 +
font-family: trebuchet MS;
 +
font-size: 16px;
 +
font-variant: small-caps;
 +
text-align: left;
 +
padding: 0 5px;
 +
}
 +
#profile-page .main .box-line .att-line {
 +
border-bottom: 1px solid #2C2B2B;
 +
padding: 3px 3px 0;
 +
}
 +
#profile-page .main .box-line .last {
 +
border-bottom: 0px !important;
 +
}
 +
.attributes {
 +
background-color: transparent;
 +
margin-left: 5px;
 +
}
 +
.highlight {
 +
font-weight: bold;
 +
}
 +
.attributes .token .line-label .label {
 +
color: #494949;
 +
font-size: 12px;
 +
font-variant: small-caps;
 +
font-weight: normal;
 +
line-height: 100%;
 +
text-align: right;
 +
}
 +
.att-line {
 +
font-size: 11px;
 +
}
 +
.att-line .highlight {
 +
color: white;
 +
}
 +
.att-line .att-item {
 +
display: inline-block;
 +
margin-bottom: 3px;
 +
padding: 1px 5px;
 +
}
 +
.att-line .att-item .att-label {
 +
color: #7D6843;
 +
}
 +
.att-line .att-item .att-img {
 +
line-height: 20px;
 +
margin: 0 2px;
 +
}
 +
.att-line .att-item .att-img img {
 +
margin-top: -2px;
 +
}
 +
.att-line .att-item .item {
 +
display: inline-block;
 +
height: 21px;
 +
line-height: 21px;
 +
margin-left: 2px;
 +
}
 
}}
 
}}
 +
<div id="profile-page">
 +
<div class="header">
 +
<div class="headerbg">[[File:Profile_Template_BG.jpg|center|1000x500px|Something]]</div>
 +
<div class="mask">&nbsp;</div>
 +
<div class="ctitle">Super Metroid Profile</div>
 +
<div class="catname">{{{catname|Unknown}}}</div>
 +
</div>
 +
<div class="breadcrumbs">[[:Profile:Profile|Categories]]<span class='separator'>&#9656;</span>[[:Profile:{{{cattype|Unknown}}}|{{{cattype|Unknown}}}]]<span class='separator'>&#9656;</span>[[{{{catname|Unknown}}}|{{{catname|Unknown}}}]]
 +
</div>
 +
<div class="main">
 +
<table cellspacing="0" cellpadding="0" style="width:100%">
 +
<tr>
 +
<td class="left-col" style="vertical-align: top;">
 +
<div class='box-line box-info'>
 +
<table class='ecm-info' cellspacing='0' cellpadding='0'>
 +
<tr>
 +
<td class="faction">{{{catname|Unknown}}}</td>
 +
<td rowspan='2' style='width: 70px;'>
 +
<div class='ecm-priority'>
 +
<div class='label'>WORLD RECORD</div>
 +
<div class='value normal'>{{{rtwr|00:00}}}</div>
 +
<div class='label2'>{{{gtwr|00:00}}} IGT</div>
 +
</div>
 +
</td>
 +
</tr>
 +
<tr>
 +
<td class='hull-type'>[[:Profile:{{{cattype|Unknown}}}|{{{cattype|Unknown}}}]]</td>
 +
</tr>
 +
</table>
 +
</div>
 +
<div class='box-line box-awards'>
 +
<div class='award' style='display:block'>
 +
<div class='award-img'>[[Image:Icon_highlights.png|15x15px|middle|World Record Holder]]</div>
 +
<div class='award-label'>World Record Holder: </div>
 +
<div class='award-bgr'>{{{wrholder|Unknown}}}</div>
 +
</div>
 +
</div>
 +
<div class='box-line box-discussion'>
 +
<div class='discussion-bgr'>WORLD RECORD RECORDING</div>
 +
<div class='linkname'>[{{{wrlink}}} {{{wrtext}}}]</div>
 +
</div>
 +
</td>
 +
<td style="vertical-align: top;">
 +
<div class='box-line box-attributes'>
 +
<span class='mw-headline'>Profile Details</span>
 +
<table class='attributes' cellspacing='0' cellpadding='0'>
 +
<tr class='token'>
 +
<td class="line-label"><span class="label">Timing</span></td>
 +
<td class="att-line">
 +
<div class="att-item highlight">
 +
<div class="item att-label">Start Timer: </div>
 +
<div class="item att-value">{{{starttime|On Start Game}}}</div>
 +
</div>
 +
<div class="att-item highlight">
 +
<div class="item att-label">Stop Timer: </div>
 +
<div class="item att-value">{{{endtime|Entering Ship Animation}}}</div>
 +
</div>
 +
</td>
 +
</tr>
 +
<tr class='token'>
 +
<td class="line-label"><span class="label">Location</span></td>
 +
<td class="att-line">
 +
<div class="att-item highlight">
 +
<div class="item att-label">Begin At: </div>
 +
<div class="item att-value">{{{startlocation|Ceres Station}}}</div>
 +
</div>
 +
<div class="att-item highlight">
 +
<div class="item att-label">End At: </div>
 +
<div class="item att-value">{{{endlocation|End of Zebes Escape}}}</div>
 +
</div>
 +
 +
</td>
 +
</tr>
 +
<tr class='token'>
 +
<td class="line-label"><span class="label">Collection</span></td>
 +
<td class="att-line">
 +
<div class="att-item highlight">
 +
<div class="item att-label">Percentage: </div>
 +
<div class="item att-value">{{{percentage|Any}}}</div>
 +
</div>
 +
<div class="att-item highlight">
 +
<div class="item att-label">Items: </div>
 +
<div class="item att-value">{{{items|None}}}</div>
 +
</div>
 +
</td>
 +
</tr>
 +
<tr class='token'>
 +
<td class="line-label"><span class="label">Bosses</span></td>
 +
<td class="att-line">
 +
<div class="att-item highlight">
 +
<div class="item att-label">Major Bosses: </div>
 +
<div class="item att-value">{{{bosses|All}}}</div>
 +
</div>
 +
<div class="att-item highlight">
 +
<div class="item att-label">Mini-Bosses: </div>
 +
<div class="item att-value">{{{minibosses|None}}}</div>
 +
</div>
 +
<div class="att-item highlight">
 +
<div class="item att-label">Boss Order: </div>
 +
<div class="item att-value">{{{bossorder|None}}}</div>
 +
</div>
 +
</td>
 +
</tr>
 +
<tr class='token'>
 +
<td class="line-label"><span class="label">Glitches</span></td>
 +
<td class="att-line last">
 +
<div class="att-item highlight">
 +
<div class="item att-label">[[GT Code]]: </div>
 +
<div class="item att-value">{{{gtcode|No}}}</div>
 +
</div>
 +
<div class="att-item highlight">
 +
<div class="item att-label">[[Spacetime Beam|Spacetime]]: </div>
 +
<div class="item att-value">{{{spacetime|No}}}</div>
 +
</div>
 +
<div class="att-item highlight">
 +
<div class="item att-label">[[X-Ray Climb]]: </div>
 +
<div class="item att-value">{{{xrayclimb|No}}}</div>
 +
</div>
 +
<div class="att-item highlight">
 +
<div class="item att-label">[[Out Of Bounds]]: </div>
 +
<div class="item att-value">{{{outofbounds|No}}}</div>
 +
</div>
 +
</td>
 +
</tr>
 +
</table>
 +
</div>
 +
</td>
 +
</tr>
 +
</table>
 +
</div>
 +
</div>
 +
<noinclude>
 +
Below is the code and parameters for including the template into a page.  The second section of parameters is optional, as their default values show up in the template above.
 +
<pre>{{Profile
 +
|catname=
 +
|cattype=
 +
|rtwr=
 +
|gtwr=
 +
|wrholder=
 +
|wrlink=
 +
|wrtext=
 +
 +
|starttime=
 +
|endtime=
 +
|startlocation=
 +
|endlocation=
 +
|percentage=
 +
|items=
 +
|bosses=
 +
|minibosses=
 +
|bossorder=
 +
|gtcode=
 +
|spacetime=
 +
|xrayclimb=
 +
|outofbounds=
 +
}}</pre>
 +
[[Profile:Template]]</noinclude>

Revision as of 23:09, 3 January 2018

Something
 
Super Metroid Profile
Unknown
Unknown
WORLD RECORD
00:00
00:00 IGT
Unknown
World Record Holder
World Record Holder:
Unknown
WORLD RECORD RECORDING
[{{{wrlink}}} {{{wrtext}}}]

Profile Details

Timing
Start Timer:
On Start Game
Stop Timer:
Entering Ship Animation
Location
Begin At:
Ceres Station
End At:
End of Zebes Escape
Collection
Percentage:
Any
Items:
None
Bosses
Major Bosses:
All
Mini-Bosses:
None
Boss Order:
None
Glitches
No
No

Below is the code and parameters for including the template into a page. The second section of parameters is optional, as their default values show up in the template above.

{{Profile
|catname=
|cattype=
|rtwr=
|gtwr=
|wrholder=
|wrlink=
|wrtext=

|starttime=
|endtime=
|startlocation=
|endlocation=
|percentage=
|items=
|bosses=
|minibosses=
|bossorder=
|gtcode=
|spacetime=
|xrayclimb=
|outofbounds=
}}

Profile:Template