Template:Data missing/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
en>Glades12 (Fixed) |
Squareblob (talk | contribs) m (1 revision imported) |
||
(2 intermediate revisions by 2 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 == |
||
⚫ | |||
Use this template when you have a list in which items are missing. These aren't necessarily stubs, because it only is applied when a specific item of information is 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. |
|||
If you put |
* {{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. |
||
If you put any other parameter in, then it will force a line break before the helping link, which is mostly helpful in tables, not in regular text. |
|||
== Examples == |
== Examples == |
||
Line 20: | Line 19: | ||
|- |
|- |
||
| <pre>George's father: {{ |
| <pre>George's father: {{Data missing}}</pre> |
||
| |
| |
||
| George's father: {{ |
| George's father: {{Data missing}} |
||
|- |
|- |
||
| <pre>George's |
| <pre>George's mother: {{Data missing|?}}</pre> |
||
| |
| |
||
| George's |
| George's mother: {{Data missing|?}} |
||
|- |
|||
| <pre>George's mother: {{dm|hello}}</pre> |
|||
| |
|||
| George's mother: {{dm|hello}} |
|||
|- style="vertical-align:top;" |
|- style="vertical-align:top;" |
||
Line 39: | Line 33: | ||
! Relations !! Names !! Dates |
! Relations !! Names !! Dates |
||
|- |
|- |
||
| Self || George || {{ |
| Self || George || {{Data missing}} |
||
|- |
|- |
||
| Father || {{ |
| Father || {{Data missing}} || 1903–1975 |
||
|- |
|- |
||
| |
| Mother || {{Data missing|?}} || 1905–1978 |
||
|- |
|||
| Mother || {{dm|1}} || 1905–1978 |
|||
|}</pre> |
|}</pre> |
||
| |
| |
||
Line 52: | Line 44: | ||
! Relations !! Names !! Dates |
! Relations !! Names !! Dates |
||
|- |
|- |
||
| Self || George || {{ |
| Self || George || {{Data missing}} |
||
|- |
|- |
||
| Father || {{ |
| Father || {{Data missing}} || 1903–1975 |
||
|- |
|- |
||
| |
| Mother || {{Data missing|?}} || 1905–1978 |
||
|- |
|||
| Mother || {{dm|1}} || 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> |
<includeonly> |
||
<!-- CATEGORIES AND INTERWIKIS HERE --> |
<!-- CATEGORIES AND INTERWIKIS HERE --> |
Latest revision as of 16:25, 24 February 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. |
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 |