Difference between revisions of "Template:Blathers"

From Nookipedia, the Animal Crossing wiki
m (Changing alignment)
(Template now takes a type parameter which can be used to override default color. Acceptable values are: fish, bug, sea creature, and fossil)
(6 intermediate revisions by 2 users not shown)
Line 13: Line 13:
 
| dnm+
 
| dnm+
 
| pg
 
| pg
| e+ = [[File:Blathers PG 3.png|x76px]]
+
| e+ = [[File:Blathers PG 3.png|x76px|alt=]]
| ww = [[File:Blathers WW.png|x76px]]
+
| ww = [[File:Blathers WW.png|x76px|alt=]]
| cf = [[File:Blathers CF.png|x76px]]
+
| cf = [[File:Blathers CF.png|x76px|alt=]]
| nl = [[File:Blathers NL.png|x76px]]
+
| nl = [[File:Blathers NL.png|x76px|alt=]]
 
| nh  
 
| nh  
| #default = [[File:Blathers NH.png|70px]]
+
| #default = [[File:Blathers NH.png|70px|alt=]]
}}}}
+
}}}}{{#vardefine:color|{{#if:{{{type|}}}|{{#switch:{{lc:{{{type|}}}}}|fish=66CCFF|bug=caed78|sea creature=66a6ff|fossil=E8CB7F}}|{{#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; align-items:center; padding:12px 5px 2px 5px; {{roundy|100px}}; 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><includeonly>[[Category:Articles with Blathers template implementation]]</includeonly><noinclude><br>{{Documentation}}

Revision as of 22:20, September 8, 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.