Template:Preloaddraft
Usage
This template is for creating a draft with preloaded text defined at some other page. It may be useful for redlink lists for editathons which often have a high proportion of inexperienced editors creating new pages (see example in action at WP:Meetup/SCAR_2016#To_create). Having an appropriate skeleton draft text preloaded onto the new page can help make formatting easier.
{{preloaddraft
|1 = Draft page to create
|2 = Subpage with text to be preloaded (should be subpage of Template:preloaddraft/...)
|3 = Wikidata id (if known)
}}
Any time the formal parameter $1 appears in the text of page with text to be preloaded, it is replaced with name of the draft to create.
Examples
If the page already exists
{{preloaddraft|Example|draft_template_example}} simply links to that page "Example" (Example )
If a draft for the page already exists
{{preloaddraft|Exampledraft|draft_template_example}} will link to the existing "Draft:Exampledraft" page (Draft:Exampledraft )
If a draft for the page doesn't yet exist
{{preloaddraft|Alex Redlink|draft_template_example}} will create the page "Draft:Alex_Redlink" with preloaded text from "Template:Preloaddraft/draft_template_example" ( ). Any time the formal parameter $1 appears in the text of the preloaded text (Template:Preloaddraft/draft_template_example), it is replaced with the name of the draft page ("Alex Redlink"). Articles are added to Category:Created via preloaddraft to track them.
If another page of the same name, or disambiguation page already exists
{{preloaddraft|Example|draft_template_example|disambig=true}} will still create a new page with the occupation in brackets if the |disambig=true parameter is used ((disambig) )
If page is "INSERT NAME HERE"
{{preloaddraft|INSERT NAME HERE|draft_template_example}} will not include anything ( ) so that the template wikimarkup can be included invisibly at the bottom of lists.
Limitations
There is currently a limitation of 250 copies of this template per page. After that number, subsequent occurrences of the template default to red links.
Current draft templates
See also
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.