Template:Wiki navbar: Difference between revisions

From Skyrat
Jump to navigation Jump to search
m →‎Parameter description: Added an empty version of this template in the param desc
m Added two smaller compas Icons
Line 1: Line 1:
<div style="border-radius: .2em .2em .5em .5em; margin: 1em 1em 1em 1em; background: {{{BGcolor|#444444}}}; margin-left: auto; margin-right: auto;">
<div style="border-radius: .2em .2em .5em .5em; margin: 1em 1em 1em 1em; background: {{{BGcolor|#444444}}}; margin-left: auto; margin-right: auto;">
<div style="background: {{{BGcolor|#444444}}}; border-radius: .2em; color: #FFF; padding: .4em .8em .5em; font-size: 120%"><center>'''Navigation bar'''</center></div>
<div style="background: {{{BGcolor|#444444}}}; border-radius: .2em; color: #FFF; padding: .4em .8em .5em; font-size: 120%"><center><span style="float:left; font-size: 115%">{{#fas:compass}}</span>'''Navigation bar'''<span style="float:right; font-size: 115%">{{#fas:compass}}</span></center></div>
<div style="border: solid {{{LINEcolor|#000000}}}; border-width: 0 0 .15em 0;"></div>
<div style="border: solid {{{LINEcolor|#000000}}}; border-width: 0 0 .15em 0;"></div>
<div style="display: flex;">
<div style="display: flex;">

Revision as of 15:48, 13 July 2022

Navigation bar

Parameter description

DO NOT EDIT THIS TEMPLATE UNLESS YOU KNOW EXACTLY WHAT YOU ARE DOING
BGcolor = Controls the main headers background color. Works with # color values.
LINEcolor = Controls the color of the horizontal line through the template. Works with # color values.

---CELL PARAMETERS--- (C# is the cell number. 1 = left 5 = right)

C#outBGcolor = Controls the color value of the outer background in any given cell
C#outSHA = Controls if a shadow is shown or not on the outside of the cell (Use 0 0 .3em #999 for shadow and 0 0 0 #999 for no shadow)
C#inBGcolor = Controls the color value of the inner background.
C#lineBGcolor = Controls the color value of the line. (Set to either #FFF or the same as LINEcolor)
C#lineWIDTH = Controls the width of line's between each cell (Set to .2em or .15em)
C#inSHA = Controls if a shadow is shown or not on the inside of the cell (Use 0 0 .3em #999 for shadow and 0 0 0 #999 for no shadow)
C#outBORDRAD = Controls the outside border radius.
C#ICONcolor = Controls the value of an Icon in a cell (Set to either #202122 or #FFF)

--- All parameters without data look like this ---
{{Wiki navbar
|BGcolor = 
|LINEcolor = 
<!-- Cell parameters start -->
<!-- C1 -->
|C1outBGcolor =
|C1outSHA =
|C1inBGcolor =
|C1lineBGcolor =
|C1lineWIDTH =
|C1inSHA =
|C1outBORDRAD =
|C1ICONcolor =
<!-- C2 -->
|C2outBGcolor =
|C2outSHA =
|C2inBGcolor =
|C2lineBGcolor =
|C2lineWIDTH =
|C2inSHA =
|C2outBORDRAD =
|C2ICONcolor =
<!-- C3 -->
|C3outBGcolor =
|C3outSHA =
|C3inBGcolor =
|C3lineBGcolor =
|C3lineWIDTH =
|C3inSHA =
|C3outBORDRAD =
|C3ICONcolor =
<!-- C4 -->
|C4outBGcolor =
|C4outSHA =
|C4inBGcolor =
|C4lineBGcolor =
|C4lineWIDTH =
|C4inSHA =
|C4outBORDRAD =
|C4ICONcolor =
<!-- C5 -->
|C5outBGcolor =
|C5outSHA =
|C5inBGcolor =
|C5lineBGcolor =
|C5lineWIDTH =
|C5inSHA =
|C5outBORDRAD =
|C5ICONcolor =
}}