No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
<div id="content">...</div> | <div id="content">...</div> | ||
<div id="footer">...</div> | <div id="footer">...</div> | ||
} | |||
.clearFix { | |||
clear: both; | |||
} | |||
#sidebar { | |||
width: 50px; | |||
height: 30px; | |||
background-color: green; | |||
float: left; | |||
} | |||
#header { | |||
width: 250px; | |||
background-color: red; | |||
margin-left: 55px; | |||
} | |||
#testLeft { | |||
width: 50px; | |||
height: 50px; | |||
float: left; | |||
background-color: pink; | |||
} | |||
#testRight { | |||
width: 50px; | |||
height: 50px; | |||
margin-left: 55px; | |||
background-color: purple; | |||
} | |||
#content { | |||
width: 250px; | |||
height: 20px; | |||
background-color: blue; | |||
margin-left: 55px; | |||
} | |||
#footer { | |||
width: 250px; | |||
height: 20px; | |||
background-color: orange; | |||
margin-left: 55px; | |||
} | } | ||
}} | }} |
Revision as of 04:49, April 21, 2017
{{#css:
body {
...
} .clearFix {
clear: both;
}
- sidebar {
width: 50px; height: 30px; background-color: green; float: left;
}
- header {
width: 250px; background-color: red; margin-left: 55px;
}
- testLeft {
width: 50px; height: 50px; float: left; background-color: pink;
}
- testRight {
width: 50px; height: 50px; margin-left: 55px; background-color: purple;
}
- content {
width: 250px; height: 20px; background-color: blue; margin-left: 55px;
}
- footer {
width: 250px; height: 20px; background-color: orange; margin-left: 55px;
} }}
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