Difference between revisions of "Template:Data missing"
Jump to navigation
Jump to search
imported>GoldRingChip (→Code only: regular sized) |
imported>SUM1 (Removed unnecessary parameter since template is in the template namespace and has a date parameter) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{ {{{|safesubst:}}}#invoke:Unsubst||date=__DATE__|$B= | |
| − | |||
| − | |||
{{Category handler | {{Category handler | ||
|main={{Fix/category | |main={{Fix/category | ||
| Line 7: | Line 5: | ||
|cat=[[Category:All articles with lists with data missing]] | |cat=[[Category:All articles with lists with data missing]] | ||
|date={{{date|}}} }} | |date={{{date|}}} }} | ||
| − | |||
|subpage=no | |subpage=no | ||
}}<small style="white-space:nowrap;">[<i>[[Wikipedia:Cleanup|<span title="{{delink|Wikipedia:Cleanup{{#if:{{{date|}}}| ({{{date}}})}}}}">{{#ifeq:{{{1|}}}|?|?|data unknown/missing}}</span>]]</i>]</small> | }}<small style="white-space:nowrap;">[<i>[[Wikipedia:Cleanup|<span title="{{delink|Wikipedia:Cleanup{{#if:{{{date|}}}| ({{{date}}})}}}}">{{#ifeq:{{{1|}}}|?|?|data unknown/missing}}</span>]]</i>]</small> | ||
}}<noinclude> | }}<noinclude> | ||
| − | |||
| − | |||
{{Documentation}}</noinclude> | {{Documentation}}</noinclude> | ||
Latest revision as of 22:46, 7 March 2020
Contents
Usage
Use this template when you have a list or table in which specific items are missing.
Pages using this template are included in Category:Data missing.
Parameters
{{{date}}}: The date the tag was added.{{{?}}}: If you put a "?" as a parameter, it will shorten the template text down to "?", which is useful in very tight spaces such as tables and charts.
Examples
| Code | Result | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
George's father: {{Data missing}}
|
George's father: [data unknown/missing] | |||||||||||||
George's mother: {{Data missing|?}}
|
George's mother: [?] | |||||||||||||
{| class=wikitable
! Relations !! Names !! Dates
|-
| Self || George || {{Data missing}}
|-
| Father || {{Data missing}} || 1903–1975
|-
| Mother || {{Data missing|?}} || 1905–1978
|}
|
|
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Data missing
Use this inline template indicate that a statement may be outdated and in need of updating or removal.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Month and year | date | Month and year of tagging; e.g., 'January 2013', but not 'jan13'
| String | suggested |
| Replace with '?' | 1 | Replace the template text with a question mark ('?') for size constraints
| String | optional |
| The above documentation is transcluded from Template:Data missing/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |