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

From blackwiki
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]].
  
== Example ==
+
== Parameter ==
'''Thomas Bloggovich, Jr's ancestors''':
+
If you put any parameter in, then it will force a line break before the helping link.
* Mother: [[Janet Hruskocz Bloggovich]]
+
 
* Father: [[Thomas Bloggovich, Sr.]]
+
This is mostly helpful in tables, not in regular text.
* Maternal grandmother: [[Ralph Hruskocz]]
+
 
* Maternal grandfather: {{Data missing}}
+
== Examples ==
* Paternal grandmother: {{Data missing}}
+
{|
* Paternal grandfather: [[Delores Smith Bloggovich]]
+
! Code
 +
! &nbsp;
 +
! Result
 +
 
 +
|-
 +
| <pre>George's father: {{dm}}</pre>
 +
| &nbsp;
 +
|  George's father: {{dm}}
 +
 
 +
|-
 +
| <pre>George's mother: {{dm|hello}}</pre>
 +
| &nbsp;
 +
|  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>
 +
| &nbsp;
 +
|
 +
{| class=wikitable
 +
! Relations !! Names !! Dates
 +
|-
 +
| Self || George || {{dm}}
 +
|-
 +
| Father || {{dm}} || 1903–1975
 +
|-
 +
| Mother || {{dm|1}} || 1905–1978
 +
|}
 +
|}
 
<includeonly>
 
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<!-- 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

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
|}
 
Relations Names Dates
Self George [data unknown/missing]
Father [data unknown/missing] 1903–1975
Mother [data unknown/missing] 1905–1978