User:Gernash/ModInfo: Difference between revisions

From Step Mods | Change The Game
No edit summary
No edit summary
Line 7: Line 7:


{{#css:
{{#css:
content {
.navbar {
     width: 100%;
     overflow: hidden;
     height: 100%;
    background-color: #333;
     display: flex;
     position: fixed; /* Set the navbar to fixed position */
     flex-direction: column;
     top: 0; /* Position the navbar at the top of the page */
     width: 100%; /* Full width */
}
}


term-defs {
/* Links inside the navbar */
     flex-grow: 1;
.navbar a {
     overflow: auto;
    float: left;
}  
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
     text-decoration: none;
}
 
/* Main content */
.main {
     margin-top: 30px; /* Add a top margin to avoid content overlay */
}
td  {
td  {
   border: 1px solid black;
   border: 1px solid black;

Revision as of 05:01, April 21, 2017


{{#css: .navbar {

   overflow: hidden;
   background-color: #333;
   position: fixed; /* Set the navbar to fixed position */
   top: 0; /* Position the navbar at the top of the page */
   width: 100%; /* Full width */

}

/* Links inside the navbar */ .navbar a {

   float: left;
   display: block;
   color: #f2f2f2;
   text-align: center;
   padding: 14px 16px;
   text-decoration: none;

}

/* Main content */ .main {

   margin-top: 30px; /* Add a top margin to avoid content overlay */

} td {

  border: 1px solid black;

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

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