Template:Csdcheck/doc: Difference between revisions

clean up
m (1 revision)
 
(clean up)
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
!Code!!Template!!Description!!all!!tag!!notice
!Code!!Template!!Description!!all!!tag!!notice
|-
|-
|G1||{{tl|db-nonsense}}||[[Wikipedia:Patent nonsense|Patent nonsense]]||{{Color|Green|'''Yes'''}}||{{Color|Green|'''Yes'''}}||{{Color|Green|'''Yes'''}}
|G1||{{tl|db-nonsense}}||[[Sarkarverse:Patent nonsense|Patent nonsense]]||{{Color|Green|'''Yes'''}}||{{Color|Green|'''Yes'''}}||{{Color|Green|'''Yes'''}}
|-
|-
|G2||{{tl|db-test}}||Test pages||{{Color|Green|'''Yes'''}}||{{Color|Green|'''Yes'''}}||{{Color|Green|'''Yes'''}}
|G2||{{tl|db-test}}||Test pages||{{Color|Green|'''Yes'''}}||{{Color|Green|'''Yes'''}}||{{Color|Green|'''Yes'''}}
Line 29: Line 29:
|G12||{{tl|db-copyvio}}||Obvious copyright infringement||{{Color|Green|'''Yes'''}}||{{Color|Green|'''Yes'''}}||{{Color|Green|'''Yes'''}}
|G12||{{tl|db-copyvio}}||Obvious copyright infringement||{{Color|Green|'''Yes'''}}||{{Color|Green|'''Yes'''}}||{{Color|Green|'''Yes'''}}
|-
|-
|G13||{{tl|db-afc}}||Abandoned [[WP:AFC|Articles for creation]] submission||{{Color|Green|'''Yes'''}}||{{Color|Green|'''Yes'''}}||{{Color|Green|'''Yes'''}}
|G13||{{tl|db-afc}}||Abandoned [[SV:AFC|Articles for creation]] submission||{{Color|Green|'''Yes'''}}||{{Color|Green|'''Yes'''}}||{{Color|Green|'''Yes'''}}
|-
|-
|A1||{{tl|db-nocontext}}||Can't determine subject||{{Color|Green|'''Yes'''}}||{{Color|Green|'''Yes'''}}||{{Color|Green|'''Yes'''}}
|A1||{{tl|db-nocontext}}||Can't determine subject||{{Color|Green|'''Yes'''}}||{{Color|Green|'''Yes'''}}||{{Color|Green|'''Yes'''}}
|-
|-
|A2||{{tl|db-foreign}}||From another Wikipedia||{{Color|Green|'''Yes'''}}||{{Color|Green|'''Yes'''}}||{{Color|Green|'''Yes'''}}
|A2||{{tl|db-foreign}}||From another Sarkarverse||{{Color|Green|'''Yes'''}}||{{Color|Green|'''Yes'''}}||{{Color|Green|'''Yes'''}}
|-
|-
|A3||{{tl|db-nocontent}}||Empty or no useful content||{{Color|Green|'''Yes'''}}||{{Color|Green|'''Yes'''}}||{{Color|Green|'''Yes'''}}
|A3||{{tl|db-nocontent}}||Empty or no useful content||{{Color|Green|'''Yes'''}}||{{Color|Green|'''Yes'''}}||{{Color|Green|'''Yes'''}}
Line 90: Line 90:
|}
|}


This template checks whether any given input strings are valid [[WP:CSD|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.
This template checks whether any given input strings are valid [[SV:CSD|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 ===
=== Usage ===
Line 106: Line 106:
<code><nowiki>{{csdcheck|</nowiki>''string1''<nowiki>|</nowiki>''string2''<nowiki>|</nowiki>''string3''<nowiki>|</nowiki>''string4''<nowiki>|crit1=</nowiki>''first criteria to search for''<nowiki>|crit2=</nowiki>''second criteria to search for''<nowiki>|</nowiki>''etc.''<nowiki>}}</nowiki></code>
<code><nowiki>{{csdcheck|</nowiki>''string1''<nowiki>|</nowiki>''string2''<nowiki>|</nowiki>''string3''<nowiki>|</nowiki>''string4''<nowiki>|crit1=</nowiki>''first criteria to search for''<nowiki>|crit2=</nowiki>''second criteria to search for''<nowiki>|</nowiki>''etc.''<nowiki>}}</nowiki></code>


This template can be either [[WP:SUBST|substituted]] or [[WP:TRANSCLUDE|transcluded]].
This template can be either [[SV:SUBST|substituted]] or [[SV:TRANSCLUDE|transcluded]].


=== Parameters ===
=== Parameters ===
Line 148: Line 148:


=== See also ===
=== See also ===
* [[Module:Csdcheck]], the [[WP:LUA|Lua]] module that is called by this template
* [[Module:Csdcheck]], the [[SV:LUA|Lua]] module that is called by this template


<includeonly>
<includeonly>
14,070

edits