User:Gernash/ModInfo: Difference between revisions

From Step Mods | Change The Game
No edit summary
No edit summary
Line 13: Line 13:
position: static;
position: static;
}
}
*html #footer {
body{
margin-top: -2px; /* prevents infinite scroll if #footer have a border of 2px*/
    padding-left:200px;
position: absolute;
    margin:0;
top: expression(documentElement.scrollTop+(documentElement.clientHeight-this.clientHeight));
}
div#sidebar{
  position:fixed;
  height:100%;
  width:200px;
  top:0;
  left:0;
  background:grey;
}
div#content{
    background:black;
    width:100%;
    height:1600px;
}
}
}}
}}

Revision as of 05:10, April 21, 2017


{{#css:

td {

  border: 1px solid black;

background-color: lightblue; position: static; } body{

   padding-left:200px;
   margin:0;

} div#sidebar{

  position:fixed;
  height:100%;
  width:200px; 
  top:0;
  left:0;
  background:grey; 

} div#content{

   background:black;
   width:100%;
   height:1600px;

} }}

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

Description

None1
Installation

None3
Information

None2
Additional

TEST SPACE


Code 2


{{User:Gernash/ModInfo
|Description=None1
|Installation=None3}}{{clear}}

Result

Description

None1
Installation

None3

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

Description

None1
Installation

Can be Complex
  • With indentations
    • Greater Depth
including text boxes

<-- COLORS --> Underline

Hyperlinks
Information

None2