Template:Unreferenced section/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Zyxw
m add {{TemplateData header}} (via JWB)
meta>PrimeHunter
remove mention of unnamed parameter to replace "section", this is ignored since 19 January 2017
Line 9: Line 9:
==Parameters==
==Parameters==
* <code>date=</code> Month and year the template was added: {{para|date|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
* <code>date=</code> Month and year the template was added: {{para|date|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
* <code>1=</code> Replacement for the word "section", e.g. "table" or "list".
* <code>small=y</code> 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.
* <code>small=y</code> Any value (typically "y", "yes", etc.) will make the template smaller; for use when it applies to something smaller than a section within the article, such as a table, which must be specified in the first (a.k.a. <code>section</code>) parameter. The template should normally be full-width when it applies to an entire section.


== TemplateData ==
== TemplateData ==
Line 16: Line 15:
<templatedata>
<templatedata>
{
{
"description": "A template to mark a section (or other subset) of an article as being unreferenced.",
"description": "A template to mark a section of an article as being unreferenced.",
"params": {
"params": {
"1": {
"label": "Type",
"description": "Replacement for the word \"section\", e.g. \"table\" or \"list\".",
"type": "string",
"aliases": [
"section"
],
"required": false
},
"date": {
"date": {
"label": "Date added",
"label": "Date added",
Line 37: Line 27:
"small": {
"small": {
"label": "Small",
"label": "Small",
"description": "Any value (typically \"y\", \"yes\", etc.) will make the template smaller; for use when it applies to something smaller than a section within the article, such as a table, which must be specified in the first (a.k.a. <code>section</code>) parameter.",
"description": "Any value (typically \"y\", \"yes\", etc.) will make the template smaller.",
"type": "string",
"type": "string",
"required": false
"required": false

Revision as of 22:26, 13 June 2017

Usage

{{Unreferenced section|date=November 2024}}

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 {{subst:unreferenced section}}.

Parameters

  • date= Month and year the template was added: |date=November 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

This is the TemplateData for this template, used by TemplateWizard, VisualEditor and other tools.
TemplateData for Unreferenced section

A template to mark a section of an article as being unreferenced.

Template parameters

ParameterDescriptionTypeStatus
Date addeddate

The date when this template was added to the section; if you leave this off, a bot will add it later.

Auto value
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Stringsuggested
Smallsmall

Any value (typically "y", "yes", etc.) will make the template smaller.

Stringoptional

See also