Template:Other people/doc: Difference between revisions

en>Tom.Reding
m →‎top: {{High-use}}
 
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}}