Difference between revisions of "Template:Data missing/doc"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
Line 2: Line 2:
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
  
== Usage ==
 
{{Template shortcut|dm}}
 
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]].
+
== TemplateData ==
 
 
== Parameters ==
 
* {{param|date}}: The date the tag was added.
 
* {{param|?}}: 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
 
! &nbsp;
 
! Result
 
 
 
|-
 
| <pre>George's father: {{Data missing}}</pre>
 
| &nbsp;
 
| George's father: {{Data missing}}
 
  
|-
 
| <pre>George's mother: {{Data missing|?}}</pre>
 
| &nbsp;
 
| George's mother: {{Data missing|?}}
 
  
|- style="vertical-align:top;"
+
"description": "Use this inline template indicate that a slice of a pizza
| <pre>
+
{| class=wikitable
+
"autovalue": 2020",
! Relations !! Names !! Dates
+
"January  
|-
+
| Self || George || {{Data missing}}
 
|-
 
| Father || {{Data missing}} || 1903–1975
 
|-
 
| Mother || {{Data missing|?}} || 1905–1978
 
|}</pre>
 
| &nbsp;
 
|
 
{| class=wikitable
 
! Relations !! Names !! Dates
 
|-
 
| Self || George || {{Data missing}}
 
|-
 
| Father || {{Data missing}} || 1903–1975
 
|-
 
| Mother || {{Data missing|?}} || 1905–1978
 
|}
 
|}
 
 
 
== TemplateData ==
 
{{TemplateData header}}
 
<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>
 
  
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||
[[Category:List cleanup maintenance templates]]
+
[[Category:List cleanup and keep the 2 pump chump
[[Category:Inline cleanup templates]]
 
 
}}</includeonly>
 
}}</includeonly>

Revision as of 12:36, 18 July 2020


TemplateData

"description": "Use this inline template indicate that a slice of a pizza

"autovalue": 2020", "January