Difference between revisions of "Template:Style"

From ArchWiki
Jump to: navigation, search
m (a link to the template page is useless and potentially confusing, discussed in Category_talk:Template#Article status reason)
(status categories were deprecated a long time ago)
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
====Usage====
 
====Usage====
  
This template should be added at the beginning of poorly written articles or sections. Ensure to cite specific concerns on the flag article's discussion page.
+
This template should be added at the beginning of poorly written articles or sections. Ensure to cite specific concerns with the first argument and possibly also on the flag article's discussion page.
  
<pre>{{Poor writing}}</pre>
+
<nowiki>{{Poor writing|reason}}</nowiki>
  
Flagged articles can be found in [[Special:WhatLinksHere/Template:Poor writing]]. If knowledgeable in a subject, users are encouraged to participate to improve the article or section and remove the <tt><nowiki>{{Poor writing}}</nowiki></tt> flag when finished.
+
You can override the default discussion page with a second optional argument:
 +
 
 +
<nowiki>{{Poor writing|reason|Talk:Alternative Page}}</nowiki>
 +
 +
You can point to a specific section in the default talk page with the named {{ic|section}} parameter:
 +
 
 +
<nowiki>{{Poor writing|reason|section}}</nowiki>
 +
 
 +
Flagged articles can be found in [[Special:WhatLinksHere/Template:Poor writing]]. If knowledgeable in a subject, users are encouraged to participate to improve the article or section and remove the {{ic|<nowiki>{{Poor writing}}</nowiki>}} flag when finished.
 +
 
 +
{{Note|The talk page is linked throgh an external link: this is to avoid polluting [[Special:WantedPages]] when the talk page doesn't exist.}}
  
 
====Example====
 
====Example====
  
{{Message_box
+
<nowiki>{{Poor writing|This is just a demonstration template.}}</nowiki>
|id              = poorwriting
+
 
|signal          = [[Image:Tango-mail-mark-junk.png]]
+
{{Poor writing|This is just a demonstration template.}}</noinclude><includeonly>{{Message_box
|heading        = This article or section is poorly written.
+
|message        = Please help improve the quality of writing in this article to prevent it from being considered for deletion. ([[:{{NAMESPACE}} talk:{{PAGENAME}}|Discuss]])}}</noinclude><includeonly>{{Message_box
+
 
|id              = poorwriting
 
|id              = poorwriting
 
|signal          = [[Image:Tango-mail-mark-junk.png]]
 
|signal          = [[Image:Tango-mail-mark-junk.png]]
 
|heading        = This article or section is poorly written.
 
|heading        = This article or section is poorly written.
|message        = Please help improve the quality of writing in this article to prevent it from being considered for deletion. ([[:{{NAMESPACE}} talk:{{PAGENAME}}|Discuss]])}}</includeonly>
+
|message        = '''Reason:''' {{{reason|{{{1|{{Unexplained Status Template}}}}}}}} ([{{fullurl:{{{talk|{{{2|{{TALKPAGENAME}}#{{{section|}}}}}}}}}}} Discuss])}}</includeonly>

Revision as of 06:43, 3 June 2013

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 "quality" flag used to indicate poorly written articles.

Usage

This template should be added at the beginning of poorly written articles or sections. Ensure to cite specific concerns with the first argument and possibly also on the flag article's discussion page.

{{Poor writing|reason}}

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

{{Poor writing|reason|Talk:Alternative Page}}

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

{{Poor writing|reason|section}}

Flagged articles can be found in Special:WhatLinksHere/Template:Poor writing. If knowledgeable in a subject, users are encouraged to participate to improve the article or section and remove the {{Poor writing}} flag when finished.

Note: The talk page is linked throgh an external link: this is to avoid polluting Special:WantedPages when the talk page doesn't exist.

Example

{{Poor writing|This is just a demonstration template.}}

Tango-edit-clear.pngThis article or section needs language, wiki syntax or style improvements.Tango-edit-clear.png

Reason: This is just a demonstration template. (Discuss in Template talk:Style#)