Difference between revisions of "Template:DYKbotdo"

From blackwiki
Jump to navigation Jump to search
imported>MSGJ
(+doc)
imported>MSGJ
(hide sentence on main queue page per request, update after moves, hide all on preview pages)
Line 1: Line 1:
{{mbox
+
{{#ifeq:{{#titleparts:{{PAGENAME}}|2|1}}|Did you know/Preview
| image = [[Image:Crystal Clear action run.svg|60px]]
+
|<!--Suppress output on preview pages-->
| text = The hooks below have been approved by an administrator and will be automatically added to the DYK template at the appropriate time. Click [[User:Ameliorate!/queue/{{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.
+
|{{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 16:58, 24 January 2011

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

Usage

See also