Difference between revisions of "Template:Stub"

From ArchWiki
Jump to: navigation, search
 
(reform template as discussed in Category_talk:Template#Article status reason)
(15 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<div class="boilerplate metadata" id="stub"><table cellpadding="4" cellspacing="0" style="background-color: transparent;"><tr><td></td><td>''This article is not yet written but started. It may be confusing or it contains not enough information it should have to explain matters. People are invited to [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} expand it]''.</td></tr></table></div>[[Category:Stub]]
+
<noinclude>{{Template}}
 +
 
 +
'''A "placeholder" flag used to indicate incomplete articles.'''
 +
 
 +
====Usage====
 +
 
 +
This template should be added at the beginning of incomplete articles. Please enter more detailed indications as the first argument about what the article is still missing, whether it is a work in progress and the like; consider expanding the description in the discussion page.
 +
 
 +
<nowiki>{{Stub|reason}}</nowiki>
 +
 
 +
You can override the default discussion page with a second optional argument:
 +
 
 +
<nowiki>{{Stub|reason|Talk:Alternative Page}}</nowiki>
 +
 
 +
You can point to a specific section in the default talk page with the named {{ic|section}} parameter:
 +
 
 +
<nowiki>{{Stub|reason|section}}</nowiki>
 +
 
 +
Do not confuse this template with [[Template:Expansion]], which is used to flag articles that are relatively complete but lacking in detail.
 +
 
 +
Flagged pages can be found in [[Special:WhatLinksHere/Template:Stub]]. If knowledgeable in a subject, users are encouraged to participate to expand the article and remove the {{ic|<nowiki>{{Stub}}</nowiki>}} flag when finished.
 +
 
 +
====Example==== <!-- unlike most other template examples, this one is not called directly so as not to categorize the page as disputed; please update the example if updating the code -->
 +
 
 +
<nowiki>{{Stub|This is just a demonstration template.}}</nowiki>
 +
 
 +
{{Message_box
 +
|id              = translateme
 +
|signal          = [[Image:Tango-document-new.png]]
 +
|heading        = This article is a stub.
 +
|message        = '''Notes:''' This is just a demonstration template. ([[{{TALKPAGENAME}}|Discuss]])}}</noinclude><includeonly>{{Message_box
 +
|id              = translateme
 +
|signal          = [[Image:Tango-document-new.png]]
 +
|heading        = This article is a stub.
 +
|message        = '''Notes:''' {{{reason|{{{1|{{Unexplained Status Template|2=more detailed indications}}}}}}}} ([[{{{talk|{{{2|{{TALKPAGENAME}}#{{{section|}}}}}}}}}|Discuss]])}}</includeonly>

Revision as of 10:24, 9 March 2012

This page is a template. It contains no Arch Linux-related information, but should be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

A "placeholder" flag used to indicate incomplete articles.

Usage

This template should be added at the beginning of incomplete articles. Please enter more detailed indications as the first argument about what the article is still missing, whether it is a work in progress and the like; consider expanding the description in the discussion page.

{{Stub|reason}}

You can override the default discussion page with a second optional argument:

{{Stub|reason|Talk:Alternative Page}}

You can point to a specific section in the default talk page with the named section parameter:

{{Stub|reason|section}}

Do not confuse this template with Template:Expansion, which is used to flag articles that are relatively complete but lacking in detail.

Flagged pages can be found in Special:WhatLinksHere/Template:Stub. If knowledgeable in a subject, users are encouraged to participate to expand the article and remove the {{Stub}} flag when finished.

Example

{{Stub|This is just a demonstration template.}}

Template:Message box