Template:Stub: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
Fixing examples and removing ROBLOX group link
Update to match our recent banner templates
 
Line 1: Line 1:
{| style="border-radius: 4px; background-color: {{Color|purple|light}}; border: solid 1px black; margin: auto 10px; padding: 2px; display: block"
| [[File:CodeStub.png|50px|alt=Stub icon]]
| <big>'''Stub'''</big><br /><small>This article is a '''stub'''. If you think you know more about this than we do, please help us by [[Help:Contributing#Discussion|contacting a writer]].<br />Thank you!</small>
|}
<includeonly>
[[Category:Stubs]]
</includeonly>
<noinclude>
<noinclude>
States that a page is a stub and adds the page to the [[:Category:Stubs|Stubs]] category.
== Usage ==
== Usage ==
<pre>
{{Stub[urgent=yes]}}
</pre>
== Description ==
States that a page is a stub and adds the page to the [[:Category:Stubs|Stubs]] category. If the urgent argument is "yes", also adds the page to the [[:Category:High-traffic Stubs|High-traffic Stubs]] category.
== Examples==
=== Example ===
==== Code ====
<pre>
<pre>
{{Stub}}
{{Stub}}
</pre>
</pre>
==== Result ====
{{Stub}}
=== Urgent example ===
==== Urgent code ====
<pre>
{{Stub|urgent=yes}}
</pre>
==== Urgent result ====
{{Stub|urgent=yes}}
[[Category:Maintenance Templates]]
[[Category:Maintenance Templates]]
<includeonly>
</noinclude>
<onlyinclude>
{{EmphasisBox/start
  | {{{color|purple}}}
  | dark = {{if
    | {{{urgent|}}}
    | yes
  }}
  | text-align: center
}}
<div style="float:left">
[[File:CodeStub.png|link=]]
</div>
This article is a '''stub'''. If you think you know more about this than we do, please help us by contacting a writer.<br />Thank you!
{{switch
  | {{{urgent
    | no
  }}}
  | yes = <br />This page should be written as soon as possible, as it is expecting high traffic.
  | no  =
}}
[[{{if|{{{urgent|}}}|Category:High-traffic Stubs|Category:Stubs}}]]
{{EmphasisBox/end}}
</onlyinclude>
</includeonly>

Latest revision as of 01:14, 19 April 2023

Stub icon Stub
This article is a stub. If you think you know more about this than we do, please help us by contacting a writer.
Thank you!



States that a page is a stub and adds the page to the Stubs category.

Usage

{{Stub}}