模板:Distinguish/en

来自广财百科
跳到导航 跳到搜索

<languages/> {{#switch: | =

| #default=

 {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Distinguish|noshift=1}}

}} {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}{{#if:== Usage ==

{{-{}-{{#if: |subst:}}Distinguish{{#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: ||...}}}} is used to create hatnotes to warn about possible confusion with a small number of other, related, titles at the top of article sections according to Wikipedia:Layout.

It is not for use in the "See also" section at the bottom of an article.

{{-{}-{{#if: |subst:}}Distinguish{{#if:Article 1  ||Article 1}}{{#if:...  ||...}}{{#if:Article 4  ||Article 4}}{{#if:label 1=label1  ||label 1=label1}}{{#if:...  ||...}}{{#if:label 4=label4  ||label 4=label4}}{{#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: ||...}}}}
  • One to four articles can be listed.
  • The word "or" is always placed between the final two entries when displayed.
  • If more than 4 entries are supplied, a message will be displayed pointing out the problem.
  • You can use parameters label 1 to label 4 to specify alternative labels for the links.
Adding newline characters will break article links.

Examples

  • {{-{}-{{#if: |subst:}}Distinguish{{#if:article1 ||article1}}{{#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: ||...}}}}

{{#switch:<translate></translate> | =

| #default=

 {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Distinguish|noshift=1}}

}}

  • {{-{}-{{#if: |subst:}}Distinguish{{#if:article1 ||article1}}{{#if:article2 ||article2}}{{#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: ||...}}}}

{{#switch:<translate></translate> | =

| #default=

 {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Distinguish|noshift=1}}

}}

  • {{-{}-{{#if: |subst:}}Distinguish{{#if:article1 ||article1}}{{#if:article2 ||article2}}{{#if:article3 ||article3}}{{#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: ||...}}}}

{{#switch:<translate></translate> | =

| #default=

 {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Distinguish|noshift=1}}

}}

  • {{-{}-{{#if: |subst:}}Distinguish{{#if:article1 ||article1}}{{#if:article2 ||article2}}{{#if:article3 ||article3}}{{#if:article4 ||article4}}{{#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: ||...}}}}

{{#switch:<translate></translate> | =

| #default=

 {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Distinguish|noshift=1}}

}}

  • {{-{}-{{#if: |subst:}}Distinguish{{#if:article1 ||article1}}{{#if:label 1=label1 ||label 1=label1}}{{#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: ||...}}}}

{{#switch:<translate></translate> | =

| #default=

 {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Distinguish|noshift=1}}

}}

  • {{-{}-{{#if: |subst:}}Distinguish{{#if:article1 ||article1}}{{#if:article2 ||article2}}{{#if:label 1=label1 ||label 1=label1}}{{#if: ||}}{{#if:label 2=label2 ||label 2=label2}}{{#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: ||...}}}}

{{#switch:<translate></translate> | =

| #default=

 {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Distinguish|noshift=1}}

}}| [[Category:Template documentation pages{{#translation:}}]] }}

模板:Distinguish/doc