Module:UKB/doc

From blackwiki
< Module:UKB
Revision as of 21:04, 17 November 2019 by blackwiki>Danmichaelo (Moved from 'UKB criterion' to 'UKB')
Jump to navigation Jump to search

This is the documentation page for Module:UKB


Functionality for {{UKB criterion}}

Code Result
{{#invoke:UKB|criterion|new}} created during the contest
{{#invoke:UKB|criterion|new|redirects=true}} created during the contest (including redirects)
{{#invoke:UKB|criterion|existing}} created before the contest started (existing pages)
{{#invoke:UKB|criterion|bytes|1000}} expanded with at least 1000 bytes
{{#invoke:UKB|criterion|namespaces|0|10}} is a/an article or template
{{#invoke:UKB|criterion|namespaces|0|10|site=www.wikidata.org}} is a/an article or template at www.wikidata.org
{{#invoke:UKB|criterion|namespaces|0}} is a/an article
{{#invoke:UKB|criterion|backlinks|List of Presidents of Egypt}} linked to from List of Presidents of Egypt
{{#invoke:UKB|criterion|forwardlinks|Bergen}} that links to Bergen
{{#invoke:UKB|criterion|templates|Copy edit}} having the template {{Copy edit}}
{{#invoke:UKB|criterion|templates|Citation needed|Unreferenced}} having at least one of the templates {{Citation needed}} or {{Unreferenced}}
{{#invoke:UKB|criterion|categories|Iceland}} in the category Iceland
{{#invoke:UKB|criterion|categories|Iceland|nn:Island|se:Islánda}} in at least one of the categories Iceland, Island or Islánda
{{#invoke:UKB|criterion|categories|Apes|ignore=Humans,Hominidaes in fiction}} in the category Apes
{{#invoke:UKB|criterion|pages|Iceland|Greenland}} Iceland or Greenland
{{#invoke:UKB|criterion|sparql|query=?item wdt:P31 wd:Q146. }} have a Wikidata item matching this SPARQL query
{{#invoke:UKB|criterion|sparql|query=?item wdt:P31 wd:Q146. |description=about cats }} about cats (Wikidata query)

If the generated text isn't suitable, it can be overriden using |description=:

Code Result
{{#invoke:UKB|criterion|namespaces|0|10|description=in the main namespace}} in the main namespace