跳转到内容

模板:Distinguish/cs

来自天灾之下:危险连接资料站


Nezaměňovat s [[:{{{1}}}]].
模板文档

Použití

{{Distinguish}} se používá k vytvoření bloku s odkazy k varování před možnou záměnou s malým počtem dalších souvisejících titulů v horním článku sekce podle Wikipedia:Layout.

Nemá to nic společného se sekcí "Související odkazy (stránky)", která se obvykle vyskytuje pod článkem.

{{Distinguish|Článek 1|...|Článek 4|label 1=label1|...|label 4=label4}}
  • Lze uvést jeden až čtyři články.
  • Slovo "nebo" je při zobrazení vždy umístěno mezi posledními dvěma položkami.
  • Pokud zadáte více než 4 položky, zobrazí se zpráva upozorňující na problém.
  • Parametry label1 až label4 můžete použít k určení alternativních štítků pro odkazy.
Přidáním znaků nového řádku se přeruší odkazy na články.

Příklady

<translate> Not to be confused with</translate> article1.
<translate> Not to be confused with</translate> article1<translate>  or</translate> article2.
<translate> Not to be confused with</translate> article1, article2, <translate>  or</translate> article3.
<translate> Not to be confused with</translate> article1, article2, article3, <translate>  or</translate> article4.
<translate> Not to be confused with</translate> label1.
  • {{Distinguish|article1|article2|label 1=label1|label 2=label2}}
<translate> Not to be confused with</translate> label1<translate>  or</translate> label2.

TemplateData

Adds warning "Not to be confused" on the reader's page, with a short list of related pages.

模板参数[编辑模板数据]

此模板首选参数不换行的行内格式。

参数描述类型状态
Page 11

Full name of related page

页面名称必需
Label 1l1 label 1

Custom label for the link, instead of the page name.

默认值
Page name
单行文本可选
Page 22

Full name of related page

页面名称可选
Label 2l2 label 2

Custom label for the link, instead of the page name.

默认值
Page name
单行文本可选
Page 33

Full name of related page

页面名称可选
Label 3l3 label 3

Custom label for the link, instead of the page name.

默认值
Page name
单行文本可选
Page 44

Full name of related page

页面名称可选
Label 4l4 label 4

Custom label for the link, instead of the page name.

默认值
Page name
单行文本可选