Template:Stub: Difference between revisions

m Removed background color to allow dynamic color shift in dark mode.
 
(16 intermediate revisions by the same user not shown)
Line 4: Line 4:
<div class='notice quality quality-stub’>This article is a stub. Please help The Reed and Rite by <span class="plainlinks">[{{SERVER}}{{localurl:{{FULLPAGENAME}}|action=edit}} expanding it]</span>.</div><indicator name=status><div title='This article is a stub'>[[File:Quill-outline.png|30px|link=:Help:Categories#Quality_Tags|This article is a stub.]]</div></indicator>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Stubs]]}}{{#ifeq:{{NAMESPACE}}|{{ns:100}}|[[Category:Stubs]]}}</includeonly><noinclude>
<div class='notice quality quality-stub’>This article is a stub. Please help The Reed and Rite by <span class="plainlinks">[{{SERVER}}{{localurl:{{FULLPAGENAME}}|action=edit}} expanding it]</span>.</div><indicator name=status><div title='This article is a stub'>[[File:Quill-outline.png|30px|link=:Help:Categories#Quality_Tags|This article is a stub.]]</div></indicator>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Stubs]]}}{{#ifeq:{{NAMESPACE}}|{{ns:100}}|[[Category:Stubs]]}}</includeonly><noinclude>
== Description ==
== Description ==
This template will automatically add the page to [[:Category: Stubs]] It adds a status indicator of a outlined quill icon ([[File:Quill-outline.png|20px|link=|An outlined quill icon.]]) to the top, right corner of the article to indicate the article is a stub, with the [[Help:Categories#Quality_Tags|other quality tags]] having similar icons.
This template is a [[Help:Categories#Quality_Tags|quality tag]] used to categorize articles that have very little to no information or content. Using it will do three things: automatically adds the page to [[:Category: Stubs]], adds a status indicator of a outlined quill icon ([[File:Quill-outline.png|20px|link=|An outlined quill icon.]]) to the top, right corner of the article, and adds a notice indicating the article is a stub and asks users to help expand the page's content.
 
When a page is not longer a stub, the {{t|partial}} tag should be used.


== Usage ==
== Usage ==
To use, add the <code><nowiki>{{stub}}</Nowiki></code> tag within the '''Notes''' section, after the <code><nowiki><references /></nowiki></code> tag.
{| style="width: 100%; text-align: left; margin: auto;" class="wikitable"
{| style="width: 100%; text-align: left; margin: auto;" class="wikitable"
|-
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Example: Tag Only</span><br><span style="font-weight: normal;">[Brief Explanation here]</span>
|-
|-
! width=25%|You Type
! width=25%|You Type
!You Get
!You Get
|-
|-
| style="text-align: center; background-color: white;" |<pre>{{stub}}</pre>
| style="text-align: center;" |<pre>{{stub}}</pre>
| style="background-color: white;" |[[File:Quill-outline.png|30px|right|link=|An outlined quill icon.]]
|<span style="display: block; font-size: 1.8em; font-family: Georgia; font-weight: normal; margin-top: 0.3em; border-bottom: 1px solid #a2a9b1;">Page Title [[File:Quill-outline.png|30px|right|link=|An outlined quill icon.]]</span>  
<br><br><br> <div style="text-align:center; font-size: 1.75em; font-family: Courier;">~ ~ ~ ''PAGE CONTENT'' ~ ~ ~</div><br><br><hr /><hr />{{notice|width=83%|color=white|1=''This article is a stub. Please help The Reed and Rite by <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it]</span>.''|dismiss=no}}
<br><br> <div style="text-align:center; font-size: 1.75em; font-family: Courier;">~ ~ ~ ''PAGE CONTENT'' ~ ~ ~</div><br><br><hr /><hr />{{notice|width=83%|color=clear|text=''This article is a stub. Please help The Reed and Rite by <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it]</span>.''|dismiss=no}}
|}
|}