「テンプレート:用語」の版間の差分
ナビゲーションに移動
検索に移動
(他の1人の利用者による、間の3版が非表示) | |||
1行目: | 1行目: | ||
<div class="dictionary_item"> | <div class="dictionary_item"> | ||
<div class="word"> | <div class="word"> | ||
− | === {{{word}}} === | + | ==== {{{word}}} ==== |
</div> | </div> | ||
<div class="description">{{{description}}}</div> | <div class="description">{{{description}}}</div> | ||
− | {{#if: {{{link}}} | <div class="reference">[[{{{link}}}]]</div> | | + | {{#if: {{{link}}} | <div class="reference">[[{{{link}}}]]</div> | }} |
</div><noinclude> | </div><noinclude> | ||
<templatedata> | <templatedata> | ||
25行目: | 25行目: | ||
}, | }, | ||
"link": { | "link": { | ||
− | "label": " | + | "label": "関連ページ", |
− | "description": " | + | "description": "もっと詳しく説明したい場合とかに、このページへ誘導します。まだないページ名でも大丈夫です。", |
"example": "ユーディル", | "example": "ユーディル", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
40行目: | 40行目: | ||
} | } | ||
</templatedata> | </templatedata> | ||
− | </noinclude> | + | </noinclude><noinclude> |
+ | {{#cargo_declare:_table=Jargons | ||
+ | |Word=String | ||
+ | |Description=Wikitext | ||
+ | |Link=URL}} | ||
+ | </noinclude><includeonly> | ||
+ | {{#cargo_store:_table=Jargons | ||
+ | |Word = {{{word}}} | ||
+ | |Description = {{{description}}} | ||
+ | |Link = {{{link}}} | ||
+ | }} | ||
+ | </includeonly> |
2021年7月6日 (火) 22:13時点における最新版
用語集に入れる用語の定義をします。
引数 | 説明 | 型 | 状態 | |
---|---|---|---|---|
単語 | word | 登録したい単語です
| 文字列 | 必須 |
単語の意味 | description | 説明したい内容を簡単に書きます。
| ウィキテキストの一部 | 推奨 |
関連ページ | link | もっと詳しく説明したい場合とかに、このページへ誘導します。まだないページ名でも大丈夫です。
| ページ | 推奨 |
このテンプレートはテーブル「Jargons」を定義します。 View table.