User:Harimaron/Sandbox/Template:Navbox: Difference between revisions

From Inkipedia, the Splatoon wiki
m (test)
(remove most inline styles (now in css using templatestyles))
 
Line 1: Line 1:
<includeonly>{| class="mw-collapsible mw-collapsed navbox" style="margin: auto; width: 80%; background-color: {{#if:{{{color|}}}
<includeonly><templatestyles src="User:Harimaron/Sandbox/Template:Navbox/styles.css" />
{| class="mw-collapsible mw-collapsed navbox" style="background-color: {{#if:{{{color|}}}
     |rgb({{{color}}})
     |rgb({{{color}}})
     |{{ColorScheme|{{{colorscheme|Generic}}}}}
     |{{ColorScheme|{{{colorscheme|Generic}}}}}
}}; border-radius: 20px; border-spacing: 2px; {{{style|}}}"
}}; {{{style|}}}"
|-
|-
|<div style="color: {{ColorScheme|{{{colorscheme|}}}|textColor}}; font-size: 17px; font-weight: bold; text-align: center; margin-left: 56px;">{{{title|{{{1}}}}}}</div>
|<div style="color: {{ColorScheme|{{{colorscheme|}}}|textColor}};">{{{title|{{{1}}}}}}</div>
|-
|-
|style="background-color: rgba(255, 255, 255, 0.5); border-radius: 18px; padding: 0px;"|<div style="box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.5) inset; background-color: {{#if:{{{color|}}}
|<div style="background-color: {{#if:{{{color|}}}
     |rgba({{{color}}}, 0.2)
     |rgba({{{color}}}, 0.2)
     |{{ColorScheme|{{{colorscheme|Generic}}}|contentBackground}}
     |{{ColorScheme|{{{colorscheme|Generic}}}|contentBackground}}
}}; border-radius: 18px; padding: 4px 4px 0px 4px;"></includeonly>
}};"></includeonly>
<noinclude><!--{{documentation}}[[Category:Navigation templates]]-->
<noinclude><!--{{documentation}}[[Category:Navigation templates]]-->
{{User:Harimaron/Sandbox/Template:Navbox
{{User:Harimaron/Sandbox/Template:Navbox

Latest revision as of 14:36, 11 April 2024