Difference between revisions of "Template:Human name disambiguation/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>FeRDNYC
(Create sandbox version of Template:Human name disambiguation)
 
imported>FeRDNYC
(Add propagation of |nocat= to Template:Dmbox and respect it for Template:Disambiguation page short description, as in Template:Disambiguation)
 
Line 1: Line 1:
 
{{dmbox
 
{{dmbox
 
| type = disambig
 
| type = disambig
| text = <includeonly>{{Disambiguation page short description}}</includeonly>This [[Help:Disambiguation|disambiguation]] page lists articles about people with the same name. If an [{{fullurl:Special:Whatlinkshere/{{{page-title|{{FULLPAGENAME}}}}}|namespace=0}} internal link] led you here, you may wish to change the link to point directly to the intended article.
+
| text = <includeonly>{{#if:{{{nocat|}}}||{{Disambiguation page short description}}}}</includeonly>This [[Help:Disambiguation|disambiguation]] page lists articles about people with the same name. If an [{{fullurl:Special:Whatlinkshere/{{{page-title|{{FULLPAGENAME}}}}}|namespace=0}} internal link] led you here, you may wish to change the link to point directly to the intended article.
 +
| nocat = {{{nocat|}}}  <!--So "nocat=true" works-->
 
}}{{main other
 
}}{{main other
 +
| demospace = {{{demospace|}}}
 
| {{#if:{{{1|}}}{{{name|}}}
 
| {{#if:{{{1|}}}{{{name|}}}
 
   |[[Category:Human name disambiguation pages|{{{1|}}}{{{name|}}}]]
 
   |[[Category:Human name disambiguation pages|{{{1|}}}{{{name|}}}]]

Latest revision as of 01:13, 30 January 2019

__DISAMBIG__

Template documentation[view] [edit] [history] [purge]

Usage

This template is designed for use only on disambiguation pages that contain only links to articles for people having the same name. It displays a notice on the page and includes it in the Category:Human name disambiguation pages, a subcategory of Category:Disambiguation pages. It is similar in function to the {{Disambiguation}} template, which is used on general purpose disambiguation pages. Please refer to the following examples:

  • For a disambiguation page containing only human names (e.g. full given name and surname such as "Max Weber"), add (at bottom of page):
{{Hndis}}
  • For a disambiguation page containing both human names and other entries, do not use the {{hndis}} template. Instead, use:
{{Disambiguation|human name}}
{{Hndis|Weber, Max}}
or:
{{Hndis|name=Weber, Max}}
generates:
[[Category:Human name disambiguation pages|Weber, Max]]
  • For human name disambiguation pages requiring cleanup, use {{hndis-cleanup}}.

Choosing the proper template

  • A page that lists "Ethan Allen (baseball player)" and "Ethan Allen (furniture company)" should use {{disambiguation|hn}}.
  • A page that lists "Jayson L. Smeltsdorf" and "Jayson Q. Smeltsdorf" should use {{hndis}}.
  • A page that lists all people with the given name "Jayson" should use {{given name}}.
  • A page that lists all people with the surname "Smeltsdorf" should use {{surname}}.

See also