Difference between revisions of "Template:Blathers"

From Nookipedia, the Animal Crossing wiki
(Template will now change color according to which category the page it is placed on belongs to. Currently works for Bugs, Fish, Sea creatures and Fossils.)
(Fixing issue where color would not display)
Line 19: Line 19:
 
| nh  
 
| nh  
 
| #default = [[File:Blathers NH.png|70px|alt=]]
 
| #default = [[File:Blathers NH.png|70px|alt=]]
}}}}{{#vardefine:color|{{#if:{{#incat:Fish|66CCFF|}}{{#incat:Bugs|caed78|}}{{#incat:Sea creatures|66a6ff|}}{{#incat:Fossils|E8CB7F|}}||7d593c}}}}
+
}}}}{{#vardefine:color|{{#if:{{#incat:Fish|66CCFF|}}{{#incat:Bugs|caed78|}}{{#incat:Sea creatures|66a6ff|}}{{#incat:Fossils|E8CB7F|}}|{{#incat:Fish|66CCFF|}}{{#incat:Bugs|caed78|}}{{#incat:Sea creatures|66a6ff|}}{{#incat:Fossils|E8CB7F|}}|7d593c}}}}
 
<div style="display:flex; flex-wrap:wrap; justify-content:center; align-items:center; border:3px solid #{{#var:color}}; padding:7px 3px; {{roundy|5vw}}; margin:5px;">
 
<div style="display:flex; flex-wrap:wrap; justify-content:center; align-items:center; border:3px solid #{{#var:color}}; padding:7px 3px; {{roundy|5vw}}; margin:5px;">
 
<div style="flex:none; background-color:#{{#var:color}}; width: 60px; height: 60px; overflow: hidden; border-radius: 50%;">
 
<div style="flex:none; background-color:#{{#var:color}}; width: 60px; height: 60px; overflow: hidden; border-radius: 50%;">

Revision as of 03:24, August 30, 2021

"Hoo, my goodness! Glorious! Seen in this light, of course, it's quite a grotesque beast. And yet, it does have a certain peculiar allure, wot? You may rest assured that we shall treat it with much affection and respect, wot! My word as a gentleowl."


No documentation for Template:Blathers exists. Create it.