Difference between revisions of "Template:DYKrule"
Jump to navigation
Jump to search
imported>Ucucha (fix) |
imported>Pppery |
||
| Line 76: | Line 76: | ||
-->|E5a=E5{{!}}E5<!-- | -->|E5a=E5{{!}}E5<!-- | ||
-->|#default={{{1}}}{{!}}{{{1}}}}}]]<!-- | -->|#default={{{1}}}{{!}}{{{1}}}}}]]<!-- | ||
| − | -->|E1b|E2b|E3b|E4b|E5b=[[Wikipedia:Did you know/ | + | -->|E1b|E2b|E3b|E4b|E5b=[[Wikipedia:Did you know/Submission#{{#switch:{{{1}}}<!-- |
-->|E1b=E1{{!}}E1<!-- | -->|E1b=E1{{!}}E1<!-- | ||
-->|E2b=E2{{!}}E2<!-- | -->|E2b=E2{{!}}E2<!-- | ||
Latest revision as of 22:47, 18 August 2016
{{DYKrule}} error: invalid rule
Usage
This template provides an easy way to link to the rules of the Did you know project. Usage: {{DYKrule|<rule>}}. <rule> may be one of the five rules listed at WP:DYK#Selection criteria (numbered gen1 through gen5), or one of the rules listed at WP:DYKAR or WP:DYK1P. Because some of these rules have the same names, conflicts arise; in this case, the template behaves as follows:
| Code | Result | Comment |
|---|---|---|
{{DYKrule|A1a}} |
A1 | Additional rule A1 linked |
{{DYKrule|A1b}} |
A1 | Rule A1 listed at WP:DYK1P linked |
{{DYKrule|A1}} |
additional rule A1 or after nominating rule A1 | Both rules are linked |
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for DYKrule
Link to a DYK rule
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| rule | 1 Rule rule | The specific rule to link to
| String | required |
| The above documentation is transcluded from Template:DYKrule/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |