Revision as of 18:16, 13 March 2009 view sourceRjanag (talk | contribs)Extended confirmed users58,857 edits blah← Previous edit | Revision as of 01:52, 29 March 2009 view source Rjanag (talk | contribs)Extended confirmed users58,857 edits UPDATE from User:Rjanag/NewDYKnom dev. enabling history linksNext edit → | ||
Line 9: | Line 9: | ||
--> | --> | ||
</noinclude><includeonly>{{subst:</includeonly><includeonly>empty template|1={{error:not substituted|DYKsug}}}}</includeonly> | </noinclude><includeonly>{{subst:</includeonly><includeonly>empty template|1={{error:not substituted|DYKsug}}}}</includeonly> | ||
====]{{<includeonly>subst:</includeonly>#if:{{{article2|}}}|, ]}}{{<includeonly>subst:</includeonly>#if:{{{article3|}}}|, ]}}{{<includeonly>subst:</includeonly>#if:{{{article4|}}}|, ]}}{{<includeonly>subst:</includeonly>#if:{{{article5|}}}|, ]}}{{<includeonly>subst:</includeonly>#if:{{{article6|}}}|, ]}}{{<includeonly>subst:</includeonly>#if:{{{article7|}}}|, ]}}{{<includeonly>subst:</includeonly>#if:{{{article8|}}}|, ]}}==== | ====] <span class="plainlinks"><small>()</small></span>{{<includeonly>subst:</includeonly>#if:{{{article2|}}}|, ] <span class="plainlinks"><small>()</small></span>}}{{<includeonly>subst:</includeonly>#if:{{{article3|}}}|, ] <span class="plainlinks"><small>()</small></span>}}{{<includeonly>subst:</includeonly>#if:{{{article4|}}}|, ] <span class="plainlinks"><small>()</small></span>}}{{<includeonly>subst:</includeonly>#if:{{{article5|}}}|, ] <span class="plainlinks"><small>()</small></span>}}{{<includeonly>subst:</includeonly>#if:{{{article6|}}}|, ] <span class="plainlinks"><small>()</small></span>}}{{<includeonly>subst:</includeonly>#if:{{{article7|}}}|, ] <span class="plainlinks"><small>()</small></span>}}{{<includeonly>subst:</includeonly>#if:{{{article8|}}}|, ] <span class="plainlinks"><small>()</small></span>}}==== | ||
<includeonly>{{subst:</includeonly>#if:{{{image|}}}|<div style="float:right;margin-left:0.5em;"> | <includeonly>{{subst:</includeonly>#if:{{{image|}}}|<div style="float:right;margin-left:0.5em;"> | ||
] | ] | ||
Line 18: | Line 18: | ||
--><includeonly>{{subst:</includeonly>#if:{{{ALT1|}}}| | --><includeonly>{{subst:</includeonly>#if:{{{ALT1|}}}| | ||
:*'''ALT1''':{{{ALT1|}}}}}<includeonly>{{subst:</includeonly>#if:{{{ALT2|}}}| | :*'''ALT1''':{{{ALT1|}}}}}<includeonly>{{subst:</includeonly>#if:{{{ALT2|}}}| | ||
:*'''ALT2''':{{{ALT2|}}}}} | :*'''ALT2''':{{{ALT2|}}}}}<includeonly>{{subst:</includeonly>#if:{{{comment|}}}| | ||
⚫ | :*''Comment'': {{{comment}}}}} | ||
<small>{{<includeonly>subst:</includeonly>#ifeq:{{{status}}}|New|Created|{{<includeonly>subst:</includeonly>#ifeq:{{{status}}}|Expanded|5x expanded|{{<includeonly>subst:</includeonly>#ifeq:{{{status}}}|Expansion|5x expanded|{{<includeonly>subst:</includeonly>#ifeq:{{{status}}}|new|Created|{{<includeonly>subst:</includeonly>#ifeq:{{{status}}}|expanded|5x expanded|{{<includeonly>subst:</includeonly>#ifeq:{{{status}}}|expansion|5x expanded|Created/expanded}}}}}}}}}}}} by ] (])<includeonly>{{subst:</includeonly>#if:{{{expander2|{{{creator2|{{{creator2|{{{author2|}}}}}}}}}}}}|, ] (])}}<includeonly>{{subst:</includeonly>#if:{{{expander3|{{{creator3|{{{writer3|{{{author3|}}}}}}}}}}}}|, ] (])}}<includeonly>{{subst:</includeonly>#if:{{{expander4|{{{creator4|{{{writer4|{{{author4|}}}}}}}}}}}}|, and ] (])}}. <includeonly>{{subst:</includeonly>#if:{{{nominator|}}}|<includeonly>{{subst:</includeonly>#ifeq:{{{expander4|{{{creator4|{{{writer4|{{{author4|}}}}}}}}}}}}{{{expander3|{{{creator3|{{{writer3|{{{author3|}}}}}}}}}}}}{{{expander2|{{{creator2|{{{writer2|{{{author2|}}}}}}}}}}}}{{{expander|{{{creator|{{{writer|{{{author}}}}}}}}}}}}|{{{nominator|}}}|Self nom|Nominated by ] (])}}|Self nom}} at ~~<includeonly>~</includeonly>~~</small>< |
<small>{{<includeonly>subst:</includeonly>#ifeq:{{{status}}}|New|Created|{{<includeonly>subst:</includeonly>#ifeq:{{{status}}}|Expanded|5x expanded|{{<includeonly>subst:</includeonly>#ifeq:{{{status}}}|Expansion|5x expanded|{{<includeonly>subst:</includeonly>#ifeq:{{{status}}}|new|Created|{{<includeonly>subst:</includeonly>#ifeq:{{{status}}}|expanded|5x expanded|{{<includeonly>subst:</includeonly>#ifeq:{{{status}}}|expansion|5x expanded|Created/expanded}}}}}}}}}}}} by ] (])<includeonly>{{subst:</includeonly>#if:{{{expander2|{{{creator2|{{{creator2|{{{author2|}}}}}}}}}}}}|, ] (])}}<includeonly>{{subst:</includeonly>#if:{{{expander3|{{{creator3|{{{writer3|{{{author3|}}}}}}}}}}}}|, ] (])}}<includeonly>{{subst:</includeonly>#if:{{{expander4|{{{creator4|{{{writer4|{{{author4|}}}}}}}}}}}}|, and ] (])}}. <includeonly>{{subst:</includeonly>#if:{{{nominator|}}}|<includeonly>{{subst:</includeonly>#ifeq:{{{expander4|{{{creator4|{{{writer4|{{{author4|}}}}}}}}}}}}{{{expander3|{{{creator3|{{{writer3|{{{author3|}}}}}}}}}}}}{{{expander2|{{{creator2|{{{writer2|{{{author2|}}}}}}}}}}}}{{{expander|{{{creator|{{{writer|{{{author}}}}}}}}}}}}|{{{nominator|}}}|Self nom|Nominated by ] (])}}|Self nom}} at ~~<includeonly>~</includeonly>~~</small><noinclude> | ||
⚫ | :*''Comment'': {{{comment}}} |
||
<!--Credits start here--> | <!--Credits start here--> |
Revision as of 01:52, 29 March 2009
] ()
- if:|
]
}}
- {{{hook}}}
- if:|
- ALT1:}}#if:|
- ALT2:}}#if:|
- Comment: {{{comment}}}}}
Created/expanded by ] (])#if:|, ] (])}}#if:|, ] (])}}#if:|, and ] (])}}. #if:|#ifeq:{{{author}}}||Self nom|Nominated by ] (])}}|Self nom}} at ~~~~
- if:|
- if:|
- if:|
- if:|
- if:|
- if:|
- if:|
- if:| }}
This template should always be substituted (i.e., use {{subst:NewDYKnomination}} ). Any accidental transclusions will be automatically substituted by a bot. |
If you plan to make breaking changes to this template, move it, change scope, or nominate it for deletion or deprecation, please notify the Article Alerts project at Misplaced Pages talk:Article alerts as a courtesy, as this page is used by the AAlertBot bot to detect and report pages. Thank you! |
This template uses Lua: |
This template is used on subpages of Template:Did you know nominations to nominate articles for the Did you know? section of the Main Page.
Instructions for nominating
Base templateType in your article name into the box below, and click on the blue button to create your nomination.
This will open an edit box with the following template:
{{subst:NewDYKnomination | article = {{subst:str right|{{subst:PAGENAME}}|25}} | article2 = | status = new / expanded / mainspace / redirect / GA | hook = ... that ...? <small>Source: "You are strongly encouraged to quote the source text supporting each hook" (and the source, or cite it briefly without using citation templates)</small> | ALT1 = ... that ...? <small>Source: "You are strongly encouraged to quote the source text supporting each hook" (and the source, or cite it briefly without using citation templates)</small> | author = | author2 = | image = | caption = | comment = | reviewed = }}You may wish to open this page in a separate browser tab so that you can read this guide while you are editing. articles
Add the names of the articles you are nominating. You can skip this step if you are only nominating one article, and its name is the same as the one you typed into the input box above.
Add the name of the first article (no wiki formatting) to the parameter called |article=
. For example:
| article = French Revolution
If you are nominating more than one article, add the others to |article2=
, |article3=
, etc. Example:
| article2 = Maximilien Robespierre | article3 = Guillotine | article4 = Cakehook
Add the hook to the parameter called |hook=
, following the hook guidelines at WP:DYK#The hook. Remember to begin the hook with "... that", to end it with a question mark, and to link the article title within the hook and make it bold. If you will be using an image with the hook, don't forget to put ''(pictured)''
in it. Example:
| hook = ... that a lot of people died during the ''']''' ''(pictured)''?status If you created this article from scratch, make
|status=new
. If you expanded it from an existing article, make |status=expanded
. If you newly source and expand a completely unsourced BLP, make |status=BLP expanded
. If you moved it from non-mainspace to mainspace, make |status=moved
. If the article passed a Good Article review, make |status=GA
. If you converted the page to an article from a redirect or a disambiguation page, use |status=redirect
.
contributors
Add the names of the editors who contributed to the article being nominated for DYK. You can skip this step if you are the main contributor, and there are no other contributors that need to be credited.
In the parameter called |author=
add the name of the article's primary author (whoever did the work that's being nominated for DYK—either the person who originally created the article, or the one who expanded it recently). Type out the username in plain text with no formatting; do not use ~~~~
. Example:
| author = Jimbo Wales
Just like the article names, you can add more than one author if several people collaborated, using |author2=
, |author3=
, etc.
|author=
, don't worry. The template knows that you are the nominator; you don't have to fill in anything extra.
image
If you are not nominating an image to go with your hook, skip this section.
If you are nominating an image, put its filename in |image=
. Do note use File:
, Image:
, or any attributes like thumb
and 100px
, just use the bare filename, like this:
| image = Prise de la Bastille.jpg
After that, add an appropriate caption in the |caption=
parameter. This supplies both the tooltip (the text that appears when a reader leaves his mouse over the image for a moment) and the alt-text (the text that is used by screen readers or is shown to readers whose browser cannot display the image). It should be a physical description of the contents of the image, not a comment about the image. Please review WP:ALT to see the guidelines for how alt-text should be written.
Overall, the code for the image nomination should look something like this:
| image = Prise de la Bastille.jpg | caption = A painting depicting the storming of the Bastille, 1789comments
If you have any additional comments or explanation to add (such as "the source of the hook fact can be found on page 12"), add them in the |comment=
field. If not, leave that field blank.
| comment = Article created in my userspace on May 12, moved to mainspace on June 3.review
If applicable, list the article that you reviewed, in accordance with the review requirement. Please provide the article name, or note that you still have to conduct a review.
| reviewed = I still have to review another nomination and will post this here once it's done.alternate hooks
If you have only one hook to suggest for your nomination, skip this step. But if you want to suggest more than one hook, you can put addition hooks in the fields |ALT1=
, |ALT2=
, etc.
| ALT1 = ... that millions of high school students learn about the ''']''' ''(pictured)'' every year?nominate
Now the template in the edit window should be nicely filled up. Mine looks something like this:
{{subst:NewDYKnomination | article = French Revolution | article2 = | status = expanded | hook = ... that a lot of people died during the ''']''' ''(pictured)''? | ALT1 = ... that millions of high school students learn about the ''']''' ''(pictured)'' every year? | author = Jimbo Wales | author2 = | image = Prise de la Bastille.jpg | caption = A painting depicting the storming of the Bastille, 1789 | comment = Please save this nomination for a couple days so it can be on the main page for April Fools' Day! | reviewed = Everlost (novel) }}
(Your nomination does not necessarily need to have so many fields filled in. I just purposely filled in a lot to illustrate all of them.)
When you are ready, save the page. It should look something like this:
DYK toolbox |
---|
French Revolution
( )- ... that a lot of people died during the French Revolution (pictured)?
- ALT1:... that millions of high school students learn about the French Revolution (pictured) every year?
- Reviewed: Everlost (novel)
- Comment: Please save this nomination for a couple days so it can be on the main page for April Fools Day!
5x expanded by Jimbo Wales (talk). Nominated by Mr. Stradivarius (talk) at 05:58, 1 April 2015 (UTC).
Usage
{{subst:NewDYKnomination | article = {{subst:str right|{{subst:PAGENAME}}|25}} | article2 = | status = new / expanded / mainspace / redirect / GA | hook = ... that ...? Source: "You are strongly encouraged to quote the source text supporting each hook" (and the source, or cite it briefly without using citation templates) | ALT1 = ... that ...? Source: "You are strongly encouraged to quote the source text supporting each hook" (and the source, or cite it briefly without using citation templates) | author = | author2 = | image = | caption = | comment = | reviewed = }}
All parameters are optional. The |author=
parameter defaults to the nominator if the parameter is not present, and the |article=
parameter defaults to the name of the current subpage. There is no need to sign with ~~~~ at the end of the template; that is done automatically.
Examples
- New Article, self nom:
{{subst:NewDYKnom | article= | hook=... that ? | status=new }}
- Expansion, self nom:
{{subst:NewDYKnom| article= | hook=... that ? | status=expanded }}
- New Article by someone else:
{{subst:NewDYKnom | article= | hook=... that ? | status=new | author=}}
- Moved to mainspace:
{{subst:NewDYKnom | article= | hook=... that ? | status=moved }}
- Converted to an article:
{{subst:NewDYKnom | article= | hook=... that ? | status=converted }}
- Nom with comments or image:
{{subst:NewDYKnom|article=|hook=... that ?|status=|author=|image=|caption=|comment=}}
- Nom with a sound file:
{{subst:NewDYKnom|article=|hook=... that ?|status=|author=|sound=Example.ogg|soundcaption=Very brief}}
- Nom with a video file:
{{subst:NewDYKnom|article=|hook=... that ?|status=|author=|video=Example.ogg|videocaption=Very brief}}
Parameters
Parameter | How to use | When to use |
---|---|---|
|article= |
Title of the article, no ] . If omitted, defaults to the name of the current subpage. |
Only if the article name differs from the current subpage name. |
|article2= |
May be used if the hook has multiple articles; additional articles can be added with |article3= , |article4= , etc. |
When nominating multiple articles |
|hook= |
The text of the hook, formatted using wiki markup; it will display exactly as it is written in this field. The article should be wikilinked and should appear in bold. Example: ... that ''']''' prompted mass evacuations of ]? |
Always |
|author= |
Username of the article creator or expander, as e.g. JohnEditor , not User:JohnEditor ] , not ~~~~ . Use |author2= etc. as needed. You need not be one of the authors to nominate an article; in this case omit yourself. |
When specifying authors other than yourself |
|status= |
new or expanded or moved or converted |
Always |
|comment= |
May be used to add details in complicated nominations, or comments such as "Article expanded from redirect" or "See article for other funny pictures." | |
|reviewed= |
Title of article you reviewed, no ] . |
If the review requirement applies, and you did the review before nominating. (You can leave this blank and do the review later.) |
|image= |
Filename of the image being used, e.g. Example.png , no File: and no ] . Do not include |right|100px which are added automatically. |
If an image is included with the nomination. |
|caption= |
Caption to appear under the image, as well as the alt-text to go with the image. This must be included if there is an image. See WP:ALT for guidelines on writing alt-text. See also Template:Main page image/DYK. | |
|sound= |
Filename of the sound being used, e.g. Example.ogg , no File: and no ] . |
If a sound is included with the nomination. |
|soundcaption= |
The caption to be displayed with the sound – a few words at most. | |
|video= |
Filename of the video being used, e.g. Example.ogv , no File: and no ] . |
If a video is included with the nomination. |
|videocaption= |
The caption to be displayed with the video – a few words at most. | |
|ALT1= |
An alternate hook, formatted like the regular hook. Additional hooks can be added with |ALT2= , |ALT3= , etc. |
If you are suggesting an alternate hook along with the main hook. |
TemplateData
TemplateData | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:NewDYKnomination in articles based on its TemplateData.
TemplateData for NewDYKnomination Template for new nominations to the "Did You Know" section of the Main Page
|
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Categories: