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

From blackwiki
Jump to navigation Jump to search
imported>John Cline
(ce, fix 2x links which were going to nonexistent commons templates)
imported>DePiep
m (add category:DYK templates (via WP:JWB))
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
__NOTOC__
 
__NOTOC__
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE, THANK YOU. -->
 
 
<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>
 
This is a {{DYK blue}} special purpose template.
 
This is a {{DYK blue}} special purpose template.
Line 12: Line 11:
 
=== See also ===
 
=== See also ===
 
* [[WP:DYK]]
 
* [[WP:DYK]]
[[Category:DYK/Pages|Template/Documentation]]<includeonly>
+
[[Category:DYK/Pages|Template/Documentation]]<includeonly>{{sandbox other||
<!-- CATEGORIES AND INTERWIKIS GO HERE, THANKS. -->
 
 
[[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]]
</includeonly>
+
 
 +
[[Category:DYK templates|conditions]]
 +
}}</includeonly>

Revision as of 21:50, 12 April 2018

Shortcut:

This is a Did you knowDYK comment symbol special purpose template.

Template {{DYK conditions}}

This template was developed for Did you knowDYK comment symbol specialized use. It allows the inclusion of template switches that will trigger off the included conditions, without the impact of obfuscation that occurs when the full syntax is added to the template directly.

Usage

  • Either {{DYK conditions}} or {{DYKC}} may be used. Without parameters, it is for integral use with {{NewDYKnomination}}. It adds the condition that #if: the nomination is transcluded to an article talk page, or a user talk page, a level two header will be included, and the rest of the content displays within that level two section. When the nomination archives, all of the transcluded content will disappear, including the header. The following is an example of the level two header that appears in the specified namespace:

Did you knowDYK comment symbol nomination

See also