Jump to content

Template:SDcat/doc

From Wikihoc

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

        }}{{#if:|
         |{{#ifexist:Template:SDcat
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  | 
                 }}
        }}
    | 
   }}

This template is merely a wrapper for Module:SDcat, which adds tracking categories to articles depending on whether their short description matches the associated description field on Wikidata. Complete documentation is available at Module:SDcat.

Usage

{{SDcat |sd={{{shortdescription|}}} }}

For testing

{{SDcat |sd=short description |qid=Wikidata entity ID |lp=link prefix (usually ":") }}