Difference between revisions of "Template:Style"

From ArchWiki
Jump to: navigation, search
(reform template as discussed in Category_talk:Template#Article status reason)
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{Template}}
+
<noinclude>
 +
[[ru:Template:Style]]
 +
{{Template}}
  
'''A "quality" flag used to indicate poorly written articles.'''
+
'''A flag used to indicate articles or sections with language, wiki syntax or style issues.'''
  
====Usage====
+
==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.
+
This template should be added at the beginning of articles or sections with language, wiki syntax or style issues. Ensure to cite specific concerns with the first argument and possibly also on the flagged article's discussion page.
  
  <nowiki>{{Poor writing|reason}}</nowiki>
+
  <nowiki>{{Style|reason}}</nowiki>
  
 
You can override the default discussion page with a second optional argument:
 
You can override the default discussion page with a second optional argument:
  
  <nowiki>{{Poor writing|reason|Talk:Alternative Page}}</nowiki>
+
  <nowiki>{{Style|reason|Talk:Alternative Page}}</nowiki>
 
 
You can point to a specific section in the default talk page with the named {{ic|section}} parameter:
+
Alternatively you can point to a specific section in the default talk page with the named {{ic|section}} parameter:
  
  <nowiki>{{Poor writing|reason|section}}</nowiki>
+
  <nowiki>{{Style|reason|section=Section name}}</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.
+
Flagged articles can be found in [[Special:WhatLinksHere/Template:Style]] or in [[:Category:Pages or sections flagged with Template:Style]]. If knowledgeable in the subject, users are encouraged to participate to improve the article or section and remove the {{ic|<nowiki>{{Style}}</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 -->
+
{{Note|The talk page is linked through an external link: this is to avoid polluting [[Special:WantedPages]] when the talk page does not exist.}}
  
<nowiki>{{Poor writing|This is just a demonstration template.}}</nowiki>
+
==Example==
  
{{Message_box
+
<nowiki>{{Style|This is just a demonstration template.}}</nowiki>
|id              = poorwriting
+
 
|signal          = [[Image:Tango-mail-mark-junk.png]]
+
{{Style|This is just a demonstration template.}}
|heading        = This article or section is poorly written.
+
</noinclude><includeonly>{{META Message
|message        = '''Reason:''' This is just a demonstration template. ([[{{TALKPAGENAME}}|Discuss]])}}</noinclude><includeonly>{{Message_box
+
|signal          = [[Image:Tango-edit-clear.png]]
|id              = poorwriting
+
|heading        = This article or section needs language, wiki syntax or style improvements.
|signal          = [[Image:Tango-mail-mark-junk.png]]
+
|message        = '''Reason:''' {{{reason|{{{1|{{META Unexplained Status Template}}}}}}}} (Discuss in [{{fullurl:{{{talk|{{{2|{{TALKPAGENAME}}#{{{section|}}}}}}}}}}} {{{talk|{{{2|{{TALKPAGENAME}}#{{{section|}}}}}}}}}])}}[[Category:Pages or sections flagged with Template:Style]]</includeonly>
|heading        = This article or section is poorly written.
+
|message        = '''Reason:''' {{{reason|{{{1|{{Unexplained Status Template}}}}}}}} ([[{{{talk|{{{2|{{TALKPAGENAME}}#{{{section|}}}}}}}}}|Discuss]])}}</includeonly>
+

Latest revision as of 10:50, 8 February 2016

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 flag used to indicate articles or sections with language, wiki syntax or style issues.

Usage

This template should be added at the beginning of articles or sections with language, wiki syntax or style issues. Ensure to cite specific concerns with the first argument and possibly also on the flagged article's discussion page.

{{Style|reason}}

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

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

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

{{Style|reason|section=Section name}}

Flagged articles can be found in Special:WhatLinksHere/Template:Style or in Category:Pages or sections flagged with Template:Style. If knowledgeable in the subject, users are encouraged to participate to improve the article or section and remove the {{Style}} flag when finished.

Note: The talk page is linked through an external link: this is to avoid polluting Special:WantedPages when the talk page does not exist.

Example

{{Style|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#)