Difference between revisions of "Template:Data missing/doc"
Jump to navigation
Jump to search
imported>Funandtrvl m (cat refine) |
imported>GoldRingChip m (Added parameters. Changed examples) |
||
| Line 2: | Line 2: | ||
{{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. | Use this template when you have a list in which items are missing. | ||
| Line 10: | Line 9: | ||
Pages using this template are included in [[:Category:Data missing]]. | Pages using this template are included in [[:Category:Data missing]]. | ||
| − | == | + | == Parameter == |
| − | + | If you put any parameter in, then it will force a line break before the helping link. | |
| − | + | ||
| − | + | This is mostly helpful in tables, not in regular text. | |
| − | + | ||
| − | + | == Examples == | |
| − | + | {| | |
| − | + | ! Code | |
| + | ! | ||
| + | ! Result | ||
| + | |||
| + | |- | ||
| + | | <pre>George's father: {{dm}}</pre> | ||
| + | | | ||
| + | | George's father: {{dm}} | ||
| + | |||
| + | |- | ||
| + | | <pre>George's mother: {{dm|hello}}</pre> | ||
| + | | | ||
| + | | George's mother: {{dm|hello}} | ||
| + | |||
| + | |- valign=top | ||
| + | | <pre> | ||
| + | {| class=wikitable | ||
| + | ! Relations !! Names !! Dates | ||
| + | |- | ||
| + | | Self || George || {{dm}} | ||
| + | |- | ||
| + | | Father || {{dm}} || 1903–1975 | ||
| + | |- | ||
| + | | Mother || {{dm|1}} || 1905–1978 | ||
| + | |}</pre> | ||
| + | | | ||
| + | | | ||
| + | {| class=wikitable | ||
| + | ! Relations !! Names !! Dates | ||
| + | |- | ||
| + | | Self || George || {{dm}} | ||
| + | |- | ||
| + | | Father || {{dm}} || 1903–1975 | ||
| + | |- | ||
| + | | Mother || {{dm|1}} || 1905–1978 | ||
| + | |} | ||
| + | |} | ||
<includeonly> | <includeonly> | ||
| − | <!-- CATEGORIES AND INTERWIKIS HERE | + | <!-- CATEGORIES AND INTERWIKIS HERE --> |
[[Category:List cleanup maintenance templates|{{PAGENAME}}]] | [[Category:List cleanup maintenance templates|{{PAGENAME}}]] | ||
</includeonly> | </includeonly> | ||
Revision as of 13:11, 20 September 2011
| 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 any parameter in, then it will force a line break before the helping link.
This is mostly helpful in tables, not in regular text.
Examples
| Code | Result | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
George's father: {{dm}}
|
George's father: [data unknown/missing] | |||||||||||||
George's mother: {{dm|hello}}
|
George's mother: [data unknown/missing] | |||||||||||||
{| class=wikitable
! Relations !! Names !! Dates
|-
| Self || George || {{dm}}
|-
| Father || {{dm}} || 1903–1975
|-
| Mother || {{dm|1}} || 1905–1978
|}
|
|