Template:Wiki navbar: Difference between revisions

From Skyrat
Jump to navigation Jump to search
m (Changed the color of the links from the default blue to white)
m (Added more parameters for better text color control)
Line 7: Line 7:
<div style="padding: .5em; background: {{{C1inBGcolor|#444444}}}; margin:.25em; border-radius: .5em; box-shadow: {{{C1inSHA|0 0 0 #999}}};">
<div style="padding: .5em; background: {{{C1inBGcolor|#444444}}}; margin:.25em; border-radius: .5em; box-shadow: {{{C1inSHA|0 0 0 #999}}};">
<center>[[Main Page|<span style="font-size: 250%; color: {{{C1ICONcolor|#202122}}}; padding: .3em .31em .3em .31em;">{{#fas:home}}</span>]]<br>
<center>[[Main Page|<span style="font-size: 250%; color: {{{C1ICONcolor|#202122}}}; padding: .3em .31em .3em .31em;">{{#fas:home}}</span>]]<br>
'''{{{C1TEXTOPT|[[Main Page|<span style="font-size:110%; color: #FFF;">Return to Main page</span>]]}}}'''</center>
'''{{{C1TEXTOPT|[[Main Page|<span style="font-size:110%; color: {{{C1TEXTcolor|#FFF}}};">Return to Main page</span>]]}}}'''</center>
</div>
</div>
</div>
</div>
Line 15: Line 15:
<div style="padding: .5em; background: {{{C2inBGcolor|#444444}}}; margin:.25em; border-radius: .5em; box-shadow: {{{C2inSHA|0 0 0 #999}}};">
<div style="padding: .5em; background: {{{C2inBGcolor|#444444}}}; margin:.25em; border-radius: .5em; box-shadow: {{{C2inSHA|0 0 0 #999}}};">
<center>[[Policies|<span style="font-size: 250%; color: {{{C2ICONcolor|#202122}}}; padding: .3em .31em .3em .31em;">{{#fas:gavel}}</span>]]<br>
<center>[[Policies|<span style="font-size: 250%; color: {{{C2ICONcolor|#202122}}}; padding: .3em .31em .3em .31em;">{{#fas:gavel}}</span>]]<br>
'''[[Policies|<span style="font-size:110%; color: #FFF;">Skyrat policies</span>]]'''</center>
'''{{{C2TEXTOPT[[Policies|<span style="font-size:110%; color: {{{C2TEXTcolor|#FFF}}};">Skyrat policies</span>]]}}}'''</center>
</div>
</div>
</div>
</div>
Line 23: Line 23:
<div style="padding: .5em; background: {{{C3inBGcolor|#444444}}}; margin:.25em; border-radius: .5em; box-shadow: {{{C3inSHA|0 0 0 #999}}};">
<div style="padding: .5em; background: {{{C3inBGcolor|#444444}}}; margin:.25em; border-radius: .5em; box-shadow: {{{C3inSHA|0 0 0 #999}}};">
<center>[[Jobs|<span style="font-size: 250%; color: {{{C3ICONcolor|#202122}}}; padding: .3em .31em .3em .31em;">{{#fas:address-card}}</span>]]<br>
<center>[[Jobs|<span style="font-size: 250%; color: {{{C3ICONcolor|#202122}}}; padding: .3em .31em .3em .31em;">{{#fas:address-card}}</span>]]<br>
'''[[Jobs|<span style="font-size:110%; color: #FFF;">Jobs</span>]]'''</center>
'''{{{C3TEXTOPT[[Jobs|<span style="font-size:110%; color: {{{C3TEXTcolor|#FFF}}};">Jobs</span>]]}}}'''</center>
</div>
</div>
</div>
</div>
Line 31: Line 31:
<div style="padding: .5em; background: {{{C4inBGcolor|#444444}}}; margin:.25em; border-radius: .5em; box-shadow: {{{C4inSHA|0 0 0 #999}}};">
<div style="padding: .5em; background: {{{C4inBGcolor|#444444}}}; margin:.25em; border-radius: .5em; box-shadow: {{{C4inSHA|0 0 0 #999}}};">
<center>[[Guides|<span style="font-size: 250%; color: {{{C4ICONcolor|#202122}}}; padding: .3em .31em .3em .31em;">{{#fas:info-circle}}</span>]]<br>
<center>[[Guides|<span style="font-size: 250%; color: {{{C4ICONcolor|#202122}}}; padding: .3em .31em .3em .31em;">{{#fas:info-circle}}</span>]]<br>
'''[[Guides|<span style="font-size:110%; color: #FFF;">Guides</span>]]'''</center>
'''{{{C4TEXTOPT[[Guides|<span style="font-size:110%; color: {{{C4TEXTcolor|#FFF}}};">Guides</span>]]}}}'''</center>
</div>
</div>
</div>
</div>
Line 39: Line 39:
<div style="padding: .5em; background: {{{C5inBGcolor|#444444}}}; margin:.25em; border-radius: .5em; box-shadow: {{{C5inSHA|0 0 0 #999}}};">
<div style="padding: .5em; background: {{{C5inBGcolor|#444444}}}; margin:.25em; border-radius: .5em; box-shadow: {{{C5inSHA|0 0 0 #999}}};">
<center>[[Objects|<span style="font-size: 250%; color: {{{C5ICONcolor|#202122}}}; padding: .3em .31em .3em .31em;">{{#fas:wrench}}</span>]]<br>
<center>[[Objects|<span style="font-size: 250%; color: {{{C5ICONcolor|#202122}}}; padding: .3em .31em .3em .31em;">{{#fas:wrench}}</span>]]<br>
'''[[Objects|<span style="font-size:110%; color: #FFF;">Objects</span>]]'''</center>
'''{{{C5TEXTOPT[[Objects|<span style="font-size:110%; color: {{{C5TEXTcolor|#FFF}}};">Objects</span>]]}}}'''</center>
</div>
</div>
</div>
</div>
Line 60: Line 60:
C#outBORDRAD = Controls the outside border radius.
C#outBORDRAD = Controls the outside border radius.
C#ICONcolor = Controls the value of an Icon in a cell (Set to either #202122 or #FFF)
C#ICONcolor = Controls the value of an Icon in a cell (Set to either #202122 or #FFF)
C1TEXTOPT = Controls the text of the link in C1
C#TEXTOPT = Controls the text of the link in a cell
C#TEXTcolor = Controls the color of the text in a cell (Default is set to #FFF)


--- All parameters without data look like this ---
--- All parameters without data look like this ---

Revision as of 18:34, 21 October 2022

Navigation bar

{{{C2TEXTOPTSkyrat policies}}}

{{{C3TEXTOPTJobs}}}

{{{C4TEXTOPTGuides}}}

{{{C5TEXTOPTObjects}}}

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)
C#TEXTOPT = Controls the text of the link in a cell
C#TEXTcolor = Controls the color of the text in a cell (Default is set to #FFF)

--- All parameters without data look like this ---
{{Wiki navbar
|BGcolor = 
|LINEcolor = 
<!-- Cell parameters start -->
<!-- C1 -->
|C1TEXTOPT = 
|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 =
}}