×
Namespaces

Variants
Actions
(Difference between revisions)

Template:ArticleNeedsUpdate

From Nokia Developer Wiki
Jump to: navigation, search
hamishwillee (Talk | contribs)
m (Hamishwillee - - Default appearance: add chinese translation of "please state reasons for update")
hamishwillee (Talk | contribs)
m (Hamishwillee - Add Russian Translation)
Line 5: Line 5:
 
   <nowiki>{{ArticleNeedsUpdate</nowiki>|timestamp=<nowiki>{{subst:CURRENTTIMESTAMP}}</nowiki>|user=<nowiki>~~~</nowiki>|Text explaining issues(required)}}
 
   <nowiki>{{ArticleNeedsUpdate</nowiki>|timestamp=<nowiki>{{subst:CURRENTTIMESTAMP}}</nowiki>|user=<nowiki>~~~</nowiki>|Text explaining issues(required)}}
 
The parameters are required:
 
The parameters are required:
* ''timestamp'': Apply a timestamp so it is clear when the suggestion was made. Usually just copy-paste timestamp=<nowiki>{{subst:CURRENTTIMESTAMP}}</nowiki> ~
+
* ''timestamp'': Apply a timestamp so it is clear when the suggestion was made. Usually just copy-paste timestamp=<nowiki>{{subst:CURRENTTIMESTAMP}}</nowiki>  
 
* ''user'': User id of person recording issue. You can use the wiki syntax <nowiki>~~~</nowiki> to add your user id
 
* ''user'': User id of person recording issue. You can use the wiki syntax <nowiki>~~~</nowiki> to add your user id
 
* Unnamed parameter: Text explaining what changes or testing is needed.
 
* Unnamed parameter: Text explaining what changes or testing is needed.
Line 12: Line 12:
 
* ''language'': The language category of the natural language the template is to display in. If no language is specified or if the specified language is not supported then the English version is used.
 
* ''language'': The language category of the natural language the template is to display in. If no language is specified or if the specified language is not supported then the English version is used.
  
** Translations exist for: Lang-Portuguese, Lang-Chinese  
+
** Translations exist for: Lang-Portuguese, Lang-Chinese, Lang-Russian
 
** For example:
 
** For example:
 
**: <code text>{{ArticleNeedsUpdate|language=Lang-Chinese|timestamp=...}}</code>
 
**: <code text>{{ArticleNeedsUpdate|language=Lang-Chinese|timestamp=...}}</code>
Line 18: Line 18:
  
 
== Articles which use this template ==
 
== Articles which use this template ==
 +
<toggledisplay>
 
{{#dpl:namespace=|
 
{{#dpl:namespace=|
 
uses=Template:ArticleNeedsUpdate|
 
uses=Template:ArticleNeedsUpdate|
Line 29: Line 30:
  
 
Note, this depends on [[Template:ArticleNeedsUpdate.dpl]]
 
Note, this depends on [[Template:ArticleNeedsUpdate.dpl]]
 +
</toggledisplay>
 +
  
 
== Default appearance ==
 
== Default appearance ==
Line 37: Line 40:
 
  | Lang-Portuguese =Este artigo precisa ser atualizado
 
  | Lang-Portuguese =Este artigo precisa ser atualizado
 
  | Lang-Chinese =本文需要更新
 
  | Lang-Chinese =本文需要更新
 +
| Lang-Russian =Данную статью необходимо обновить
 
  | #default =This article needs {{{type|to be updated}}}
 
  | #default =This article needs {{{type|to be updated}}}
 
  }}
 
  }}
Line 43: Line 47:
 
  | Lang-Portuguese =Se você achou esse artigo útil, por favor corrija os problemas relatados abaixo e depois retire do artigo o modelo  <nowiki>{{ArticleNeedsUpdate}}</nowiki>, para que este aviso seja removido.
 
  | Lang-Portuguese =Se você achou esse artigo útil, por favor corrija os problemas relatados abaixo e depois retire do artigo o modelo  <nowiki>{{ArticleNeedsUpdate}}</nowiki>, para que este aviso seja removido.
 
  | Lang-Chinese =如果您发现这篇文章有用,请修复下面的问题,然后从文章中删除 <nowiki>{{ArticleNeedsUpdate}}</nowiki> 模板,以消除此警告。
 
  | Lang-Chinese =如果您发现这篇文章有用,请修复下面的问题,然后从文章中删除 <nowiki>{{ArticleNeedsUpdate}}</nowiki> 模板,以消除此警告。
 +
| Lang-Russian =Если Вы считаете эту статью полезной, пожалуйста, исправьте указанные ниже проблемы, после чего удалите шаблон <nowiki>{{ArticleNeedsUpdate}}</nowiki> из статьи, чтобы убрать это предупреждение.
 
  | #default =If you found this article useful, please fix the problems below then delete the <nowiki>{{ArticleNeedsUpdate}}</nowiki> template from the article to remove this warning.  
 
  | #default =If you found this article useful, please fix the problems below then delete the <nowiki>{{ArticleNeedsUpdate}}</nowiki> template from the article to remove this warning.  
 
  }}<br><br>'''{{#switch: {{{language|}}}   
 
  }}<br><br>'''{{#switch: {{{language|}}}   
 
  | Lang-Portuguese =Motivos
 
  | Lang-Portuguese =Motivos
 
  | Lang-Chinese =原因
 
  | Lang-Chinese =原因
 +
| Lang-Russian =Причины
 
  | #default =Reasons
 
  | #default =Reasons
 
  }}:''' {{{user|}}} {{#if: {{{timestamp|}}}|({{#time: d M Y|{{{timestamp}}} }})|}}<br>{{#switch: {{{language|}}}   
 
  }}:''' {{{user|}}} {{#if: {{{timestamp|}}}|({{#time: d M Y|{{{timestamp}}} }})|}}<br>{{#switch: {{{language|}}}   
 
  | Lang-Portuguese ={{{1|POR FAVOR, EXPLIQUE PORQUE O ARTIGO PRECISA SER ATUALIZADO.}}}
 
  | Lang-Portuguese ={{{1|POR FAVOR, EXPLIQUE PORQUE O ARTIGO PRECISA SER ATUALIZADO.}}}
 
  | Lang-Chinese ={{{1|请说明需要更新的理由。}}}
 
  | Lang-Chinese ={{{1|请说明需要更新的理由。}}}
 +
| Lang-Russian ={{{1|PLEASE STATE REASON(S) FOR UPDATE.}}}
 
  | #default ={{{1|PLEASE STATE REASON(S) FOR UPDATE.}}}
 
  | #default ={{{1|PLEASE STATE REASON(S) FOR UPDATE.}}}
 
  }}
 
  }}
 
}}
 
}}

Revision as of 09:14, 23 September 2011

Apply this template to the top of articles that require a specific update or testing to improve quality or to bring them "up to date".

Usage

 {{ArticleNeedsUpdate|timestamp={{subst:CURRENTTIMESTAMP}}|user=~~~|Text explaining issues(required)}}

The parameters are required:

  • timestamp: Apply a timestamp so it is clear when the suggestion was made. Usually just copy-paste timestamp={{subst:CURRENTTIMESTAMP}}
  • user: User id of person recording issue. You can use the wiki syntax ~~~ to add your user id
  • Unnamed parameter: Text explaining what changes or testing is needed.

Optional parameters:

  • type: A short string for the type of update required. For example, one of: copyediting, code formatting, technical review. This is optional, but if specified will replace the text "to be updated" when the template is displayed.
  • language: The language category of the natural language the template is to display in. If no language is specified or if the specified language is not supported then the English version is used.
    • Translations exist for: Lang-Portuguese, Lang-Chinese, Lang-Russian
    • For example:
      {{ArticleNeedsUpdate|language=Lang-Chinese|timestamp=...}}


Articles which use this template

[show details]


Default appearance

The default appearance of the template, without the unnamed explanatory parameter specified, is shown below:


Needs-update.pngThis article needs to be updated: If you found this article useful, please fix the problems below then delete the {{ArticleNeedsUpdate}} template from the article to remove this warning.

Reasons:
PLEASE STATE REASON(S) FOR UPDATE.

245 page views in the last 30 days.