Jump to content

Template:Stub: Difference between revisions

From Ferret Software Wiki
m 1 revision imported: PS to FS migration
Gorasuhl (talk | contribs)
updated to use template Notice like other notice templates
 
Line 1: Line 1:
<div style="padding-left: 10px; padding-bottom: 3px; background-color: #ff000020; border: 1px solid #ff000050; border-left: 8px solid #ff000050; border-radius: 4px;">
<includeonly>{{Notice
<div style="float: left; padding-top: 10px; padding-right: 10px;">[[File:Stub.png|48px]]</div>
|align = center
<big>'''This article is a [[:Category:Article stubs|stub]].'''</big><br>
|class = nomobile
You can help the Pirate Software Wiki by [{{fullurl:{{FULLPAGENAME}}|action=edit}} editing it].
|color = maroon
</div>
|colorBack = maroon
<includeonly>[[Category:Article stubs]]</includeonly>
|file = stub.png
|filesize = 48px
|width = 50%
|header = '''This article is a [[:Category:Article stubs|stub]]'''
|content = You can help the {{SITENAME}} by [{{fullurl:{{FULLPAGENAME}}|action=edit}} ''editing it.'']
}}{{#if: {{{noCategories|}}}| |[[Category:Article stubs]]}}</includeonly><noinclude>[[Category:Notice templates|{{PAGENAME}}]]{{/doc}}</noinclude>

Latest revision as of 20:53, 16 June 2025

Documentation

This template is used to mark pages as stub and signal that they were started and only contain some basic informations. Marked pages will automatically be added to Category:Article stubs.

This template uses {{Notice}} to create the box and it's not visible on mobile devices (added class nomobile).

Usage

To use, put {{Stub}} at the start of the page.

Parameters

Parameter[note 1] Data Type Status Default Value Description
Position or name Placeholder
noCategories - Optional Boolean - If given any value, the page will not be auto-categorized.

Notes

  1. Placeholders refer to the names used in the syntax above. Placeholder - indicates parameters that are not used by default and need to be added by hand, e.g. |noCategories = 1.

Example

{{Stub}} produces:

This article is a stub
You can help the Ferret Software Wiki by editing it.

See also