Template:Data missing/doc: Difference between revisions

From Pantonian Republic Wiki
Jump to navigation Jump to search
(navbox)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 18:55, 18 May 2023

Usage

Use the {{Data missing|date=October 2024}} 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 month and year 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 for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template in articles based on this TemplateData.

TemplateData for Data missing

<templatedata> {

   "description": "Use this inline template indicate that a statement may be outdated and in need of updating or removal.",

"params": { "date": { "label": "Month and year", "description": "Month and year of tagging; e.g., 'January 2013', but not 'jan13'", "type": "string", "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "example": "January 2013", "suggested": true },

       "1": {

"label": "Replace with '?'", "description": "Replace the template text with a question mark ('?') for size constraints", "type": "string", "autovalue": "?", "example": "?" } } } </templatedata>

Tracking categories