Template:Animated: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
No edit summary
(Updated template to use built-in <indicator> tag instead of a hacky placement solution, and generally replicated its style with less jank. Contact me if there are any problems with this!)
Line 1: Line 1:
<div style="position:absolute; z-index:100; right:25px; top:3px;" class="metadata" id="featured-star">
<includeonly><indicator name="tas"><span style="background: #ffffff; font-size:small; color: #000000; border-top:2px solid #E15656; border-left:2px solid #E15656; border-right:2px solid #E15656; padding: 7px 7px 2px 7px;">[[:Category:Animated Species|<span style="color: black;" title="Warning: This info is from the animated series!">Animated species file</span>]]</span></indicator>
<div style="position: relative; width: 220px; height: 30px; overflow: hidden">
[[Category:Animated Species]]</includeonly><noinclude>{{doc|content=Add this template to indicate the article's content originates from the animated series. For a list of pages using this indicator, see [[:Category:Animated Species|the appropriate category]].
<div style="position: absolute; top: 0px; left: 0px; font-size: 100px; overflow: hidden; line-height: 40px; z-index: 3">[[:Category:Animated Species|<span title="Warning: This info is from the animated series!">&nbsp;&nbsp;&nbsp;</span>]]</div>
[[Category:Indicator templates]]}}</noinclude>
<div style="background: #ffffff; font-size:small; color: #000000; position: absolute; top: 0px; left: 0px; z-index: 2; border:2px solid #E15656; padding: 7px;">Animated species file</div>
</div>
</div>
<noinclude>[[Category:Animated Species]]</noinclude>

Revision as of 15:52, 23 September 2023

Template Documentation
Add this template to indicate the article's content originates from the animated series. For a list of pages using this indicator, see the appropriate category.