Template:Draft: Difference between revisions
Appearance
Content deleted Content added
m allows substituting another pagename for the talk page, instead of default talk page (useful when the template is transcluded in pages translated in many languages linked to the same multilingual talk page or a page in MyLanguage: only when it is created |
No edit summary |
||
| (42 intermediate revisions by 11 users not shown) | |||
| Line 1: | Line 1: | ||
<noinclude><languages /></noinclude>{{#switch:<translate></translate> |
|||
<noinclude> |
|||
| ⚫ | |||
<languages/> |
|||
<div style="margin:0 .5em;float:{{Dir|{{Pagelang}}|left|right}};margin-{{Dir|{{Pagelang}}|left|right}}:0">{{Translate|icon=yes|Template:Draft}}</div> |
|||
</noinclude>{{messagebox |
|||
| ⚫ | |||
| l-width= 40px |
|||
<br/><translate><!--T:4--> Translation admins: Normally, drafts should ''not'' be marked for translation.</translate></div> |
|||
| ⚫ | |||
}} |
|||
| text= '''<translate><!--T:1--> |
|||
|#default={{#invoke:Template translation|renderTranslatedTemplate|template=Template:Draft|noshift=1|uselang={{{uselang|{{#if:{{#translation:}}|{{CURRENTCONTENTLANGUAGE}}|{{Uselang}}}}}}}}} |
|||
This page is currently a draft.</translate>''' <translate><!--T:2--> |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
Latest revision as of 04:55, 20 July 2026
|
This page is currently a draft. More information pertaining to this may be available on the talk page.
Translation admins: Normally, drafts should not be marked for translation. |
Usage
- In untranslated pages, use
{{Draft}}
- If you want to force all translated draft pages to point to the same (multilingual) talk page, use :
{{Draft | talk = Talk:pagename }}- This avoids lots of red links being displayed in translated draft pages, pointing to talk pages followed by nobody.
- But if you want to link a draft page that has been (or will be) translated into multiple or many languages to the same default multilangual talk page, or only a few talk pages that have been created for specific languages, use :
{{Draft | talk = Special:MyLanguage/Talk:pagename }}- This will link to the specific talk subpages that exist for these languages, otherwise it will link to a default base page.