Difference between revisions of "Template:DYKbotdo"
Jump to navigation
Jump to search
imported>Mr. Stradivarius (Don't display anything on Main Page alternatives, per protected edit request by User:Jackmcbarn) |
imported>Mr. Stradivarius (suppress output on WP:Main Page/Day after tomorrow per request on my talk page by User:Coffeeandcrumbs) |
||
| Line 3: | Line 3: | ||
|{{#ifeq:{{PAGENAME}}|Main Page/Tomorrow | |{{#ifeq:{{PAGENAME}}|Main Page/Tomorrow | ||
|<!--Suppress output on tomorrow's Main Page preview--> | |<!--Suppress output on tomorrow's Main Page preview--> | ||
| − | |{{#ifeq:{{padleft:|21|{{PAGENAME}}}}|Main Page alternative | + | |{{#ifeq:{{PAGENAME}}|Main Page/Day after tomorrow |
| − | + | |<!--Suppress output on day after tomorrow's Main Page preview--> | |
| − | + | |{{#ifeq:{{padleft:|21|{{PAGENAME}}}}|Main Page alternative | |
| − | + | |<!--Suppress output on alternative Main Pages--> | |
| − | + | |{{mbox | |
| − | + | |image = [[Image:Crystal Clear action run.svg|60px]] | |
| + | |text = The hooks below have been approved by an administrator and will be automatically added to the DYK template at the appropriate time. {{#iferror: {{#expr:<includeonly>{{SUBPAGENAME}}+</includeonly>1}}| | ||
| + | |Click [[Wikipedia:Did you know/Preview/{{SUBPAGENAME}}|here]] for an example of what these hooks will look like on the main page - you may wish to remove this template for a more accurate example, if you do ensure to add it back. | ||
| + | }} | ||
| + | }} | ||
}} | }} | ||
}} | }} | ||
}} | }} | ||
| − | |||
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 23:43, 12 August 2019
| The hooks below have been approved by an administrator and will be automatically added to the DYK template at the appropriate time. Click here for an example of what these hooks will look like on the main page - you may wish to remove this template for a more accurate example, if you do ensure to add it back. |
| The above documentation is transcluded from Template:DYKbotdo/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |