“Template:Wiktionary/doc”的版本间的差异

来自Terraria Wiki
跳转至: 导航搜索
(初始化。 sync :: en revid:1118652::)
(没有差异)

2021年5月14日 (五) 02:39的版本

This template creates a link to Wiktionary, but without the need for the displayed text as it automatically fills it in.

Usage

{{ wiktionary | <Wiktionary article title> | <display text> | lang = <language version of Wiktionary> }}

First unnamed parameter

Title of the article on Wiktionary.

Second unnamed parameter

By default, the article title will be displayed, but this parameter can be used to override that and provide a custom text.

lang

The language version of Wiktionary, e.g. fr for the French Wiktionary. This defaults to {{lang}}, i.e. the current language, so it should not be necessary in most cases.

Examples

Code Result
{{wiktionary|lunatic}} lunatic
{{wiktionary|lunatic|the term on Wiktionary}} the term on Wiktionary
{{wiktionary|lunatic|''lunatic'' in Kurdish|lang=ku}} lunatic in Kurdish

See also