Template:Featured Article: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
m (ok, got to hide the overflow it seems)
m (Adjusting inclusion to showcase the indicator at the template page itself)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div style="position:absolute; z-index:100; right:15px; top:5px;" class="metadata" id="featured-star">
<indicator name="featured">[[File:LinkFA-star.png|This is a featured article. We believe it to be one of the best examples of articles in the 118Wiki.|link=118Wiki:Featured Articles]] <small>[[118Wiki:Featured Articles|Featured Article]]</small></indicator>
<div style="position: relative; width: 25px; height: 25px; overflow: hidden">
<includeonly>[[Category:Featured Articles]]</includeonly><noinclude>{{doc|content=Add this template to indicate a featured article. For a list of pages using this indicator, see [[:Category:Featured Articles|the appropriate category]]. The indicator is displayed in this template page as well for preview.
<div style="position: absolute; top: 0px; left: 0px; font-size: 100px; overflow: hidden; line-height: 100px; z-index: 3">[[118wiki:Featured Articles|<span title="This is a 118wiki Featured Article">&nbsp;&nbsp;&nbsp;</span>]]</div>
[[Category:Indicator templates]]}}</noinclude>
<div style="position: absolute; top: 0px; left: 0px; z-index: 2; padding: 2px;">[[Image:LinkFA-star.png]]</div>
</div>
</div>

Latest revision as of 15:58, 23 September 2023

Template Documentation
Add this template to indicate a featured article. For a list of pages using this indicator, see the appropriate category. The indicator is displayed in this template page as well for preview.