Difference between revisions of "Template talk:Infobox 2.0"

From Nookipedia, the Animal Crossing wiki
(reply)
Tags: mobile edit mobile web edit
(Reply)
 
Line 1: Line 1:
 
The hex color codes don't work for me. It's just completely transparent instead of showing a color. What do I do? [[File:Bones aF Villager Icon.png|30px|link=User:Thedarkcave]] [[File:TDCbox.png|80px|link=User:Thedarkcave]] [[File:TDCtalk.png|40px|link=User talk:Thedarkcave]] 19:08, August 31, 2020 (EDT)
 
The hex color codes don't work for me. It's just completely transparent instead of showing a color. What do I do? [[File:Bones aF Villager Icon.png|30px|link=User:Thedarkcave]] [[File:TDCbox.png|80px|link=User:Thedarkcave]] [[File:TDCtalk.png|40px|link=User talk:Thedarkcave]] 19:08, August 31, 2020 (EDT)
 
:Can you show what it looks like? I didn't see any problems on my side. [[User:vmario97|<span style="color:green">v</span><span style="color:red">mario</span><span style="color:purple">97</span>]] <span style="color:blue">[[User talk:Vmario97|(talk)]]</span> 22:11, August 31, 2020 (EDT)
 
:Can you show what it looks like? I didn't see any problems on my side. [[User:vmario97|<span style="color:green">v</span><span style="color:red">mario</span><span style="color:purple">97</span>]] <span style="color:blue">[[User talk:Vmario97|(talk)]]</span> 22:11, August 31, 2020 (EDT)
 +
::This template uses colours in [https://www.w3schools.com/colors/colors_hsl.asp HSL format]. Hex colours aren't recognised, so you'll need to input hue and saturation values (without a comma, e.g. <code>0 100</code> for red). That link has a colour picker to help you find the right values. Lightness is already configured in various parts of the infobox itself, so you don't need to include that part. <code>overrideprimary</code> and <code>overridesecondary</code> will allow you to modify lightness however. --[[File:Shark HHD Icon.png|20px]] [[User:Dorsal Axe|<span style="color:#0B3E57; font-family: Coustard">Dorsal Axe</span>]] <span style="font-family: Coustard"><small>([[User talk:Dorsal Axe|talk]])</small></span> 15:48, September 1, 2020 (EDT)

Latest revision as of 15:48, September 1, 2020

The hex color codes don't work for me. It's just completely transparent instead of showing a color. What do I do? Bones aF Villager Icon.png TDCbox.png TDCtalk.png 19:08, August 31, 2020 (EDT)

Can you show what it looks like? I didn't see any problems on my side. vmario97 (talk) 22:11, August 31, 2020 (EDT)
This template uses colours in HSL format. Hex colours aren't recognised, so you'll need to input hue and saturation values (without a comma, e.g. 0 100 for red). That link has a colour picker to help you find the right values. Lightness is already configured in various parts of the infobox itself, so you don't need to include that part. overrideprimary and overridesecondary will allow you to modify lightness however. --Shark HHD Icon.png Dorsal Axe (talk) 15:48, September 1, 2020 (EDT)