模板:Also

維基詞典,自由的多語言詞典
參見:{{{1}}}

這一模板用於生成前往類似條目,尤其是前往僅在大小寫、變音符號或標點符號方面不同的條目的鏈接。這一模板使用Module:Template:also

用法

你可以填寫任意數量的替代形式,每個替代形式對應一個自身的參數。它必須至少包含一個參數。下方是引自頁面"pan"的一個例子:

{{亦|Pan|pan-}}
==英语==

上方的代碼會輸出下列內容:

參見:Panpan-

英語

放置位置

該模板應被放置於條目頂部,但當{{character info}}存在時則應被放置至該模板下方。當兩個模板的放置順序顛倒時,{{character info}}上方將出現一行空白。

示例:

{{character info}}
{{also|...}}
==跨语言==

===语言字段===
{{mul-字段}}

# 义项1

鏈接順序

不存在對於{{also}}中多個目標順序的嚴格規定。但項目一般依照下列規則順序從左到右排列:

  • 單詞字母完全相同時的排列順序:
    • 先列出單詞首字母大寫,其他字母全部小寫的單詞;
    • 再列出字母全部大寫的單詞;
    • 最後列出奇奇怪怪的大小寫混合的單詞。
  • 先列出沒有撇號或連字符的單詞,再列出有撇號或連字符的單詞;
  • 先列出沒有變音符號的單詞,再列出有變音符號的單詞;
  • 先列出字母單獨出現的單詞(ae、ij、oe、ss),再列出字母以連字方式呈現的單詞(æ、ij、œ、ß);
  • 先列出分離的字母(aa、oe、ue),再列出帶有變音符號的字母(å、ö、ü);
  • 先列出少有異國情調的字母,再列出更具有異國情調的字母(á、à、ä、â、ã、å);
  • 總是最後列出外觀相似但含義不同的字母或符號(先列出「no」,再列出「№」)。

其他用途

這一模板較為少見的用途是指向構成字母不同,但明顯會造成混淆的頁面的鏈接,例如la_vache中包含{{also|vache}}。這一模板也有鏈接至視覺上相似但字母系統不同的頁面,例如因為西里爾文сама與拉丁字母cama在視覺上十分相似,cama中就包含{{also|čama|сама}},。

但在中文條目中,因中文沒有字母大小寫概念、部分漢字形態十分相近等原因,這一模板指向明顯會造成混淆的頁面的用途十分多見;此外,這一模板還有指向一個字的簡體字、異體字條目的功能。例如中就包含{{also|书|畫|晝}}

Tagging

Each link will be tagged with the script to which it belongs, if it does not consist of multiple scripts. If there are any codepoints above U+240 (about where the solid block of mostly Latin-script characters ends), Module:Template:also uses a function in Module:Unicode data to determine the script in a language-neutral way. This adds to the Lua memory usage; if you use |sc= instead, Module:Unicode data will not be transcluded in {{also}} and the memory usage will be lower.

Parameters

The template accepts an optional named parameter, |uni=. Setting it to auto will make the template annotate links with Unicode code point numbers and Unicode names of the first character of the link label. You can also set a |uniN= parameter to selectively override the code point displayed or disable it altogether (just set it to "no"). Use it for characters which could be easily confused for each other and may look identically in some fonts, like Σ (U+03A3 GREEK CAPITAL LETTER SIGMA), Ʃ (U+01A9 LATIN CAPITAL LETTER ESH) and ∑ (U+2211 N-ARY SUMMATION).

Use |sc= to provide a default script code, which will be used to tag all the terms in the list. To provide a different script code for one of the terms, use |scN=. N is the number of the parameter for which the script will be used. If |sc= is provided, no automatic detection of script will happen. If any terms have a corresponding |scN= parameter, the scripts for the rest of the terms (if any) will be automatically detected.

參見

模板數據

這是用於新版可視化編輯器和其他工具的模板數據說明文件。

來自Also的模板數據

"See also" template for non-Japanese text

模板參數[編輯模板資料]

此模板有自訂格式。

參數描述類型狀態
第一項1

第一個鏈接頁面

範例
Pan
頁面名稱必填
第二項2

第二個鏈接頁面

範例
PAN
頁面名稱非必填
第三項3

第三個鏈接頁面

範例
PAN
頁面名稱非必填
第四項4

第四個鏈接頁面

範例
pan-
頁面名稱非必填
第五項5

第五個鏈接頁面

範例
Pan-
頁面名稱非必填
第六項6

第六個鏈接頁面

範例
p.a.n.
頁面名稱非必填
第七項7

第七個鏈接頁面

範例
paN
頁面名稱非必填
第八項8

第八個鏈接頁面

範例
pAn
頁面名稱非必填
第九項9

第九個鏈接頁面

範例
p'ån
頁面名稱非必填
第十項10

第十個鏈接頁面

範例
p-Ann
頁面名稱非必填