Difference between revisions of "Template:DYK conditions/doc"
Jump to navigation
Jump to search
Template
imported>John Cline (Update template documentation.) |
imported>John Cline (ce, fix 2x links which were going to nonexistent commons templates) |
||
| Line 7: | Line 7: | ||
This template was developed for {{DYK blue}} 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. | This template was developed for {{DYK blue}} 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 === | === Usage === | ||
| − | * Either '''{{ | + | * Either '''{{tlx|DYK conditions}}''' or '''{{tlx|DYKC}}''' may be used. Without parameters, it is for integral use with '''{{tlx|NewDYKnomination}}'''. It adds the condition that '''<code><nowiki>#if:</nowiki></code>''' 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: |
=={{DYK blue}} nomination== | =={{DYK blue}} nomination== | ||
Revision as of 23:40, 22 January 2017
| 40px | This is a documentation subpage for Template:DYK conditions. It contains usage information, categories and other content that is not part of the original template page. |
This is a Did you know12x12px special purpose template.
Template {{DYK conditions}}
This template was developed for Did you know12x12px 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: