Modèle:Uncited category
De Wikisisar
This {{#if:|{{{1}}}|article}} contains uncited categories{{#if:| ([[:Category:{{{cat1}}}]]{{#if:| and [[:Category:{{{cat2}}}]]}})}}. (mai 2024) |
{{#ifeq:uncited category |doc
|
{{#ifeq:show |show
|This is a documentation subpage for Modèle:Uncited category. It contains usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:Modèle |Utilisateur |modèle template page |{{#if:Modèle |modèle page|article}}}}}}}}. |
}}{{#if: | | {{#ifexist:Modèle:Uncited category | [[Category:{{#switch:Modèle |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
Description
This template is intended to allow calls for citations for article categories, without repeating the claim implied by the category in the article text with a citation needed tag.
It will categorise tagged articles into Category:Articles with unsourced categories.
Usage
{{Uncited category|cat1=People|cat2=Films directed by Woody Allen|date={{safesubst:#switch:none
|{{safesubst:#iferror: {{safesubst:#time:Y_M_d| }} | none }} |{{safesubst:#iferror: {{safesubst:#expr: +0 }} | |{{safesubst:#ifexpr: +0 > 10000000000000 | |{{safesubst:#ifeq: {{safesubst:#expr:+0}} | | none | }} }} }} |{{safesubst:#switch: | none | asis | link | lnone =none }} |{{safesubst:#ifexpr: {{safesubst:#time:Y| }} < 1000 | none }} |{{safesubst:#switch: {{safesubst:#time:Ynj| }}|100031|110031|130031|140031|150031=none}} |= {{safesubst:#if: |{{safesubst:#switch:{{{2}}} |link|lnone|l=[[{{{1}}}]] |{{{1}}} }} }} | {{safesubst:#ifeq:{{safesubst:#time:Y|{{{1}}} 2008}}{{safesubst:#iferror: {{safesubst:#ifexpr: {{{1}}}>10000000000000 | no }} | }}{{safesubst:#time:Y|{{{1}}} 2004}} |20082004 | {{safesubst:#ifeq:{{safesubst:#time:d|{{{1}}} 2036}}|{{safesubst:#time:d|{{{1}}} }} |{{safesubst:#time: {{safesubst:#switch: {{safesubst:#ifeq:|y|l}} | lmdy | liso | lymd = F j | mdy | iso | ymd = F j | ldmy | l = j F | #default = j F }}|{{{1}}} 2000 }} |{{safesubst:#time: {{safesubst:#switch: {{safesubst:#ifeq:|y|l}} | lmdy | liso | lymd | ldmy | l = F | #default = F }}|{{{1}}} 2000 }} }} | {{safesubst:#if: {{safesubst:#iferror:{{safesubst:#time:j|2 }}|*D*|{{safesubst:#iferror:{{safesubst:#time:j|2000 }}|*D*| }}}} |{{safesubst:#time: {{safesubst:#switch: {{safesubst:#ifeq:|y|l}} | lmdy = F j, Y | mdy = F j, Y | liso = Y-m-d | iso = Y-m-d | lymd = Y F j | ymd = Y F j | ldmy | l = j F Y | #default = j F Y }}| }} |{{safesubst:#time: {{safesubst:#switch: {{safesubst:#ifeq:|y|l}} | lmdy | liso | lymd | ldmy | l = F Y | #default = F Y }}| }} }} }}
}}}} produces:
This {{#if:|{{{1}}}|article}} contains uncited categories{{#if:People| (Category:People{{#if:Films directed by Woody Allen| and Category:Films directed by Woody Allen}})}}. ({{safesubst:#switch:none
|{{safesubst:#iferror: {{safesubst:#time:Y_M_d| }} | none }} |{{safesubst:#iferror: {{safesubst:#expr: +0 }} | |{{safesubst:#ifexpr: +0 > 10000000000000 | |{{safesubst:#ifeq: {{safesubst:#expr:+0}} | | none | }} }} }} |{{safesubst:#switch: | none | asis | link | lnone =none }} |{{safesubst:#ifexpr: {{safesubst:#time:Y| }} < 1000 | none }} |{{safesubst:#switch: {{safesubst:#time:Ynj| }}|100031|110031|130031|140031|150031=none}} |= {{safesubst:#if: |{{safesubst:#switch:{{{2}}} |link|lnone|l=[[{{{1}}}]] |{{{1}}} }} }} | {{safesubst:#ifeq:{{safesubst:#time:Y|{{{1}}} 2008}}{{safesubst:#iferror: {{safesubst:#ifexpr: {{{1}}}>10000000000000 | no }} | }}{{safesubst:#time:Y|{{{1}}} 2004}} |20082004 | {{safesubst:#ifeq:{{safesubst:#time:d|{{{1}}} 2036}}|{{safesubst:#time:d|{{{1}}} }} |{{safesubst:#time: {{safesubst:#switch: {{safesubst:#ifeq:|y|l}} | lmdy | liso | lymd = F j | mdy | iso | ymd = F j | ldmy | l = j F | #default = j F }}|{{{1}}} 2000 }} |{{safesubst:#time: {{safesubst:#switch: {{safesubst:#ifeq:|y|l}} | lmdy | liso | lymd | ldmy | l = F | #default = F }}|{{{1}}} 2000 }} }} | {{safesubst:#if: {{safesubst:#iferror:{{safesubst:#time:j|2 }}|*D*|{{safesubst:#iferror:{{safesubst:#time:j|2000 }}|*D*| }}}} |{{safesubst:#time: {{safesubst:#switch: {{safesubst:#ifeq:|y|l}} | lmdy = F j, Y | mdy = F j, Y | liso = Y-m-d | iso = Y-m-d | lymd = Y F j | ymd = Y F j | ldmy | l = j F Y | #default = j F Y }}| }} |{{safesubst:#time: {{safesubst:#switch: {{safesubst:#ifeq:|y|l}} | lmdy | liso | lymd | ldmy | l = F Y | #default = F Y }}| }} }} }}}}) |
For example, {{Uncited category|cat1=Music videos directed by Hype Williams|date=July 2013}}, could be placed on Talk:Saturday Night (Jessica Mauboy song) to indicate that the Category:Music videos directed by Hype Williams is not cited within the text of that article.
See also
- {{Verify source}}
- Template:Citation needed/doc#Inline templates
- Wikipedia:Template messages/Cleanup/Verifiability and sources
The above documentation is transcluded from Modèle:Uncited category/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. |