Difference between revisions of "Template:Data missing/doc"
Jump to navigation
Jump to search
imported>GoldRingChip ("?") |
imported>WOSlinker (tidy style) |
||
| Line 33: | Line 33: | ||
| George's mother: {{dm|hello}} | | George's mother: {{dm|hello}} | ||
| − | |- | + | |- style="vertical-align:top;" |
| <pre> | | <pre> | ||
{| class=wikitable | {| class=wikitable | ||
| Line 62: | Line 62: | ||
<includeonly> | <includeonly> | ||
<!-- CATEGORIES AND INTERWIKIS HERE --> | <!-- CATEGORIES AND INTERWIKIS HERE --> | ||
| − | [[Category:List cleanup maintenance templates | + | [[Category:List cleanup maintenance templates]] |
| − | [[Category:Inline cleanup templates | + | [[Category:Inline cleanup templates]] |
</includeonly> | </includeonly> | ||
Revision as of 22:21, 16 November 2014
| 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 in which items are missing. These aren't necessarily stubs, because it only is applied when a specific item of information is missing.
Pages using this template are included in Category:Data missing.
Parameter
If you put in a parameter of "?" then it will shorten it all 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
| Code | Result | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
George's father: {{dm}}
|
George's father: [data unknown/missing] | ||||||||||||||||
George's wife: {{dm|?}}
|
George's wife: [?] | ||||||||||||||||
George's mother: {{dm|hello}}
|
George's mother: [data unknown/missing] | ||||||||||||||||
{| class=wikitable
! Relations !! Names !! Dates
|-
| Self || George || {{dm}}
|-
| Father || {{dm}} || 1903–1975
|-
| Wife || {{dm|?}} || 1938–2006
|-
| Mother || {{dm|1}} || 1905–1978
|}
|
|