「テンプレート:Infobox character」の版間の差分
提供: 3代目クッキー☆解説Wiki
LogicalBloom (トーク | 投稿記録) ページの作成:「<table class="infobox-character"> {{#if: {{{名前|}}} | ! colspan="2" class="infobox-character-name" | {{{名前}}} }} {{#if: {{{画像|}}} | |- ! colspan="2" class="infobox-character-image" | [[ファイル:{{{画像}}}|250px]] }} {{#if: {{{読み|}}} | |- ! 読み | {{{読み}}} }} {{#if: {{{別名|}}} | |- ! 別名 | {{{別名}}} }} {{#if: {{{所属|}}} | |- ! 所属 | {{{所属}}} }} {{#if: {{{担当キャラ|}}} | |- ! 主な担当キャラ | {{{担当キャ…」 |
細 使用MMDモデル |
||
(同じ利用者による、間の2版が非表示) | |||
1行目: | 1行目: | ||
<table class=" | <includeonly> | ||
{{#if: {{{名前|}}} | | <table class="wikitable" style="float:right; margin-left:1em; width:320px; font-size:90%; border:1px solid #a2a9b1;"> | ||
{{#if: {{{名前|}}} | | |||
<tr> | |||
<th colspan="2" class="infobox character-name" style="background-color:#e6e6fa; font-size:125%; text-align:center;">{{{名前}}}</th> | |||
</tr> | |||
}} | }} | ||
{{#if: {{{画像|}}} | | {{#if: {{{画像|}}} | | ||
<tr> | |||
<th colspan="2" class="infobox character-image" style="text-align:center;">[[File:{{{画像}}}|250px]]</th> | |||
</tr> | |||
}} | }} | ||
{{#if: {{{読み|}}} | | {{#if: {{{読み|}}} | | ||
<tr> | |||
<th>読み</th> | |||
<td>{{{読み}}}</td> | |||
</tr> | |||
}} | }} | ||
{{#if: {{{別名|}}} | | {{#if: {{{別名|}}} | | ||
<tr> | |||
<th>別名</th> | |||
<td>{{{別名}}}</td> | |||
</tr> | |||
}} | }} | ||
{{#if: {{{所属|}}} | | {{#if: {{{所属|}}} | | ||
<tr> | |||
<th>所属</th> | |||
<td>{{{所属}}}</td> | |||
</tr> | |||
}} | }} | ||
{{#if: {{{担当キャラ|}}} | | {{#if: {{{担当キャラ|}}} | | ||
<tr> | |||
<th>主な担当キャラ</th> | |||
<td>{{{担当キャラ}}}</td> | |||
</tr> | |||
}} | }} | ||
{{#if: {{{ | {{#if: {{{使用MMDモデル|}}} | | ||
<tr> | |||
<th>使用MMDモデル</th> | |||
<td>{{{使用MMDモデル}}}</td> | |||
</tr> | |||
}} | }} | ||
</table><templatedata> | {{#if: {{{概要|}}} | | ||
<tr> | |||
<th colspan="2" style="text-align:center;">{{{概要}}}</th> | |||
</tr> | |||
}} | |||
</table> | |||
</includeonly> | |||
<noinclude> | |||
== 説明 == | |||
キャラクターのプロフィール情報を表示するための情報ボックス。キャラクターの名前、画像、読み、別名、所属、担当キャラ、使用MMDモデル、概要を表示します。 | |||
== コピペ用 == | |||
<pre> | |||
{{Infobox character | |||
| 名前 = | |||
| 画像 = | |||
| 読み = | |||
| 別名 = | |||
| 所属 = | |||
| 担当キャラ = | |||
| 使用MMDモデル = | |||
| 概要 = | |||
}} | |||
</pre> | |||
== テンプレートパラメーター == | |||
<templatedata> | |||
{ | { | ||
"params": { | |||
"名前": { | |||
"label": "名前", | |||
"description": "キャラクターの正式な名前", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"画像": { | |||
"label": "画像", | |||
"description": "表示する画像ファイル名(例: MGR.png)", | |||
"type": "wiki-file-name", | |||
"suggested": true | |||
}, | |||
"読み": { | |||
"label": "読み", | |||
"description": "名前の読みがな", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"別名": { | |||
"label": "別名", | |||
"description": "通称やニックネーム", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"所属": { | |||
"label": "所属", | |||
"description": "関連する作品名やグループ", | |||
"type": "wiki-page-name", | |||
"suggested": true | |||
}, | |||
"担当キャラ": { | |||
"label": "主な担当キャラ", | |||
"description": "演じたキャラクター名", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"使用MMDモデル": { | |||
"label": "使用MMDモデル", | |||
"description": "よく使われるMMDモデル", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"概要": { | |||
"label": "概要", | |||
"description": "キャラクターについての短い概要文", | |||
"type": "string", | |||
"suggested": true | |||
} | |||
}, | |||
"description": "キャラクターのプロフィール情報を表示するための情報ボックスです。", | |||
"format": "block" | |||
} | } | ||
</templatedata> | </templatedata> | ||
[[カテゴリ:テンプレート]] | |||
</noinclude> |
2025年7月6日 (日) 01:20時点における最新版
説明[ソースを編集]
キャラクターのプロフィール情報を表示するための情報ボックス。キャラクターの名前、画像、読み、別名、所属、担当キャラ、使用MMDモデル、概要を表示します。
コピペ用[ソースを編集]
{{Infobox character | 名前 = | 画像 = | 読み = | 別名 = | 所属 = | 担当キャラ = | 使用MMDモデル = | 概要 = }}
テンプレートパラメーター[ソースを編集]
キャラクターのプロフィール情報を表示するための情報ボックスです。
パラメーター | 説明 | 型 | 状態 | |
---|---|---|---|---|
名前 | 名前 | キャラクターの正式な名前 | 文字列 | 必須 |
画像 | 画像 | 表示する画像ファイル名(例: MGR.png) | ファイル | 推奨 |
読み | 読み | 名前の読みがな | 文字列 | 推奨 |
別名 | 別名 | 通称やニックネーム | 文字列 | 推奨 |
所属 | 所属 | 関連する作品名やグループ | ページ名 | 推奨 |
主な担当キャラ | 担当キャラ | 演じたキャラクター名 | 文字列 | 推奨 |
使用MMDモデル | 使用MMDモデル | よく使われるMMDモデル | 文字列 | 推奨 |
概要 | 概要 | キャラクターについての短い概要文 | 文字列 | 推奨 |