Jump to content

User:Sceptre/b/head.css: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m This is hacky, but it works
No edit summary
Line 2: Line 2:
{{Portal:Box-header | title={{{1}}}
{{Portal:Box-header | title={{{1}}}
|editpage={{{2}}}
|editpage={{{2}}}
|border={{#ifeq: {{PAGENAME}} | Sceptre | {{User:Sceptre/colors|border}} | #777 }}
|border=#{{#ifeq: {{PAGENAME}} | Sceptre | #{{User:Sceptre/colors|border}} | #777 }}
|titleforeground=white
|titleforeground=white
|titlebackground={{#ifeq: {{PAGENAME}} | Sceptre | {{User:Sceptre/colors|tbg}} | #555 }}
|titlebackground=#{{#ifeq: {{PAGENAME}} | Sceptre | #{{User:Sceptre/colors|tbg}} | #555 }}
|background={{linear-gradient|{{#ifeq: {{PAGENAME}} | Sceptre | {{#invoke:String|sub|{{User:Sceptre/colors|bg}}|-7}} | #e8e8e8 }}|white|vertical}}
|background=#{{linear-gradient|{{#ifeq: {{PAGENAME}} | Sceptre | #{{User:Sceptre/colors|bg}} | #e8e8e8 }}|white|vertical}}
|foreground=black
|foreground=black
|SPAN=x
|SPAN=x
Line 14: Line 14:
{{Portal:Box-header | title={{{1}}}
{{Portal:Box-header | title={{{1}}}
|editpage={{{2}}}
|editpage={{{2}}}
|border={{User:Sceptre/colors|border}}
|border=#{{User:Sceptre/colors|border}}
|titleforeground=white
|titleforeground=white
|titlebackground={{User:Sceptre/colors|tbg}}
|titlebackground=#{{User:Sceptre/colors|tbg}}
|background={{linear-gradient|{{#invoke:String|sub|{{User:Sceptre/colors|bg{{#ifeq: {{{3}}}|big|a}}}}|-7}}|white|vertical}}
|background={{linear-gradient|#{{User:Sceptre/colors|bg{{#ifeq: {{{3}}}|big|a}}}}|white|vertical}}
|foreground=black
|foreground=black
|EDIT={{{EDIT|}}}}}
|EDIT={{{EDIT|}}}}}

Revision as of 03:58, 11 October 2019

{{#ifeq:{{{3}}}|talk|
{{Portal:Box-header | title={{{1}}} 
|editpage={{{2}}} 
|border=#{{#ifeq: {{PAGENAME}} | Sceptre | #{{User:Sceptre/colors|border}} | #777 }}
|titleforeground=white
|titlebackground=#{{#ifeq: {{PAGENAME}} | Sceptre | #{{User:Sceptre/colors|tbg}} | #555 }}
|background=#{{linear-gradient|{{#ifeq: {{PAGENAME}} | Sceptre | #{{User:Sceptre/colors|bg}} | #e8e8e8 }}|white|vertical}}
|foreground=black
|SPAN=x
|TOC=x
|EDIT=x
|section={{{section|}}}}}
|
{{Portal:Box-header | title={{{1}}} 
|editpage={{{2}}} 
|border=#{{User:Sceptre/colors|border}}
|titleforeground=white
|titlebackground=#{{User:Sceptre/colors|tbg}}
|background={{linear-gradient|#{{User:Sceptre/colors|bg{{#ifeq: {{{3}}}|big|a}}}}|white|vertical}}
|foreground=black
|EDIT={{{EDIT|}}}}}
}}