Template:Stub: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>JulienDethurens
Fixing examples and removing ROBLOX group link
Line 1: Line 1:
==Usage==
== Usage ==
<code>{{Stub[urgent=yes]}}</code>
<pre>
==Description==
{{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.
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==
==Examples==
=== Example ===
===Example===
==== Code ====
====Code====
<pre>
<code>
{{Stub}}
{{Stub}}
</code>
</pre>
====Result====
==== Result ====
{{Stub}}
{{Stub}}
===Example===
=== Urgent example ===
====Code====
==== Urgent code ====
<code>
<pre>
{{Stub|urgent=yes}}
{{Stub|urgent=yes}}
</code>
</pre>
====Result====
==== Urgent result ====
{{Stub|urgent=yes}}
{{Stub|urgent=yes}}
[[Category:Maintenance Templates]]
[[Category:Maintenance Templates]]
<includeonly><onlyinclude>{{EmphasisBox/start|{{{color|purple}}}|dark={{if|{{{urgent|}}}|yes}}|text-align:center}}
<includeonly>
<div style="float:left">[[File:CodeStub.png|link=]]</div>
<onlyinclude>
This article is a '''stub'''. If you think you know more about this than we do, please help us by [http://www.roblox.com/Groups/group.aspx?gid=127081 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>
{{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>

Revision as of 23:25, 17 April 2023

Usage

{{Stub[urgent=yes]}}

Description

States that a page is a stub and adds the page to the Stubs category. If the urgent argument is "yes", also adds the page to the High-traffic Stubs category.

Examples

Example

Code

{{Stub}}

Result

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!

Urgent example

Urgent code

{{Stub|urgent=yes}}

Urgent result

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!
This page should be written as soon as possible, as it is expecting high traffic.