「テンプレート:Infobox animanga/Header」の版間の差分

提供: miniwiki
移動先:案内検索
(1版 をインポートしました)
 
4行目: 4行目:
 
{| class="infobox bordered"
 
{| class="infobox bordered"
 
!colspan="2" style="background-color:#ccf; text-align:center;"|{{{name|{{{タイトル|{{PAGENAME}}}}}}}}
 
!colspan="2" style="background-color:#ccf; text-align:center;"|{{{name|{{{タイトル|{{PAGENAME}}}}}}}}
{{#if:{{{image|{{{画像|}}}}}}|<tr><td colspan="2" style="background-color:#fff; text-align:center">{{Image2|{{{image|{{{画像}}}}}}|{{{サイズ|300px}}}}}<br /><div style="padding:0.5em; margin-left:auto; margin-right:auto; max-width:{{{サイズ|300px}}};">{{{説明|}}}</div></td></tr>[[Category:Infobox animanga/画像表示]]}}
 
 
|-
 
|-
 
{{#if:{{{genre|{{{ジャンル|}}}}}}|!style="background:#e6e9ff"{{!}}ジャンル
 
{{#if:{{{genre|{{{ジャンル|}}}}}}|!style="background:#e6e9ff"{{!}}ジャンル

2018/8/6/ (月) 08:48時点における最新版

使用方法はTemplate:Infobox animangaを参照。
Infobox animanga/Header

TemplateData

これは新しいビジュアルエディターにより使用されるテンプレートのためのTemplateData文書です。

Infobox animanga

<templatedata> { "description": "エラー:このテンプレートは実際に使用するInfoboxではありません。使用方法はTemplate:Infobox animangaをご覧ください。テンプレート群の共通ヘッダー。", "params": { "タイトル": { "label": "タイトル", "description": "", "type": "string", "default": "Infobox animanga/Header", "aliases": ["name"], "required": false }, "画像": { "label": "画像", "description": "", "type": "content", "aliases": ["image"], "required": false }, "サイズ": { "label": "サイズ", "description": "", "type": "string", "default": "250px", "required": false }, "説明": { "label": "説明", "description": "", "type": "string", "required": false }, "ジャンル": { "label": "ジャンル", "description": "", "type": "string", "aliases": ["genre"], "required": false } } } </templatedata>