แม่แบบ:ดูเพิ่ม
- The following documentation is located at แม่แบบ:ดูเพิ่ม/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
แม่แบบ:uses lua This template links to similar entries, especially those that differ only in capitalization, diacritics, or punctuation.
Usage
แก้ไขYou can include any number of alternate forms, each as its own parameter. It must contain at least one. For example, on "pan":
{{also|Pan|PAN|pan-|Pan-}}
==English==
The above code produces the following output:
Template placement
แก้ไขPlace this template right at the top of the entry but below {{character info}}
whenever applicable. (if the order were inverted, this would cause a blank space to appear above {{character info}}
)
This is correct:
{{character info}} {{also|...}} ==Translingual== ===Symbol=== {{mul-symbol}} # Sense 1.
Order of entries linked
แก้ไขThere are no strict rules on what order multiple targets in the {{also}}
template should be. However, the order of items should generally be: all lowercase before capitalized first letter, before all capitals, before strange mixes; no apostrophes or hyphens before apostrophes or hyphens, no diacritics before diacritics, separate letters before ligatures (ae æ, ij ij, oe œ, ss ß), separate letters before multiple-letter diacritics (aa å, oe ö, ue ü), less exotic diacritics before more exotic (á à â ä ã å), letters or symbols which are similar in appearance but have different meaning should be last of all ("no" before "№").
Other uses
แก้ไขLess common usage includes links to pages that do not contain the same number of letters, but may nevertheless be confused. For example la vache contains {{also|vache}}
. And linking to pages of a different script which are visually similar, for example cama contains {{also|čama|сама}}
because the Cyrillic сама looks very similar to the Latin script cama.
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: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.
See also
แก้ไขSubpages
แก้ไขTemplateData
แก้ไข"See also" template for non-Japanese text
พารามิเตอร์ | คำอธิบาย | ชนิด | สถานะ | |
---|---|---|---|---|
First term | 1 | The first term to link to
| ชื่อหน้า | จำเป็น |
Second term | 2 | The second term to link to
| ชื่อหน้า | เลือกได้ |
Third term | 3 | The third term to link to
| ชื่อหน้า | เลือกได้ |
Fourth term | 4 | The fourth term to link to
| ชื่อหน้า | เลือกได้ |
Fifth term | 5 | The fifth term to link to
| ชื่อหน้า | เลือกได้ |
Sixth term | 6 | The sixth term to link to
| ชื่อหน้า | เลือกได้ |
Seventh term | 7 | The seventh term to link to
| ชื่อหน้า | เลือกได้ |
Eighth term | 8 | The eighth term to link to
| ชื่อหน้า | เลือกได้ |
Ninth term | 9 | The ninth term to link to
| ชื่อหน้า | เลือกได้ |