Difference between revisions of "Template:Blathers"

From Nookipedia, the Animal Crossing wiki
(Set empty alts on decorate Blathers iamges)
(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.)
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}}}}
<div style="display:flex; flex-wrap:wrap; justify-content:center; align-items:center; border:3px solid #7d593c; 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:#7d593c; 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%;">
 
<div style="{{#var:margin}}">
 
<div style="{{#var:margin}}">
 
{{#var:image}}
 
{{#var:image}}
 
</div></div><div style="padding:15px; width:90%">''"{{{2|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.}}}"''</div>
 
</div></div><div style="padding:15px; width:90%">''"{{{2|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.}}}"''</div>
 
</div><noinclude><br>{{Documentation}}
 
</div><noinclude><br>{{Documentation}}

Revision as of 03:17, 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.