Jump to content

Template:Did you know/Clear: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
WT:DYK increase to 9 hooks
m Reverted edit by Launchballer (talk) to last version by BlueMoonset
 
(43 intermediate revisions by 15 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>{{Did you know/Clear/header}}
__NOTOC__

{{DYK-Refresh}}

{{DYKqueuenav}}

'''''NOTE:''' Because a preponderance of hooks on the suggestions page are biographies or are U.S. related, it is usually appropriate to have several hooks on biographies or U.S. topics in any given update, but never more than half of either. Further information is available at [[WP:DYKSG#J]]. Thanks.''

''Tips on assembling sets are at [[Wikipedia:Did you know/Preparation areas]].''

==Hooks==
==Hooks==
</noinclude>{{DYK bottom prep notice}}
{{DYKbox}}
</noinclude>
<!--Hooks-->
<!--Hooks-->
{{main page image/DYK|image=example-serious.jpg|caption=Caption goes here}}<!--See [[Template:Main page image/DYK]] for other parameters-->
<div class="dyk-img" style="float: right; margin-left: 0.5em;">
{{main page image|image=example-serious.jpg|caption=Caption goes here|width=133x150}}<!--See [[Template:Main page image]] for other parameters-->
</div>
* ... that ... ''(pictured)'' ...
* ... that ... ''(pictured)'' ...
* ... that ...
* ... that ...
Line 27: Line 14:
* ... that ...
* ... that ...
<!--HooksEnd-->
<!--HooksEnd-->
<div class="dyk-footer hlist noprint" style="margin-top: 0.5em; text-align: right;">
{{flatlist|class=dyk-footer noprint|style=margin-top: 0.5em; text-align: right;}}
* '''[[Wikipedia:Recent additions|Archive]]'''
* '''[[Wikipedia:Recent additions|Archive]]'''
* '''[[Wikipedia:Your first article|Start a new article]]'''
* '''[[Help:Your first article|Start a new article]]'''
* '''[[Template talk:Did you know|Nominate an article]]'''
* '''[[Template talk:Did you know|Nominate an article]]'''
{{endflatlist}}
</div>
<noinclude>
<noinclude>
{{Did you know/Clear/torso}}
----
See how this template appears on both today's Main Page
{{flatlist}}
*[{{fullurl:Wikipedia:Main Page alternative (Queue 1)|action=purge}} (Queue 1)]
*[{{fullurl:Wikipedia:Main Page alternative (Queue 2)|action=purge}} (Queue 2)]
*[{{fullurl:Wikipedia:Main Page alternative (Queue 3)|action=purge}} (Queue 3)]
*[{{fullurl:Wikipedia:Main Page alternative (Queue 4)|action=purge}} (Queue 4)]
*[{{fullurl:Wikipedia:Main Page alternative (Queue 5)|action=purge}} (Queue 5)]
*[{{fullurl:Wikipedia:Main Page alternative (Queue 6)|action=purge}} (Queue 6)]
{{endflatlist}}

{{flatlist}}
*[{{fullurl:Wikipedia:Main Page alternative (DYK Prep 1)|action=purge}} (Prep Area 1)]
*[{{fullurl:Wikipedia:Main Page alternative (DYK Prep 2)|action=purge}} (Prep Area 2)]
*[{{fullurl:Wikipedia:Main Page alternative (DYK Prep 3)|action=purge}} (Prep Area 3)]
*[{{fullurl:Wikipedia:Main Page alternative (DYK Prep 4)|action=purge}} (Prep Area 4)]
*[{{fullurl:Wikipedia:Main Page alternative (DYK Prep 5)|action=purge}} (Prep Area 5)]
*[{{fullurl:Wikipedia:Main Page alternative (DYK Prep 6)|action=purge}} (Prep Area 6)]
{{endflatlist}}
... and tomorrow's Main Page
{{flatlist}}
*[{{fullurl:Wikipedia:Main Page alternative (Tomorrow and Queue 1)|action=purge}} (Queue 1)]
*[{{fullurl:Wikipedia:Main Page alternative (Tomorrow and Queue 2)|action=purge}} (Queue 2)]
*[{{fullurl:Wikipedia:Main Page alternative (Tomorrow and Queue 3)|action=purge}} (Queue 3)]
*[{{fullurl:Wikipedia:Main Page alternative (Tomorrow and Queue 4)|action=purge}} (Queue 4)]
*[{{fullurl:Wikipedia:Main Page alternative (Tomorrow and Queue 5)|action=purge}} (Queue 5)]
*[{{fullurl:Wikipedia:Main Page alternative (Tomorrow and Queue 6)|action=purge}} (Queue 6)]
{{endflatlist}}
{{flatlist}}
*[{{fullurl:Wikipedia:Main Page alternative (Tomorrow and DYK Prep 1)|action=purge}} (Prep Area 1)]
*[{{fullurl:Wikipedia:Main Page alternative (Tomorrow and DYK Prep 2)|action=purge}} (Prep Area 2)].
*[{{fullurl:Wikipedia:Main Page alternative (Tomorrow and DYK Prep 3)|action=purge}} (Prep Area 3)]
*[{{fullurl:Wikipedia:Main Page alternative (Tomorrow and DYK Prep 4)|action=purge}} (Prep Area 4)]
*[{{fullurl:Wikipedia:Main Page alternative (Tomorrow and DYK Prep 5)|action=purge}} (Prep Area 5)]
*[{{fullurl:Wikipedia:Main Page alternative (Tomorrow and DYK Prep 6)|action=purge}} (Prep Area 6)]
{{endflatlist}}
To reset the contents of this page for the next update, copy the empty page from [[Template:Did you know/Clear]].


==Credits==
==Credits==
<div id="credits">This space is to credit the creators/nominators of the items in this template that in fact appear on the Main Page. If you replace or remove an item before it appears on the Main Page, please revert the promotion of the hook so its template appears again at [[Template talk:Did you know]] and add a note to the nomination's template explaining why you removed it.
<div id="credits">This space is to credit the creators/nominators of the items in this template that in fact appear on the Main Page. If you replace or remove an item before it appears on the Main Page, please revert the promotion of the hook so its template appears again at [[Template talk:Did you know]] and add a note to the nomination's template explaining why you removed it.
<!--
<!--
******************** Example format ********************
******************** Example format ********************
** (Follow this or you WILL break something)
** (Follow this or you WILL break something)
**
**
** Normal credit: * {{DYKmake|ArticleName|Editor}}
** Normal credit: * {{DYKmake|ArticleName|Editor|subpage=}}
** Nomination credit: * {{DYKnom|ArticleName|Nominator}}
** Nomination credit: * {{DYKnom|ArticleName|Nominator}}
**
**
Line 83: Line 34:
*********************************************************
*********************************************************
-->
-->
* {{DYKmake|Example|Editor}}
* {{DYKmake|Example|Editor|subpage=}}
* {{DYKmake|Example|Editor}}
* {{DYKmake|Example|Editor|subpage=}}
* {{DYKmake|Example|Editor}}
* {{DYKmake|Example|Editor|subpage=}}
* {{DYKmake|Example|Editor}}
* {{DYKmake|Example|Editor|subpage=}}
* {{DYKmake|Example|Editor}}
* {{DYKmake|Example|Editor|subpage=}}
* {{DYKmake|Example|Editor}}
* {{DYKmake|Example|Editor|subpage=}}
* {{DYKmake|Example|Editor}}
* {{DYKmake|Example|Editor|subpage=}}
* {{DYKmake|Example|Editor}}
* {{DYKmake|Example|Editor|subpage=}}
* {{DYKmake|Example|Editor}}
* {{DYKmake|Example|Editor|subpage=}}
* {{DYKnom|Example|Nominator}}
* {{DYKnom|Example|Nominator}}
</div>
</div>
{{Did you know/Clear/footer}}</noinclude>

===Credit templates===
You can also give out credits using the following templates:
*'''Article talk page:''' ''({{tl|DYK talk}})'' {{tlx|DYK talk|{{CURRENTDAY}} {{CURRENTMONTHNAME}}|{{CURRENTYEAR}}}} (check if small style templates in use, if so add {{para|small|yes}} parm)
*'''Article creator/expander's talk page:''' ''({{tl|UpdatedDYK}})'' <code>{{tlsp|UpdatedDYK|{{CURRENTDAY}} {{CURRENTMONTHNAME}}|{{CURRENTYEAR}}|Article name}}<nowiki>--~~~~</nowiki></code>
*'''Nominator's talk page:''' ''({{tl|UpdatedDYKNom}})'' <code>{{tlsp|UpdatedDYKNom|{{CURRENTDAY}} {{CURRENTMONTHNAME}}|{{CURRENTYEAR}}|Article name}}<nowiki>--~~~~</nowiki></code>
*'''Notify contributor about addition to a [[Wikipedia:Portals|Portal]]:''' (can be modified for more than one portal)&nbsp;– ''({{tl|UpdatedDYKportal}})'' <code>{{tlsp|UpdatedDYKportal|Article name|Portal:Portal name}}<nowiki>--~~~~</nowiki></code>

:Note that portal notifications are only done if you have taken the trouble to add the DYK hook to a relevant portal, which is entirely optional. The other notifications must be done before the preparation area page can be reset.

==Images==
*Don't forget to add an ''{{tl|mprotected}}'' notice to the image description page (or ''{{tl|C-uploaded}}'' '''plus''' a copy of the author attribution and the licence tag if you have uploaded a temporary copy from Commons).
*Alternatively, consider crediting the image file page even if the file is from Commons: <code>{{tlx|DYKfile|{{CURRENTDAY}} {{CURRENTMONTHNAME}}|{{CURRENTYEAR}}|type=image}}</code>

==Posting the new update==
*''Note: This is the manual method. When using [[User:DYKUpdateBot|DYKUpdateBot]], the bot should automate all of the following except steps 1 and 10.''

# Make sure the image/media for the [[Template:Did you know/Queue/{{Template:Did you know/Queue/Next}}|hooks to be loaded]] is on English Wikipedia or protected on Commons. If the image/file is on Commons and not protected, upload it to En and tag it with {{tl|c-uploaded}}. You do not need to protect the picture; this is done automatically because of the [[WP:Cascading protection|cascading protection]] of the Main Page. Alternatively, if you are an admin at Commons you can protect the image/file at Commons instead of uploading to En.
# Update [[T:DYK]] from [[Template:Did you know/Queue/{{Template:Did you know/Queue/Next}}|the current queue]].
# [{{fullurl:Main Page|action=purge}} Purge the cache of the Main Page] to make sure the new entries appear.
# [{{fullurl:Template:Did you know/Next update/Time|action=edit}} Reset] the [[Template:Did you know/Next update/Time|DYK time]].
# Increment the [[Template:Did you know/Queue/Next|next queue count]].
# Copy the [{{fullurl:Template:Did you know|action=history}} ''previous'' set of hooks] (''not'' the new set just promoted to the front page) to [[Wikipedia:Recent additions|the archive]]. Be sure to copy the final revision of the set (should be the last diff on the [[T:DYK]] page before your update). Please include the picture/file.
# Check if the previous picture/file was temporarily uploaded from Commons for display on the Main Page, and delete it from En if so.
# If you have time, please do the credits for the hooks just promoted (see "Credits" section above).
# Clear the queue you just promoted hooks from with {{tlu|User:DYKUpdateBot/REMOVE THIS LINE}}.
# If you have time, check if there are any full preparation areas. Check the hooks for errors, and promote them to the next empty numbered queue if they're good. Clear the prep you took hooks from to look like [[Template:Did you know/Clear|this]]. Tag the numbered queue with {{tlx|DYKbotdo|<nowiki>~~~</nowiki>}} once the queue is loaded and ready.

{{#switch: {{substr|{{FULLPAGENAME}}|0|28}}
| Template:Did you know/Queue/ = {{pp-template}}
| Template:Did you know/Prepar = {{pp-move|small=yes}}
}}

{{template other|{{sandbox other||[[Category:DYK templates for preparing updates]]}}}}
</noinclude>

Latest revision as of 14:18, 14 September 2024

Did you know?
Introduction and rules
IntroductionWP:DYK
General discussionWT:DYK
GuidelinesWP:DYKCRIT
Reviewer instructionsWP:DYKRI
Nominations
Nominate an articleWP:DYKCNN
Awaiting approvalWP:DYKN
ApprovedWP:DYKNA
April 1 hooksWP:DYKAPRIL
Holding areaWP:SOHA
Preparation
Preps and queuesT:DYK/Q
Prepper instructionsWP:DYKPBI
Admin instructionsWP:DYKAI
Main Page errorsWP:ERRORS
History
StatisticsWP:DYKSTATS
Archived setsWP:DYKA
Just for fun
Monthly wrapsWP:DYKW
AwardsWP:DYKAWARDS
UserboxesWP:DYKUBX
Hall of FameWP:DYK/HoF
List of users ...
... by nominationsWP:DYKNC
... by promotionsWP:DYKPC
Administrative
Scripts and botsWP:DYKSB
On the Main Page
Main Page errorsWP:ERRORS
To ping the DYK admins{{DYK admins}}

Hooks

Caption goes here
Caption goes here
  • ... that ... (pictured) ...
  • ... that ...
  • ... that ...
  • ... that ...
  • ... that ...
  • ... that ...
  • ... that ...
  • ... that ...
  • ... that ...

Hook lengths

See how this template appears on both today's Main Page

... and tomorrow's Main Page

To reset the contents of this page for the next update, copy the empty page from Template:Did you know/Clear.

Credits

This space is to credit the creators/nominators of the items in this template that in fact appear on the Main Page. If you replace or remove an item before it appears on the Main Page, please revert the promotion of the hook so its template appears again at Template talk:Did you know and add a note to the nomination's template explaining why you removed it.

Credit templates

You can also give out credits using the following templates:

  • Article talk page: ({{DYK talk}}) {{DYK talk|4 December|2024|entry= ... that ...?|nompage=Template:Did you know nominations/Article name}} (check if small style templates in use, if so add |small=yes parm)
  • Article creator/expander's talk page: ({{UpdatedDYK}}) {{subst:UpdatedDYK|4 December|2024|Article name}}--~~~~
  • Nominator's talk page: ({{UpdatedDYKNom}}) {{subst:UpdatedDYKNom|4 December|2024|Article name}}--~~~~

Images

  • Don't forget to add an {{mprotected}} notice to the image description page (or {{C-uploaded}} plus a copy of the author attribution and the licence tag if you have uploaded a temporary copy from Commons).
  • Alternatively, consider crediting the image file page even if the file is from Commons: {{DYKfile|4 December|2024}}

Manually posting the new update (if the bot is down)

  • Note: This is the manual method. When using DYKUpdateBot, the bot should automate all of the following except steps 1, 7, and 11.
  1. Make sure the image/media for the hooks to be loaded is on English Wikipedia or protected on Commons. If the image/file is on Commons and not protected, upload it to En and tag it with {{c-uploaded}}. You do not need to protect the picture; this is done automatically because of the cascading protection of the Main Page. Alternatively, if you are an admin at Commons you can protect the picture/file at Commons instead of uploading to En.
  2. Update T:DYK from the current queue.
  3. Purge the cache of the Main Page to make sure the new entries appear.
  4. Reset the DYK time.
  5. Increment the next queue pointer.
  6. Copy the previous set of hooks (not the new set just promoted to the front page) to the archive. Be sure to copy the final revision of the set (it should be the last diff on the T:DYK page before your update), and place the timestamp of the DYK update you just made above it. Please include the picture/file.
  7. Check if the previous picture/file was temporarily uploaded from Commons for display on the Main Page, and delete it from En if so.
  8. On the local description page of the picture/file for the previous set of hooks, add {{DYKfile|4 December|2024|type=image}} (occasionally replacing image with video where appropriate). Note that, like the archives, this will create a one-day misalignment between the date on the file page and the date it actually appeared in DYK.
  9. If you have time, please do the credits for the hooks just promoted (see "Credits" section above).
  10. Clear the queue you just promoted hooks from with {{User:DYKUpdateBot/REMOVE THIS LINE}}.
  11. If you have time, check if there are any full preparation areas. Check the hooks for errors, and promote them to the next empty numbered queue if they're good. Clear the prep you took hooks from to look like this. Tag the numbered queue with {{DYKbotdo|~~~}} once the queue is loaded and ready.