Modèle:Pageinprogress
De Wikisisar
Révision datée du 19 juin 2012 à 21:43 par Msgj (discussion) (add name parameter, replaced: {{Ambox → {{Ambox | name = {{subst:PAGENAME}} using AWB)
{{#ifeq:Modèle|Modèle||}}
{{#ifeq:{{{small}}}|left|}
{{#ifeq:{{{small}}}|left|}
| This article is currently being written {{#if: |by {{{1}}}|}} {{#if: | at [[{{{2}}}]] |}}. As a courtesy, please do not edit this page while this message is displayed, if this message remains for more than a week please ask about the progress of the article {{#if: |at the poster's [[User talk:{{{1}}}|talk page]]|at the poster's talk page}} and remove this template if needed. |
{{#ifeq:pageinprogress |doc
|
{{#ifeq:show |show
|| This is a documentation subpage for Modèle:Pageinprogress. It contains usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:Modèle |Utilisateur |modèle template page |{{#if:Modèle |modèle page|article}}}}}}}}. |
}}{{#if: |
| {{#ifexist:Modèle:Pageinprogress
| [[Category:{{#switch:Modèle |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
|
}}
}}
|
}}
Usage
Use this template when you start to write a new article at another location (e.g. Userpage) and wish to inform other people that the article is currently being written.
- {{pageinprogress|user|location}} - Replace user with your username and location with the name of the page where the draft copy is located.
For example, {{pageinprogress|John Smith|User:John Smith/Article}} gives you:
{{#ifeq:Modèle|{{subst:NAMESPACE}}||}}| This article is currently being written {{#if: John Smith |by John Smith|}} {{#if: User:John Smith/Article | at User:John Smith/Article |}}. As a courtesy, please do not edit this page while this message is displayed, if this message remains for more than a week please ask about the progress of the article {{#if: John Smith |at the poster's talk page|at the poster's talk page}} and remove this template if needed. |
| The above documentation is transcluded from Modèle:Pageinprogress/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |