Difference between revisions of "Template:DYK conditions/doc"

From blackwiki
Jump to navigation Jump to search
imported>John Cline
(ce prose for clarity and readability.)
imported>Wugapodes
(add noinclude tags to prevent pages using the template being categorized per CAT:DT)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
<noinclude>{{Deprecated template|DYK conditions|DYK tools|date=May 2020}}</noinclude>
 
__NOTOC__
 
__NOTOC__
 
<div style="position:relative; top:2em"><span id="Template:DYKC|DYKC"></span></div><table class="shortcutbox noprint" style="float:right; border:1px solid #aaa; background:#fff; margin:.3em .3em .3em 1em; padding:3px; text-align:center;"><tr><th style="border:none; background:transparent;" class="plainlist"><small>Shortcut:<ul><li>'''<nowiki>{{</nowiki>[[Template:DYKC|DYKC]]<nowiki>}}</nowiki>'''</li></ul></small></th></tr></table>
 
<div style="position:relative; top:2em"><span id="Template:DYKC|DYKC"></span></div><table class="shortcutbox noprint" style="float:right; border:1px solid #aaa; background:#fff; margin:.3em .3em .3em 1em; padding:3px; text-align:center;"><tr><th style="border:none; background:transparent;" class="plainlist"><small>Shortcut:<ul><li>'''<nowiki>{{</nowiki>[[Template:DYKC|DYKC]]<nowiki>}}</nowiki>'''</li></ul></small></th></tr></table>
Line 17: Line 18:
 
* [[WP:DYK]]
 
* [[WP:DYK]]
  
[[Category:DYK/Pages|Template/Documentation]]<includeonly>{{sandbox other||
+
<includeonly>{{sandbox other||
 
[[Category:DYK/Administration|{{SUBJECTSPACE}}/Documentation]]
 
[[Category:DYK/Administration|{{SUBJECTSPACE}}/Documentation]]
 
[[Category:DYK/{{SUBJECTSPACE}}]]
 
[[Category:DYK/{{SUBJECTSPACE}}]]
 
[[Category:DYK/{{NAMESPACE}}]]
 
[[Category:DYK/{{NAMESPACE}}]]
 
[[Category:DYK/Pages/Documentation]]
 
[[Category:DYK/Pages/Documentation]]
 +
 
[[Category:DYK templates|conditions]]
 
[[Category:DYK templates|conditions]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 01:37, 27 October 2020

Shortcut:

This is a Did you know12x12px special purpose template.

Template {{DYK conditions}}

This template was developed for Did you know12x12px specialized use. It is coded with conditional expressions that trigger the template's custom output based on the state of its monitored conditions and other variables it discerns. The template's functionality does not depend on parameter usage or additional syntax.

Usage

  • Either {{DYK conditions}} or {{DYKC}} may be used without parameters, integrally with {{NewDYKnomination}}. When transcluded in template space, the toolbox shown to the right is rendered. #if: the nomination is transcluded to an article talk page or user talk page, a level two header will be included and the rest of the content will display in that section. When the nomination archives, all of the transcluded content will disappear, including the header. The following example is of the level two header that appears on the specified talk pages:

Did you know12x12px nomination

See also