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

From blackwiki
Jump to navigation Jump to search
imported>Mr. Stradivarius
(simplify)
imported>Wugapodes
(sync with main template)
Line 1: Line 1:
 
{{#switch: {{NAMESPACE}}
 
{{#switch: {{NAMESPACE}}
| Talk      = =={{DYK blue}} [[Template:Did you know nominations/{{SUBPAGENAME}}|nomination]]==
+
| Talk      = =={{DYK blue}} nomination==
 +
:''This review is [[WP:transclusion|transcluded]] from [[Template:Did you know nominations/{{SUBPAGENAME}}]]. You may review or comment on the nomination by clicking [https:{{fullurl:Template:Did you know nominations/{{SUBPAGENAME}}|action=edit}} here].''
 
| User talk = =={{DYK blue}} nomination==
 
| User talk = =={{DYK blue}} nomination==
 
| Template  = {{DYK tools}}
 
| Template  = {{DYK tools}}

Revision as of 18:57, 20 April 2020

Template documentation[view] [edit] [history] [purge]
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 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 knowDYK comment symbol nomination

See also