コンテンツにスキップ

英文维基 | 中文维基 | 日文维基 | 草榴社区

Template:Sname/testcases

引数1つ
{{Sname|Mammalia}}

{{Sname}}

Mammalia
<span lang="la">Mammalia</span>

{{Sname/sandbox}}

Mammalia
<span lang="la">Mammalia</span>
引数2つ
{{Sname|de|Mammalia}}

{{Sname}}

Mammalia
<span lang="la">[[:w:de:Mammalia|Mammalia]]</span>

{{Sname/sandbox}}

Mammalia
<span lang="la">[[:w:de:Mammalia|Mammalia]]</span>
引数2つ第1引数null
{{Sname||Mammalia}}

{{Sname}}

Mammalia
<span lang="la">[[:w:Mammalia|Mammalia]]</span>

{{Sname/sandbox}}

Mammalia
<span lang="la">[[:w:Mammalia|Mammalia]]</span>
引数3つ
{{Sname|de|Mammalia|foo}}

{{Sname}}

foo
<span lang="la">[[:w:de:Mammalia|foo]]</span>

{{Sname/sandbox}}

foo
<span lang="la">[[:w:de:Mammalia|foo]]</span>
引数3つ第1引数null
{{Sname||Mammalia|foo}}

{{Sname}}

foo
<span lang="la">[[:w:Mammalia|foo]]</span>

{{Sname/sandbox}}

foo
<span lang="la">[[:w:Mammalia|foo]]</span>