Шаблон:Other people-lat/док
| Ovaj šablon pokreće Lua: |
Usage
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 "(disambiguation)":
{{{{#if: |замени:}}Other people-lat{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||{{{12}}}}}{{#if: ||{{{13}}}}}{{#if: ||{{{14}}}}}{{#if: ||{{{15}}}}}{{#if: ||{{{16}}}}}{{#if: ||{{{17}}}}}{{#if: ||{{{18}}}}}{{#if: ||{{{19}}}}}{{#if: ||{{{20}}}}}{{#if: ||...}}}}
On a page like "Mackenzie J. Garcia", a lone parameter gives the name used after "named" and before "(disambiguation)":
{{{{#if: |замени:}}Other people-lat{{#if:Mackenzie Garcia ||Mackenzie Garcia}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||{{{12}}}}}{{#if: ||{{{13}}}}}{{#if: ||{{{14}}}}}{{#if: ||{{{15}}}}}{{#if: ||{{{16}}}}}{{#if: ||{{{17}}}}}{{#if: ||{{{18}}}}}{{#if: ||{{{19}}}}}{{#if: ||{{{20}}}}}{{#if: ||...}}}}
Likewise, on a page like "Mackenzie Jasper Garcia", we can use a single parameter to specify a narrow "Mackenzie J. Garcia" disambiguation (DAB) page:
{{{{#if: |замени:}}Other people-lat{{#if:Mackenzie J. Garcia ||Mackenzie J. Garcia}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||{{{12}}}}}{{#if: ||{{{13}}}}}{{#if: ||{{{14}}}}}{{#if: ||{{{15}}}}}{{#if: ||{{{16}}}}}{{#if: ||{{{17}}}}}{{#if: ||{{{18}}}}}{{#if: ||{{{19}}}}}{{#if: ||{{{20}}}}}{{#if: ||...}}}}
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 "(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 WP:COMMONNAME of the subject is a shortened form of the name, e.g. at an article named "Mac Garcia":
{{{{#if: |замени:}}Other people-lat{{#if:Mackenzie Garcia ||Mackenzie Garcia}}{{#if:Mackenzie Garcia ||Mackenzie Garcia}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||{{{12}}}}}{{#if: ||{{{13}}}}}{{#if: ||{{{14}}}}}{{#if: ||{{{15}}}}}{{#if: ||{{{16}}}}}{{#if: ||{{{17}}}}}{{#if: ||{{{18}}}}}{{#if: ||{{{19}}}}}{{#if: ||{{{20}}}}}{{#if: ||...}}}}
Here, at a page like "Mackenzie Jasper Garcia", and in a case where there are two or more subjects with this full name, and the present article is the primary topic, and all the others are listed at a general "Mackenzie Garcia" DAB page, an explicitly named |{{SAFESUBST:#if:2|2=}} is used to eliminate "(disambiguation)", while the missing parameter #1 causes the template to default to using the current name of the page after "named":
{{{{#if: |замени:}}Other people-lat{{#if:2=Mackenzie Garcia ||2=Mackenzie Garcia}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||{{{12}}}}}{{#if: ||{{{13}}}}}{{#if: ||{{{14}}}}}{{#if: ||{{{15}}}}}{{#if: ||{{{16}}}}}{{#if: ||{{{17}}}}}{{#if: ||{{{18}}}}}{{#if: ||{{{19}}}}}{{#if: ||{{{20}}}}}{{#if: ||...}}}}
In unusual cases (mostly titles and pseudonyms), the word "named" can be replaced, e.g. with "called":
{{{{#if: |замени:}}Other people-lat{{#if:named=called ||named=called}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||{{{12}}}}}{{#if: ||{{{13}}}}}{{#if: ||{{{14}}}}}{{#if: ||{{{15}}}}}{{#if: ||{{{16}}}}}{{#if: ||{{{17}}}}}{{#if: ||{{{18}}}}}{{#if: ||{{{19}}}}}{{#if: ||{{{20}}}}}{{#if: ||...}}}}