Template:Infobox/testcases
[Wikipedia|▼Menu]
.mw-parser-output .ombox{margin:4px 0;border-collapse:collapse;border:1px solid #a2a9b1;background-color:#f8f9fa;box-sizing:border-box}.mw-parser-output .ombox.mbox-small{font-size:88%;line-height:1.25em}.mw-parser-output .ombox-speedy{border:2px solid #b32424;background-color:#fee7e6}.mw-parser-output .ombox-delete{border:2px solid #b32424}.mw-parser-output .ombox-content{border:1px solid #f28500}.mw-parser-output .ombox-style{border:1px solid #fc3}.mw-parser-output .ombox-move{border:1px solid #9932cc}.mw-parser-output .ombox-protection{border:2px solid #a2a9b1}.mw-parser-output .ombox .mbox-text{border:none;padding:0.25em 0.9em;width:100%;font-size:90%}.mw-parser-output .ombox .mbox-image{border:none;padding:2px 0 2px 0.9em;text-align:center}.mw-parser-output .ombox .mbox-imageright{border:none;padding:2px 0.9em 2px 0;text-align:center}.mw-parser-output .ombox .mbox-empty-cell{border:none;padding:0;width:1px}.mw-parser-output .ombox .mbox-invalid-type{text-align:center}@media(min-width:720px){.mw-parser-output .ombox{margin:4px 10%}.mw-parser-output .ombox.mbox-small{clear:right;float:right;margin:4px 0 4px 1em;width:238px}}

ここは、Template:Infoboxサンドボックス・サブページに対応したテンプレート・テストケースです。
右のボタンをクリックするとテストケースが更新されます。更なる情報とオプションこのページに複雑なテンプレートの使用例を多く記述した場合、MediaWikiの制限によりページの終端部周辺で誤動作を起こす可能性があります。この誤動作が発生した場合、発生したページのソースに追加された「NewPP limit report」というコメントを参照してください。

また、特別:テンプレートを展開でテンプレートの使用結果を実験することも出来ます。このページを表示する外装を変更する:.mw-parser-output .hlist ul,.mw-parser-output .hlist ol{padding-left:0}.mw-parser-output .hlist li,.mw-parser-output .hlist dd,.mw-parser-output .hlist dt{margin-right:0;display:inline-block;white-space:nowrap}.mw-parser-output .hlist dt:after,.mw-parser-output .hlist dd:after,.mw-parser-output .hlist li:after{white-space:normal}.mw-parser-output .hlist li:after,.mw-parser-output .hlist dd:after{content:" ・\a0 ";font-weight:bold}.mw-parser-output .hlist dt:after{content:": "}.mw-parser-output .hlist-pipe dd:after,.mw-parser-output .hlist-pipe li:after{content:" |\a0 ";font-weight:normal}.mw-parser-output .hlist-hyphen dd:after,.mw-parser-output .hlist-hyphen li:after{content:" -\a0 ";font-weight:normal}.mw-parser-output .hlist-comma dd:after,.mw-parser-output .hlist-comma li:after{content:"、";font-weight:normal}.mw-parser-output .hlist-slash dd:after,.mw-parser-output .hlist-slash li:after{content:" /\a0 ";font-weight:normal}.mw-parser-output .hlist dd:last-child:after,.mw-parser-output .hlist dt:last-child:after,.mw-parser-output .hlist li:last-child:after{content:none}.mw-parser-output .hlist dd dd:first-child:before,.mw-parser-output .hlist dd dt:first-child:before,.mw-parser-output .hlist dd li:first-child:before,.mw-parser-output .hlist dt dd:first-child:before,.mw-parser-output .hlist dt dt:first-child:before,.mw-parser-output .hlist dt li:first-child:before,.mw-parser-output .hlist li dd:first-child:before,.mw-parser-output .hlist li dt:first-child:before,.mw-parser-output .hlist li li:first-child:before{content:" (";font-weight:normal}.mw-parser-output .hlist dd dd:last-child:after,.mw-parser-output .hlist dd dt:last-child:after,.mw-parser-output .hlist dd li:last-child:after,.mw-parser-output .hlist dt dd:last-child:after,.mw-parser-output .hlist dt dt:last-child:after,.mw-parser-output .hlist dt li:last-child:after,.mw-parser-output .hlist li dd:last-child:after,.mw-parser-output .hlist li dt:last-child:after,.mw-parser-output .hlist li li:last-child:after{content:")\a0 ";font-weight:normal}.mw-parser-output .hlist ol{counter-reset:listitem}.mw-parser-output .hlist ol>li{counter-increment:listitem}.mw-parser-output .hlist ol>li:before{content:" "counter(listitem)" ";white-space:nowrap}.mw-parser-output .hlist dd ol>li:first-child:before,.mw-parser-output .hlist dt ol>li:first-child:before,.mw-parser-output .hlist li ol>li:first-child:before{content:" ("counter(listitem)" "}

MinervaNeue (モバイル)

モノブック

Timeless

レガシー ベクター (2010年版)

ベクター (2022年版)
テストケース更新テスト
ケース
更新
{{Infobox}}並べて比較{{Infobox}}{{Infobox/sandbox}}{{Infobox2/sandbox}}
<table class="infobox " style="width:22em; " itemref=""></table>'"`UNIQ--templatestyles-00000006-QINU`"'<table class="infobox" style="width:22em;"></table> <table class="infobox" style="width:22em"></table>
{{Infobox|name=Infobox/testcases}}並べて比較{{Infobox}}{{Infobox/sandbox}}{{Infobox2/sandbox}}
<table class="infobox " style="width:22em; " itemref=""><tr class="noprint"><td colspan=2 style="text-align:right; font-size:85%;">[[Template:Infobox/testcases|テンプレートを表示]]</td></tr></table>'"`UNIQ--templatestyles-0000000C-QINU`"'<table class="infobox" style="width:22em;"><tr><td colspan="2" class="infobox-navbar">'"`UNIQ--templatestyles-00000009-QINU`"''"`UNIQ--templatestyles-0000000A-QINU`"'<div class="navbar plainlinks hlist"><span>テンプレートを </span><ul><li class="nv-view">[[Template:Infobox/testcases|<span title="参照先のページを表示します。">表示</span>]]</li></ul></div></td></tr></table> <table class="infobox" style="width:22em"><tr><td colspan="2" style="text-align:right">'"`UNIQ--templatestyles-0000000D-QINU`"''"`UNIQ--templatestyles-0000000E-QINU`"'<div class="navbar plainlinks hlist"><span>テンプレートを </span><ul><li class="nv-view">[[Template:Infobox/testcases|<span title="参照先のページを表示します。">表示</span>]]</li></ul></div></td></tr></table>
並べて比較{{Infobox}}{{Infobox/sandbox}}{{Infobox2/sandbox}}

サミット協会 (上外枠)サミット協会 (上内枠)
小見出し1
小見出し2
1枚目画像の説明
2枚目画像の説明
一般情報
国アメリカ合衆国
場所ノースカロライナ州ローリー・ダーラム
宗派南部バプテスト派
ウェブサイト ⇒www.summitchurch.cc
歴史
設立1961年
聖職者
主任牧師J.D. Greear
末尾
テンプレートを表示
.mw-parser-output .infobox-subbox{padding:0;border:none;margin:-3px;width:auto;min-width:100%;font-size:100%;clear:none;float:none;background-color:transparent}.mw-parser-output .infobox-header,.mw-parser-output .infobox-label,.mw-parser-output .infobox-above,.mw-parser-output .infobox-full-data,.mw-parser-output .infobox-data,.mw-parser-output .infobox-below,.mw-parser-output .infobox-subheader,.mw-parser-output .infobox-image,.mw-parser-output .infobox-navbar,.mw-parser-output .infobox th,.mw-parser-output .infobox td{vertical-align:top}.mw-parser-output .infobox-label,.mw-parser-output .infobox-data,.mw-parser-output .infobox th,.mw-parser-output .infobox td{text-align:left}.mw-parser-output .infobox .infobox-above,.mw-parser-output .infobox .infobox-title,.mw-parser-output .infobox caption{font-size:125%;font-weight:bold;text-align:center}.mw-parser-output .infobox-title,.mw-parser-output .infobox caption{padding:0.2em}.mw-parser-output .infobox .infobox-header,.mw-parser-output .infobox .infobox-subheader,.mw-parser-output .infobox .infobox-image,.mw-parser-output .infobox .infobox-full-data,.mw-parser-output .infobox .infobox-below{text-align:center}.mw-parser-output .infobox .infobox-navbar{text-align:right}

サミット協会 (上外枠)サミット協会 (上内枠)
小見出し1
小見出し2
1枚目画像の説明
2枚目画像の説明
一般情報
国アメリカ合衆国
場所ノースカロライナ州ローリー・ダーラム
宗派南部バプテスト派
ウェブサイト ⇒www.summitchurch.cc
歴史
設立1961年
聖職者
主任牧師J.D. Greear
末尾
.mw-parser-output .navbar{display:inline;font-size:75%;font-weight:normal}.mw-parser-output .navbar-collapse{float:left;text-align:left}.mw-parser-output .navbar-boxtext{word-spacing:0}.mw-parser-output .navbar ul{display:inline-block;white-space:nowrap;line-height:inherit}.mw-parser-output .navbar-brackets::before{margin-right:-0.125em;content:"[ "}.mw-parser-output .navbar-brackets::after{margin-left:-0.125em;content:" ]"}.mw-parser-output .navbar li{word-spacing:-0.125em}.mw-parser-output .navbar-mini abbr{font-variant:small-caps;border-bottom:none;text-decoration:none;cursor:inherit}.mw-parser-output .navbar-ct-full{font-size:114%;margin:0 7em}.mw-parser-output .navbar-ct-mini{font-size:114%;margin:0 4em}.mw-parser-output .infobox .navbar{font-size:88%}.mw-parser-output .navbox .navbar{display:block;font-size:88%}.mw-parser-output .navbox-title .navbar{float:left;text-align:left;margin-right:0.5em}テンプレートを

表示

サミット協会 (上外枠)サミット協会 (上内枠)
小見出し1
小見出し2
1枚目画像の説明
2枚目画像の説明
一般情報
国アメリカ合衆国
場所ノースカロライナ州ローリー・ダーラム
宗派南部バプテスト派
ウェブサイト ⇒www.summitchurch.cc
歴史
設立1961年
聖職者
主任牧師J.D. Greear
末尾
テンプレートを

表示



child=yes の設定時並べて比較{{Infobox}}{{Infobox/sandbox}}{{Infobox2/sandbox}}

主題1
主題2
主題3
副題3-1
副題3-2
項目3-3項目3-3
主題4
項目4-1内容4-1
主題5

主題1
主題2
主題3
副題3-1
副題3-2
項目3-3項目3-3

主題4
項目4-1内容4-1

主題5

主題1
主題2
主題3
副題3-1
副題3-2
項目3-3項目3-3

主題4
項目4-1内容4-1

主題5


subbox=yes の設定時{{Infobox。headerstyle = background-color:#eee;。labelstyle = background-color:#eee;。header1 = 主題1。header2 = 主題2。data3 = {{Infobox|subbox=yes 。headerstyle = background-color:#ccc; 。labelstyle = background-color:#ddd; 。header1 = 副題3-1 。header2 = 副題3-2 。label3 = 項目3-3 。data3 = 内容3-3}}。data4 = {{Infobox|subbox=yes 。labelstyle = background-color:#ccc; 。label1 = Label 4-1 。data1 = Data 4-1}}。label5 = 項目5。data5 = 内容5。header6 = 主題6}}並べて比較{{Infobox}}{{Infobox/sandbox}}{{Infobox2/sandbox}}


次ページ
記事の検索
おまかせリスト
▼オプションを表示
ブックマーク登録
mixiチェック!
Twitterに投稿
オプション/リンク一覧
話題のニュース
列車運行情報
暇つぶしWikipedia

Size:37 KB
出典: フリー百科事典『ウィキペディア(Wikipedia)
担当:undef