「テンプレート:用語」の版間の差分

提供: 聖城wiki2.0
ナビゲーションに移動 検索に移動
 
(他の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}}}]]

用語集に入れる用語の定義をします。

テンプレート引数

引数説明状態
単語word

登録したい単語です

王子
文字列必須
単語の意味description

説明したい内容を簡単に書きます。

主人公(ユーディル)のこと。
ウィキテキストの一部推奨
関連ページlink

もっと詳しく説明したい場合とかに、このページへ誘導します。まだないページ名でも大丈夫です。

ユーディル
ページ推奨

このテンプレートはテーブル「Jargons」を定義します。 View table.