Difference between revisions of "Template:DYKsubpage"

From blackwiki
Jump to navigation Jump to search
imported>CambridgeBayWeather
m (Changed protection level for "Template:DYKsubpage": REquest at WP:RFPP ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
imported>Wugapodes
(Fix bug where pages with "/" in the name lead to the wrong subpage name)
 
Line 1: Line 1:
 
{{{{{|safesubst:}}}#if:{{{passed|}}}|{{<includeonly>subst:</includeonly>DYK top|passed={{{passed|}}}|monthyear={{{monthyear|}}}}}}}
 
{{{{{|safesubst:}}}#if:{{{passed|}}}|{{<includeonly>subst:</includeonly>DYK top|passed={{{passed|}}}|monthyear={{{monthyear|}}}}}}}
{{{2|}}}{{{{{|safesubst:}}}#if:{{{passed|}}}|{{<includeonly>subst:</includeonly>DYK bottom|passed={{{passed|}}}}}|<includeonly>{{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}FULLPAGENAME}}|Template talk:Did you know/{{{{{|safesubst:}}}SUBPAGENAME}}|[[Category:Pending DYK nominations]][[Category:DYK/Nominations|Pending]]|{{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}FULLPAGENAME}}|Template:Did you know nominations/{{{{{|safesubst:}}}SUBPAGENAME}}|[[Category:DYK/Nominations|Pending]][[Category:Pending DYK nominations|{{#dateformat:{{{monthyear}}}|ym}}]]}}}}</includeonly>}}<noinclude>{{documentation}}</noinclude>
+
{{{2|}}}{{{{{|safesubst:}}}#if:{{{passed|}}}|{{<includeonly>subst:</includeonly>DYK bottom|passed={{{passed|}}}}}|<includeonly>{{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}FULLPAGENAME}}|Template talk:Did you know/{{{{{|safesubst:}}}#titleparts:{{FULLPAGENAME}}||2}}|[[Category:Pending DYK nominations]][[Category:DYK/Nominations|Pending]]|{{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}FULLPAGENAME}}|Template:Did you know nominations/{{{{{|safesubst:}}}#titleparts:{{FULLPAGENAME}}||2}}|[[Category:DYK/Nominations|Pending]][[Category:Pending DYK nominations|{{#dateformat:{{{monthyear}}}|ym}}]]}}}}</includeonly>}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 03:15, 20 April 2020

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


This is a Did you knowFile:DYK questionmark icon.svg special purpose template.

Template {{DYKsubpage}}

This template was developed for Did you knowFile:DYK questionmark icon.svg specialized use.

Usage

Produces:


  • The template has no visible output. Unless it is substituted in conjunction with {{NewDYKnomination}}.

See also