No edit summary |
No edit summary |
||
Line 50: | Line 50: | ||
} | } | ||
}} | }} | ||
<div id="sidebar"> | <div id="sidebar">__TOC__</div> | ||
Revision as of 15:17, April 21, 2017
Template:PageBackground
{{#css:
a:link {text-decoration:none;} a:visited {text-decoration:none;} p {}
h1 span {display: block;} h1 span::before {content: "\A";white-space: pre;} h2 span {display: block;} h2 span::before {content: "\A";white-space: pre;} h3 span {display: block;} h3 span::before {content: "\A";white-space: pre;} h4 span {display: block;} h4 span::before {content: "\A";white-space: pre;} h5 span {display: block;} h5 span::before {content: "\A";white-space: pre;}
h1,h2,h3,h4 {text-align:center; border-style:solid; border-bottom-width:3px; border-color:rgb(200,100,20); background-color:rgba(0,0,0,0.1); padding:0px;color: #0066ff; font-size:2em;} h5 {font-size:1.5em;} h6 {font-size:1.5em;}
div#sidebar{
position:fixed; height:50%; width:700px;
margin: 70px; border:0px;
top:0; right:0;
overflow: auto;}
- toc {
border:1px solid #aaaaaa; background-color:#fff; padding:5px
}
- toc,.toc {
border:1px solid #999; background-color:#444; padding:5px; margin-top:1em
}
- toc #toctitle,.toc #toctitle,#toc .toctitle,.toc .toctitle {
position: fixed;
text-align:center;
margin-top:-4em } }}
Purpose & Usage
Template used for standardized Mod Information layout in User:Gernash/MODWiki
- Adds floating boxes for Three Fields
- |Description=
- |Installation=
- |Information=
- |Additional=
Examples
Code 1
{{User:Gernash/ModInfo |Description=None1 |Information=None2 |Installation=None3 |Additional=None4}}{{clear}}
Result
Code 2
{{User:Gernash/ModInfo |Description=None1 |Installation=None3}}{{clear}}
Result
Code 3
{{User:Gernash/ModInfo |Description=None1 |Information=None2 |Installation= Can be Complex *With indentations **Greater Depth including text boxes {{fs|1.2em|{{fc|#DC143C|<-- COLORS -->}}}} <u>{{fc|#8DA9C0|Underline}}</u> [[Main_Page|Hyperlinks]] }}{{clear}}
Result