Template:BgColor: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<div style="position: fixed; z-index: -100; top: 0; left: 0; background-color: rgb({{{bg1}}}); width: 100vw; height: 100vh"></div>
<includeonly><div style="position: fixed; z-index: -100; top: 0; left: 0; background-color: rgb({{{bg1}}}); width: 100vw; height: 100vh"></div>
<div style="position: fixed; z-index: -99; top: 0; left: 0; background-color: rgb({{{bg2}}}); width: 100vw; height: 68px"></div>
<div style="position: fixed; z-index: -99; top: 0; left: 0; background-color: rgb({{{bg2}}}); width: 100vw; height: 68px"></div>
<div style="position: static; top: 0; left: 0; width: 100%; height: 100%; padding: 1em 2em; font-smooth: never; -webkit-font-smoothing: none; font-family: Arial; background-color: rgb({{{bg3}}}); color: white">
<div style="position: static; top: 0; left: 0; width: 100%; height: 100%; padding: 1em 2em; font-smooth: never; -webkit-font-smoothing: none; font-family: Arial; background-color: rgb({{{bg3}}}); color: white">
Line 5: Line 5:
| custom      = {{#switch:{{lc:{{{customtitle}}}}}
| custom      = {{#switch:{{lc:{{{customtitle}}}}}
| #default    = =={{{customtitle}}}== }}
| #default    = =={{{customtitle}}}== }}
| #default    = =={{PAGENAME}}== }}<noinclude>
| #default    = =={{PAGENAME}}== }}<noinclude></includeonly>
== Parameters ==
== Parameters ==
bg1
bg1

Revision as of 09:46, 8 June 2020

Parameters

bg1

bg2

bg3

pagetitle

customtitle (IF pagetitle=custom)