Difference between revisions of "Template:DYKbotdo"

From blackwiki
Jump to navigation Jump to search
imported>MSGJ
(hide sentence on main queue page per request, update after moves, hide all on preview pages)
imported>Waldyrious
(Also suppress display on Wikipedia:Main Page/Tomorrow (indentation not added yet, to provide a cleaner diff for this edit; will be added next))
Line 1: Line 1:
 
{{#ifeq:{{#titleparts:{{PAGENAME}}|2|1}}|Did you know/Preview
 
{{#ifeq:{{#titleparts:{{PAGENAME}}|2|1}}|Did you know/Preview
  |<!--Suppress output on preview pages-->
+
  |<!--Suppress output on DYK preview pages-->
 +
|{{#ifeq:{{PAGENAME}}|Main Page/Tomorrow
 +
|<!--Suppress output on tomorrow's Main Page preview-->
 
  |{{mbox
 
  |{{mbox
 
   |image = [[Image:Crystal Clear action run.svg|60px]]
 
   |image = [[Image:Crystal Clear action run.svg|60px]]
Line 6: Line 8:
 
   |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.
 
   |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 00:05, 1 April 2011

Template documentation[view] [edit] [history] [purge]

Usage

See also