Modèle:Unreferenced section/doc

De Wikisisar
Aller à : navigation, rechercher

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|
        }}{{#if: |
         |   {{#ifexist:Modèle:Unreferenced section
                  | [[Category:{{#switch:Modèle |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

Usage

{{{{#if: |subst:}}Unreferenced section{{#if:date=mai 2024 ||date=mai 2024}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}}

This template puts articles in Category:Articles needing additional references or a dated subcategory thereof. If you leave the date off, a bot will add it later. To fill the date automatically, you can use {{{{#ifeq:yes|yes

|subst
|subst

}}:{{#ifeq:unreferenced section|unreferenced section|unreferenced section|Unreferenced section}}{{#ifeq:+|-||{{{2}}}}}{{#ifeq:+|-||{{{3}}}}}{{#ifeq:+|-||{{{4}}}}}{{#ifeq:+|-||{{{5}}}}}{{#ifeq:+|-||{{{6}}}}}{{#ifeq:+|-||{{{7}}}}}{{#ifeq:+|-||{{{8}}}}}{{#ifeq:+|-||{{{9}}}}}{{#ifeq:+|-||{{{10}}}}}{{#ifeq:+|-||...}}}}.

Parameters

  • date= Month and year the template was added: |{{#if:date|date=}}mai 2024
  • small=y Any value (typically "y", "yes", etc.) will make the template smaller. The template should normally be full-width when it applies to an entire section.

TemplateData

{{#if:| |This is the {{#if:|TemplateData|TemplateData}} documentation for this template used by VisualEditor and other tools.}}

See the monthly error report for this template.

TemplateData for Unreferenced section

{{#ifeq:doc|sandbox||

}} <templatedata> { "description": "A template to mark a section of an article as being unreferenced.", "params": { "date": { "label": "Date added", "description": "The date when this template was added to the section; if you leave this off, a bot will add it later.", "type": "string", "required": false, "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "suggested": true }, "small": { "label": "Small", "description": "Any value (typically \"y\", \"yes\", etc.) will make the template smaller.", "type": "string", "required": false } } } </templatedata>

See also