「テンプレート:En」の版間の差分
ナビゲーションに移動
検索に移動
bsd>Majora (Wrap documentation in {{documentation}} template - per edit request) |
細 (1版 をインポートしました) |
(相違点なし)
|
2020年1月8日 (水) 19:37時点における最新版
ファイル:Dialog-warning-orange.svg | Note: This テンプレート is used on a lot of pages. In order not to put too much load on the servers, edits should be kept to a bare minimum. Please discuss proposed changes on the talk page first.
|
English: abc
Adds "
English:
" in front of the text written in English. Also adds machine-readable tags identifying the text as being written in English.
The template automatically sets the following categories: Category:Language templates with no text displayed (if parameter #1 is empty)
Usage
{{en |1= }}
テンプレートパラメーター
Parameter | Description | Default | Status | |
---|---|---|---|---|
inline | inline | optional, default is empty string. When set to any value different from an empty string, forces the template to be displayed inline, so that it does not break the current paragraph (i.e. that makes possible to put several descriptions side by side on a single line) | empty | optional |
1 | text | Text to be displayed. Please proceed the text with "1=", otherwise any "=" characters in the text will break the template. | empty | required |
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
Relies on:
{{description}}
Example
{{en|1=Abcdefghijklmnopqrstuwxyz}}
renders as:
English: Abcdefghijklmnopqrstuwxyz
⧼Seealso⧽
- Commons:Localization
- - Returns the local language name of a language code.
- {{language}} - Returns the translated language name of a language code.
Localization
This template is not intended to be localized.
It relies on {{#language:...}} parser function for localization.
Other multi-lingual templates
I18n templates: | {{Multilingual description}} | {{en}}{{fr}}… | {{LangSwitch}} | {{Autotranslate}} | {{TNT}} |
---|---|---|---|---|---|
Requires JavaScript enabled for folding | + | + | − | − | − |
Folding can be disabled by user | + | + | − | − | − |
Folding is done server-side | − | − | + | + | + |
Folding when at least n languages are provided | 1 | 4 | 1 | 1 | 1 |
Collation order of languages (when not folded) | Latin, Latin or Cyrillic, Cyrillic, Greek, other simple LTR alphabets, Indic, other South Asian, Syllabaries, Hangul, Japanese scripts, Sinograms, Hebrew, Arabic languages | as provided by the user in the wikitext | − | − | − |
Search indexing issues | − | − | ? | partially (where used; language subpages of templates are indexed) | − |
Recommended use at | categories, galleries | file description pages | other pages incl. simple templates | larger templates when used on pages that do not have language subpages (e.g. not having Main page/en , Main page/de ) and where the language displayed will be automatically determined by the language set in user preferences
|
larger templates when used on pages that do have language subpages; most of the time these will be pages prepared with the Translate Extension |
Contains expensive parser functions | − | − | − | + | + |
The above documentation is transcluded from Template:Internationalization template doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |