Template:Other people/doc: Difference between revisions
en>Tom.Reding m →top: {{High-use}} |
Orangestar (talk | contribs) m Text replacement - "[[WP:" to "[[wikipedia:WP:" |
||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
Examples presuming you are on a page about a "Mackenzie Garcia": | Examples presuming you are on a page about a "Mackenzie Garcia": | ||
With no parameters, it inserts the current page name, for example "Mackenzie Garcia" (an individual who is the [[WP:PRIMARYTOPIC]] for that name) after "named" before {{nobr|"(disambiguation)"}}:<br /> | With no parameters, it inserts the current page name, for example "Mackenzie Garcia" (an individual who is the [[wikipedia:WP:PRIMARYTOPIC]] for that name) after "named" before {{nobr|"(disambiguation)"}}:<br /> | ||
{{tlx|Other people}}<br /> | {{tlx|Other people}}<br /> | ||
{{Other people|Mackenzie Garcia}}<!--This code intentionally does not match the example because it is operating on a page named "Template:Other people", not the example page.--> | {{Other people|Mackenzie Garcia}}<!--This code intentionally does not match the example because it is operating on a page named "Template:Other people", not the example page.--> | ||
Line 14: | Line 14: | ||
{{Other people|Mackenzie Garcia}} | {{Other people|Mackenzie Garcia}} | ||
Likewise, on a page like "Mackenzie Jasper Garcia", we can use a single parameter to specify a narrow "Mackenzie J. Garcia" disambiguation ([[WP:DAB|DAB]]) page:<br /> | Likewise, on a page like "Mackenzie Jasper Garcia", we can use a single parameter to specify a narrow "Mackenzie J. Garcia" disambiguation ([[wikipedia:WP:DAB|DAB]]) page:<br /> | ||
{{tlx|Other people|Mackenzie J. Garcia}}<br /> | {{tlx|Other people|Mackenzie J. Garcia}}<br /> | ||
{{Other people|Mackenzie J. Garcia}} | {{Other people|Mackenzie J. Garcia}} | ||
If two parameters are given, the first is the name after "named", the second is the entire page name of the DAB page. (Always link to the page name containing "(disambiguation)"; see [[WP:INTDAB]] for why. If that title is a redirect (i.e. the DAB page's name does not contain {{nobr|"(disambiguation)"}}), use a piped link by using {{tl|!}}: {{nobr|<code><nowiki>Mackenzie Garcia (disambiguation){{!}}Mackenzie Garcia</nowiki></code>}}.) This can be used when the current page name is already partially disambiguated, e.g. "Mackenzie Garcia (politician{{nobr|)"}}. It can also be used when the [[WP:COMMONNAME]] of the subject is a shortened form of the name, e.g. at an article named "Mac Garcia":<br /> | If two parameters are given, the first is the name after "named", the second is the entire page name of the DAB page. (Always link to the page name containing "(disambiguation)"; see [[wikipedia:WP:INTDAB]] for why. If that title is a redirect (i.e. the DAB page's name does not contain {{nobr|"(disambiguation)"}}), use a piped link by using {{tl|!}}: {{nobr|<code><nowiki>Mackenzie Garcia (disambiguation){{!}}Mackenzie Garcia</nowiki></code>}}.) This can be used when the current page name is already partially disambiguated, e.g. "Mackenzie Garcia (politician{{nobr|)"}}. It can also be used when the [[wikipedia:WP:COMMONNAME]] of the subject is a shortened form of the name, e.g. at an article named "Mac Garcia":<br /> | ||
{{tlx|Other people|Mackenzie Garcia|Mackenzie Garcia}}<br /> | {{tlx|Other people|Mackenzie Garcia|Mackenzie Garcia}}<br /> | ||
{{Other people|Mackenzie Garcia|Mackenzie Garcia}} | {{Other people|Mackenzie Garcia|Mackenzie Garcia}} |
Latest revision as of 17:47, 13 June 2024
![]() | This template is used on approximately 34,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
![]() | This template uses Lua: |
Usage[edit source]
Examples presuming you are on a page about a "Mackenzie Garcia":
With no parameters, it inserts the current page name, for example "Mackenzie Garcia" (an individual who is the wikipedia:WP:PRIMARYTOPIC for that name) after "named" before "(disambiguation)":
{{Other people}}
On a page like "Mackenzie J. Garcia", a lone parameter gives the name used after "named" and before "(disambiguation)":
{{Other people|Mackenzie Garcia}}
Likewise, on a page like "Mackenzie Jasper Garcia", we can use a single parameter to specify a narrow "Mackenzie J. Garcia" disambiguation (DAB) page:
{{Other people|Mackenzie J. Garcia}}
If two parameters are given, the first is the name after "named", the second is the entire page name of the DAB page. (Always link to the page name containing "(disambiguation)"; see wikipedia:WP:INTDAB for why. If that title is a redirect (i.e. the DAB page's name does not contain "(disambiguation)"), use a piped link by using {{!}}: Mackenzie Garcia (disambiguation){{!}}Mackenzie Garcia
.) This can be used when the current page name is already partially disambiguated, e.g. "Mackenzie Garcia (politician)". It can also be used when the wikipedia:WP:COMMONNAME of the subject is a shortened form of the name, e.g. at an article named "Mac Garcia":
{{Other people|Mackenzie Garcia|Mackenzie Garcia}}
In unusual cases (mostly titles and pseudonyms), the word "named" can be replaced, e.g. with "called":
{{Other people|named=called}}