Difference between revisions of "Template:Data missing"

From blackwiki
Jump to navigation Jump to search
imported>GoldRingChip
(moved {{Hiddencat}} from Includeonly to NoInclude)
imported>SUM1
(Removed unnecessary parameter since template is in the template namespace and has a date parameter)
 
(33 intermediate revisions by 12 users not shown)
Line 1: Line 1:
<span class="plainlinks" >''Data unknown or missing. {{small|(You can help Wikipedia by [{{fullurl:{{FULLPAGENAME}}|action=edit}} adding it].)}}''</span><includeonly>[[Category:Data missing]]</includeonly><noinclude>
+
{{ {{{|safesubst:}}}#invoke:Unsubst||date=__DATE__|$B=
{{Hiddencat}}
+
{{Category handler
{{uncategorized template}}
+
|main={{Fix/category
 
+
  |cat-date=Category:Data missing
Use this template when you have a list in which items are missing
+
  |cat=[[Category:All articles with lists with data missing]]
 
+
  |date={{{date|}}} }}
These aren't necessarily stubs, because it only is applied when a specific item of information is missing.
+
|subpage=no
 
+
}}<small style="white-space:nowrap;">&#91;<i>[[Wikipedia:Cleanup|<span title="{{delink|Wikipedia:Cleanup{{#if:{{{date|}}}|&#32;({{{date}}})}}}}">{{#ifeq:{{{1|}}}|?|?|data unknown/missing}}</span>]]</i>&#93;</small>
Pages using this template are included in [[:Category:Data missing]].
+
}}<noinclude>
 
+
{{Documentation}}</noinclude>
==Example==
 
'''Thomas Bloggovich, Jr's ancestors''':
 
* Mother: [[Janet Hruskocz Bloggovich]]
 
* Father: [[Thomas Bloggovich, Sr.]]
 
* Maternal grandmother: [[Ralph Hruskocz]]
 
* Maternal grandfather: {{Data missing}}
 
* Paternal grandmother: {{Data missing}}
 
* Paternal grandfather: [[Delores Smith Bloggovich]]
 
</noinclude>
 

Latest revision as of 22:46, 7 March 2020

[data unknown/missing]

Template documentation[view] [edit] [history] [purge]

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
|}
 
Relations Names Dates
Self George [data unknown/missing]
Father [data unknown/missing] 1903–1975
Mother [?] 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.

Template parameters

ParameterDescriptionTypeStatus
Month and yeardate

Month and year of tagging; e.g., 'January 2013', but not 'jan13'

Example
January 2013
Auto value
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Stringsuggested
Replace with '?'1

Replace the template text with a question mark ('?') for size constraints

Example
?
Auto value
?
Stringoptional