Difference between revisions of "Template:Data missing/doc"
Jump to navigation
Jump to search
imported>SUM1 (Added TemplateData and updated usage notes to reflect removed 'You can help!' link (and removed confusing and unnecessary sentence)) |
imported>Wiki13 m (Reverted edits by 70.65.186.205 (talk) to last version by DePiep) |
||
| (6 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
| − | |||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
== Usage == | == Usage == | ||
| + | {{Template shortcut|dm}} | ||
Use this template when you have a list or table in which specific items are missing. | 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]]. | Pages using this template are included in [[:Category:Data missing]]. | ||
| − | == | + | == Parameters == |
* {{param|date}}: The date the tag was added. | * {{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. | * {{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. | ||
| Line 19: | Line 19: | ||
|- | |- | ||
| − | | <pre>George's father: {{ | + | | <pre>George's father: {{Data missing}}</pre> |
| | | | ||
| − | | George's father: {{ | + | | George's father: {{Data missing}} |
|- | |- | ||
| − | | <pre>George's mother: {{ | + | | <pre>George's mother: {{Data missing|?}}</pre> |
| | | | ||
| − | | George's mother: {{ | + | | George's mother: {{Data missing|?}} |
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
| Line 33: | Line 33: | ||
! Relations !! Names !! Dates | ! Relations !! Names !! Dates | ||
|- | |- | ||
| − | | Self || George || {{ | + | | Self || George || {{Data missing}} |
|- | |- | ||
| − | | Father || {{ | + | | Father || {{Data missing}} || 1903–1975 |
|- | |- | ||
| − | | Mother || {{ | + | | Mother || {{Data missing|?}} || 1905–1978 |
|}</pre> | |}</pre> | ||
| | | | ||
| Line 44: | Line 44: | ||
! Relations !! Names !! Dates | ! Relations !! Names !! Dates | ||
|- | |- | ||
| − | | Self || George || {{ | + | | Self || George || {{Data missing}} |
|- | |- | ||
| − | | Father || {{ | + | | Father || {{Data missing}} || 1903–1975 |
|- | |- | ||
| − | | Mother || {{ | + | | Mother || {{Data missing|?}} || 1905–1978 |
|} | |} | ||
|} | |} | ||
| Line 77: | Line 77: | ||
</templatedata> | </templatedata> | ||
| − | <includeonly> | + | <includeonly>{{sandbox other|| |
| − | |||
[[Category:List cleanup maintenance templates]] | [[Category:List cleanup maintenance templates]] | ||
[[Category:Inline cleanup templates]] | [[Category:Inline cleanup templates]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 12:36, 18 July 2020
| This is a documentation subpage for Template:Data missing. It contains usage information, categories and other content that is not part of the original template page. |
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 |