داڕێژە:Csdcheck

لە ئینسایکڵۆپیدیای ئازادی ویکیپیدیاوە
بەڵگەدارکردنی داڕێژە[ببینە] [دەستکاری بکە] [مێژوو] [پاکسازی]
Code Template Description tag notice
G1 {{سخ-گ١}} Patent nonsense Yes Yes
G2 {{سخ-گ٢}} پەڕەکانی تاقیکردنەوە Yes Yes
G3 {{سخ-گ٣}} خراپەکاری Yes Yes
G4 {{سخ-گ٤}} پێشووتر بەیەکدەنگی سڕاووەتەوە Yes Yes
G5 {{سخ-گ٥}} وتار لەلایەن بەکارھێنەری بەربەستکراو Yes No
G6 {{سخ-گ٦}} ھۆکاری تەکنیکی Yes No
G7 {{سخ-گ٧}} لەلایەن بەکارھێنەر خۆی داواکراوە Yes No
G8 {{سخ-گ٨}} پەڕەی وتوێژ یان ڕەوانەکەر پشت بەپەڕەیەک دەبەستێت کە بوونی نییە Yes No
G9 نییە کردارەکانی ئۆفیس No No
G10 {{سخ-گ١٠}} پەڕەی ھێرش Yes Yes
G11 {{سخ-گ١١}} بانگەشە و ڕێکلام Yes Yes
G12 {{سخ-گ١٢}} بەزاندنی مافی لەبەرگرتنەوە بە ئاشکرا Yes Yes
G13 {{سخ-گ١٣}} Abandoned Articles for creation submission Yes Yes
G14 {{سخ-گ١٤}} Unnecessary disambiguation pages Yes Yes
A1 {{سخ-و١}} Can't determine subject Yes Yes
A2 {{سخ-و٢}} From another Wikipedia Yes Yes
A3 {{سخ-و٣}} Empty or no useful content Yes Yes
A5 {{سخ-و٥}} Already been transwikied Yes Yes
A7 {{سخ-و٧}} No claim of significance Yes Yes
A9 {{سخ-و٩}} Album with no claim of significance Yes Yes
A10 {{سخ-و١٠}} Duplicates an existing article Yes Yes
A11 {{سخ-و١١}} Obviously invented Yes Yes
F1 {{سخ-پ١}} Duplicates an existing image Yes Yes
F2 {{سخ-پ٢}} Corrupt or empty image Yes Yes
F3 {{سخ-پ٣}} Media with unacceptable license Yes Yes
F4 {{سخ-پ٤}} Media with unknown source No No
F5 {{سخ-پ٥}} Non-free license not used in articles No No
F6 {{سخ-پ٦}} Fair use rationale needed No No
F7 {{سخ-پ٧}} Inappropriate fair use Yes Yes
F8 {{سخ-پ٨}} Moved to commons Yes No
F9 {{سخ-پ٩}} Image copyright infringement Yes Yes
F10 {{سخ-پ١٠}} Unused media of unsupported type Yes Yes
F11 {{سخ-پ١١}} Missing evidence of permission No No
C1 {{سخ-پۆ١}} Empty category Yes Yes
C2 {{سخ-پۆ٢}} Renaming/merging of category No No
U1 {{سخ-ب١}} Requested by user Yes No
U2 {{سخ-ب٢}} Non-existent user Yes No
U3 {{سخ-ب٣}} User non-free image gallery Yes Yes
R2 {{سخ-ڕ٢}} Cross-namespace redirect Yes Yes
R3 {{سخ-ڕ٣}} Implausible redirect Yes Yes
R4 {{سخ-ڕ٤}} File namespace redirect that shadows a Commons file or redirect Yes Yes
P1 {{سخ-د١}} Would be speedyable if an article Yes Yes
P2 {{سخ-د٢}} Portal with too few articles Yes Yes

This template checks whether any given input strings are valid speedy deletion (CSD) criteria. If any of the input strings are valid, the template outputs "yes"; if none of them are valid, it does not output anything. Valid CSD criteria take the form of a letter plus a number, e.g. "G6" or "A7" (see the table to the right for a list). This template accepts both uppercase and lowercase letters as valid, so both "G3" and "g3" would return "yes". It accepts any number of input strings. It is also possible to compare the input strings to a custom selection of CSD criteria.

Usage[دەستکاری]

Basic usage

{{csdcheck|string to be compared}}

Checking multiple strings

{{csdcheck|string1|string2|string3|string4|etc.}}

Using a specific subset of CSD criteria

{{csdcheck|string1|string2|string3|string4|set=desired subset of CSD criteria}}

Searching for specific CSD criteria

{{csdcheck|string1|string2|string3|string4|crit1=first criteria to search for|crit2=second criteria to search for|etc.}}

This template can be either substituted or transcluded.

Parameters[دەستکاری]

  • set:- This parameter can take the value "all", "tag", or "notice". A value of "all" returns "yes" for all valid CSD criteria; a value of "tag" returns "yes" for all criteria supported by the template {{db-multiple}}; and a value of "notice" returns "yes" for all criteria supported by the template {{db-notice-multiple}}. The default value is "all". See the table to the right for which criteria are supported for each value of the parameter.
  • crit1, crit2, crit3, etc.:- These parameters are used to check for specific speedy deletion criteria. It is possible to search for both single and multiple criteria. For example, if |crit1=g1 is specified, the template will search to see if any of the input strings match CSD criterion G1, and if they do it will output "yes". If |crit1=g11 and |crit=a7 are both specified, the template will search to see if any of the input strings match either CSD criteria G11 or A7, and if there are any matches it will output "yes". You can add any number of criteria. If any of the "crit" parameters are specified then the "set" parameter has no effect on the template's output.

Examples[دەستکاری]

Input Output
{{csdcheck|a7}} yes
{{csdcheck|foo}}
{{csdcheck|g9}} yes
{{csdcheck|g9|set=tag}}
{{csdcheck|foo|bar|g5}} yes
{{csdcheck|foo|bar|g5|set=notice}}
{{csdcheck|g1|crit1=g1}} yes
{{csdcheck|g1|crit1=g2}}
{{csdcheck|foo|crit1=foo}}
{{csdcheck|g9|crit1=g9|set=tag}} yes
{{csdcheck|g1|g2|g3|g4|crit1=a7}}
{{csdcheck|g1|g2|g3|g4|crit1=g3}} yes
{{csdcheck|g1|g2|g3|g4|crit1=a7|crit2=a10|crit3=g2}} yes