Difference between revisions of "Template:DYKbotdo/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Coffeeandcrumbs
(update from Template:DYKbotdo)
imported>Mr. Stradivarius
(switch order of the main page alternatives and day after tomorrow clause - seems more logical to me)
 
(One intermediate revision by one other user not shown)
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 alternative Main Pages-->
+
  |<!--Suppress output on day after tomorrow's Main Page preview-->
  |{{mbox
+
  |{{#ifeq:{{padleft:|21|{{PAGENAME}}}}|Main Page alternative
    |image = [[Image:Crystal Clear action run.svg|60px]]
+
    |<!--Suppress output on alternative Main Pages-->
    |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}}|
+
    |{{mbox
    |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.
+
      |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>

Latest revision as of 23:39, 12 August 2019

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

Usage

See also