User:MIDI/Draft
[[{{{1}}}]] ({{{desc}}}) ([[User:MIDI/Drafts/{{{1}}}|DRAFT]])
Usage
This template provides an easy and standardized way to link to user draft articles.
{{User:MIDI/Draft|article|desc=|icon=|published=}}
It requires one unnamed parameter:
- the article to be listed
It accepts three named parameters:
- desc: a description of the article (similar to WP:SHORTDESC)
- icon: the option to include a small icon (such as for DYK nominations, redirects) with an appropriate automatic wikilink
- published: a required field to determine whether or not the article is live in the mainspace.
Example
*{{User:MIDI/Draft|Grand Union Canal|desc=major canal in the UK|icon=DYK|published=1}}
will display as:
Grand Union Canal (major canal in the UK)
*{{User:MIDI/Draft|Buscot Wharf Canal|desc=minor canal arm off the [[River Thames]]|icon=|published=}}
will display as:
- Buscot Wharf Canal (minor canal arm off the River Thames) (DRAFT)
Spaces should not be introduced between parameters as to avoid syntax errors.
Notes
#ifeq: {{{icon}}} | DYK | [[File:Symbol question.svg|16px|link=Template:Did you know nominations/{{{1}}}]]
If the icon parameter is "DYK", the Did you know icon will show (
) with a link to the article's archived DYK nomination page
#ifeq: {{{icon}}} | DYKnom | [[File:Symbol question orange.png|16px|link=Template:Did you know nominations/{{{1}}}]]
If the icon parameter is "DYKnom", an orange Did you know icon will show (
) with a link to the article's active DYK nomination page
#ifeq: {{{icon}}} | RDR | {{No redirect|{{{1}}}|{{icon|redirect}}}}
If the icon parameter is "RDR", a redirect icon will show (
) with a link to the existing redirect page
#if: {{{published|}}} | <s> [...] #if: {{{published|}}} |</s>
If the published parameter is not blank (i.e. the article has been published), the list item is struck out
[[{{{1}}}]] ({{{desc}}})
The first parameter (unnamed) is the article name, which will be linked followed by the value of the desc (description) parameter
#if: {{{published|}}}| | ('''[[User:MIDI/Drafts/{{{1}}}|DRAFT]]''')
If the published parameter is blank (i.e. the article has not been published), a link to the draft article will display (even as a redlink if none yet exists)
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.