Difference between revisions of "Template:Incomplete list/doc"

From blackwiki
Jump to navigation Jump to search
imported>Aranya
m (Reverted 1 edit by 197.254.189.246 (talk) to last revision by Aranya (TW))
imported>SUM1
(TemplateData: fixed date parameter)
Line 1: Line 1:
 
{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
{{High-use|17,000}}
 
{{High-use|17,000}}
===Usage===
+
==Usage==
 
{{Tlx|Expand list|2=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
 
{{Tlx|Expand list|2=date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
  
Line 8: Line 8:
 
This template categorizes pages into [[:Category:Incomplete lists]].
 
This template categorizes pages into [[:Category:Incomplete lists]].
  
==Template data==
+
==TemplateData==
 
<templatedata>
 
<templatedata>
 
{
 
{
 +
"description": "Place this template tag in an article, immediately before any incomplete list. Wikipedia is not a directory, nor an indiscriminate collection of information; lists should have a clearly defined purpose and inclusion criteria. As such, an incomplete list is any well-defined list which is missing obvious entries.\n\nThis template categorizes pages into [[Category:Incomplete lists]].",
 +
"format": "inline",
 
"params": {
 
"params": {
 
"date": {
 
"date": {
"label": "date",
+
"label": "Month and year",
"description": "The month and year that this expansion request was placed",
+
"description": "The month and year that the template was placed (in full). \"{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}\" inserts the current month and year automatically.",
"type": "date",
+
"type": "line",
"example": "February 2019",
+
"autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}",
 +
"example": "January 2013",
 
"suggested": true
 
"suggested": true
 
}
 
}
},
+
}
"description": "Place this template tag in an article, immediately before any incomplete list. Wikipedia is not a directory, nor an indiscriminate collection of information; lists should have a clearly defined purpose and inclusion criteria. As such, an incomplete list is any well-defined list which is missing obvious entries.\n\nThis template categorizes pages into [[:Category:Incomplete lists]].",
 
"format": "inline"
 
 
}
 
}
 
</templatedata>
 
</templatedata>

Revision as of 03:36, 22 March 2020

Usage

{{Expand list|date=December 2025}}

Place this template tag in an article, immediately before any incomplete list. Wikipedia is not a directory, nor an indiscriminate collection of information; lists should have a clearly defined purpose and inclusion criteria. As such, an incomplete list is any well-defined list which is missing obvious entries.

This template categorizes pages into Category:Incomplete lists.

TemplateData

Place this template tag in an article, immediately before any incomplete list. Wikipedia is not a directory, nor an indiscriminate collection of information; lists should have a clearly defined purpose and inclusion criteria. As such, an incomplete list is any well-defined list which is missing obvious entries. This template categorizes pages into [[Category:Incomplete lists]].

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Month and yeardate

The month and year that the template was placed (in full). "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}" inserts the current month and year automatically.

Example
January 2013
Auto value
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Linesuggested

Template:Expand list/metadoc