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 {
*html #footer {
margin-top: -2px; /* prevents infinite scroll if #footer have a border of 2px*/
margin-top: -2px; /* prevents infinite scroll if #footer have a border of 2px*/
Line 19: Line 18:
top: expression(documentElement.scrollTop+(documentElement.clientHeight-this.clientHeight));
top: expression(documentElement.scrollTop+(documentElement.clientHeight-this.clientHeight));
}
}
}}
==Purpose & Usage==
==Purpose & Usage==



Revision as of 05:09, April 21, 2017


{{#css:

td {

  border: 1px solid black;

background-color: lightblue; position: static; }

  • html #footer {

margin-top: -2px; /* prevents infinite scroll if #footer have a border of 2px*/ position: absolute; top: expression(documentElement.scrollTop+(documentElement.clientHeight-this.clientHeight)); } }}

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