コンテンツにスキップ

英文维基 | 中文维基 | 日文维基 | 草榴社区

Template:Navbox with columns/testcases

Basic tests

[編集]

Row/colspan

[編集]
|_output=nowiki+, |_format=rows, |_style=font-size:85%
{{Navbox with columns}}
<div class="navbox" aria-labelledby="Row/colspan_tests" style="border-collapse:collapse;padding:3px"><table class="nowraplinks mw-collapsible uncollapsed navbox-inner" style="background:transparent;color:inherit;min-width:100%;border-spacing:0px;border-collapse:separate"><tr><th scope="col" class="navbox-title" colspan="2"><div style="float:left;width:6em;text-align:left"><div class="noprint plainlinks navbar hlist" style="white-space:nowrap;font-size:60%;font-weight:normal;background-color:transparent;padding:0;color:#000;;border:none;"><ul style="display:inline"><li>[[Template:Navbox with columns/testcases|<span title="このテンプレートを表示します" style="font-size:125%;;;border:none;">表</span>]]</li><li>[[Template‐ノート:Navbox with columns/testcases|<span title="このテンプレートのノートを表示します" style="font-size:125%;color:#002bb8;;;border:none;">話</span>]]</li><li>[https://ja-two.iwiki.icu/w/index.php?title=Template%3ANavbox_with_columns%2Ftestcases&action=edit <span title="このテンプレートを編集します。保存の前にプレビューを忘れずに。" style="font-size:125%;color:#002bb8;;;border:none;">編</span>]</li><li>[https://ja-two.iwiki.icu/w/index.php?title=Template%3ANavbox_with_columns%2Ftestcases&action=history <span title="このテンプレートの過去の版を表示します" style="font-size:125%;color:#002bb8;;;border:none;">歴</span>]</li></ul></div></div><div id="Row/colspan_tests" style="font-size:110%;margin:0 6em">Row/colspan tests</div></th></tr><tr><td colspan="2" class="navbox-list navbox-odd" style="width:100%;padding:0px"><div style="padding:0em 0.25em"></div><table class="navbox-columns-table" style="border-spacing:0px;border-collapse:separate;text-align:left;width:100%;"><tr class="navbox-abovebelow" style="font-weight:bold"><td colspan="2">Col1Header</td><td colspan="1">Col2Header2</td><td colspan="1">Col3Header</td><td colspan="3">Col4Header</td><td colspan="1">Col5Header2</td><td colspan="1">Col6Header2</td><td colspan="1">Col7Header</td><td colspan="1">Col8Header</td><td colspan="1">Col9Header</td><td colspan="1">Col10Header</td><td colspan="1">Col11Header</td><td colspan="3">Col12Header</td></tr><tr style="vertical-align:top;text-align:center;background:silver;"><td style="padding:0;width:12%">
Col1</td><td style="padding:0;width:13%">
Col2</td><td style="padding:0;width:15%">
Col3</td><td style="padding:0;width:15%">
Col4</td><td style="padding:0;width:15%">
Col5</td><td style="padding:0;width:15%">
Col6</td><td style="padding:0;width:15%">
Col7</td><td style="padding:0;width:15%">
Col8</td><td style="padding:0;width:15%">
Col9</td><td style="padding:0;width:15%">
Col10</td><td style="padding:0;width:15%">
Col11</td><td style="padding:0;width:15%">
Col12</td></tr></table><div>
</div></td></tr></table></div>
{{Navbox with columns/sandbox}}
<div class="navbox-styles">'"`UNIQ--templatestyles-00000008-QINU`"''"`UNIQ--templatestyles-00000006-QINU`"'</div><div role="navigation" class="navbox" aria-labelledby="Row/colspan_tests" style="padding:3px"><table class="nowraplinks mw-collapsible uncollapsed navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tr><th scope="col" class="navbox-title" colspan="2">'"`UNIQ--templatestyles-00000009-QINU`"''"`UNIQ--templatestyles-0000000A-QINU`"'<div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view">[[Template:Navbox with columns/testcases|<abbr title="参照先のページを表示します。">表</abbr>]]</li><li class="nv-talk">[[Template‐ノート:Navbox with columns/testcases|<abbr title="参照先のノートを表示します。">話</abbr>]]</li><li class="nv-edit">[[Special:EditPage/Template:Navbox with columns/testcases|<abbr title="参照先のページを編集します。">編</abbr>]]</li><li class="nv-hist">[[Special:PageHistory/Template:Navbox with columns/testcases|<abbr title="参照先のページの履歴を表示します。">歴</abbr>]]</li></ul></div><div id="Row/colspan_tests" style="font-size:110%;margin:0 6em">Row/colspan tests</div></th></tr><tr><td colspan="2" class="navbox-list navbox-odd" style="width:100%;padding:0;background:transparent;color:inherit;"><div style="padding:0px"><table class="navbox-columns-table" style="border-spacing:0px;text-align:left;width:100%"><tr><td class="navbox-abovebelow" colspan="2" style="font-weight:bold">Col1Header</td><td class="navbox-abovebelow" style="border-left:2px solid #fdfdfd;font-weight:bold">Col3Header</td><td class="navbox-abovebelow" colspan="3" style="border-left:2px solid #fdfdfd;font-weight:bold">Col4Header</td><td class="navbox-abovebelow" style="border-left:2px solid #fdfdfd;font-weight:bold">Col7Header</td><td class="navbox-abovebelow" style="border-left:2px solid #fdfdfd;font-weight:bold">Col8Header</td><td class="navbox-abovebelow" style="border-left:2px solid #fdfdfd;font-weight:bold">Col9Header</td><td class="navbox-abovebelow" style="border-left:2px solid #fdfdfd;font-weight:bold">Col10Header</td><td class="navbox-abovebelow" style="border-left:2px solid #fdfdfd;font-weight:bold">Col11Header</td><td class="navbox-abovebelow" colspan="3" style="border-left:2px solid #fdfdfd;font-weight:bold">Col12Header</td></tr><tr style="vertical-align:top"><td class="navbox-list" style="padding:0px;text-align:center;background:silver;;width:12%"><div>
Col1
</div></td><td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;text-align:center;background:silver;;width:13%"><div>
Col2
</div></td><td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;text-align:center;background:silver;;width:15%"><div>
Col3
</div></td><td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;text-align:center;background:silver;;width:15%"><div>
Col4
</div></td><td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;text-align:center;background:silver;;width:15%"><div>
Col5
</div></td><td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;text-align:center;background:silver;;width:15%"><div>
Col6
</div></td><td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;text-align:center;background:silver;;width:15%"><div>
Col7
</div></td><td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;text-align:center;background:silver;;width:15%"><div>
Col8
</div></td><td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;text-align:center;background:silver;;width:15%"><div>
Col9
</div></td><td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;text-align:center;background:silver;;width:15%"><div>
Col10
</div></td><td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;text-align:center;background:silver;;width:15%"><div>
Col11
</div></td><td class="navbox-list" style="border-left:2px solid #fdfdfd;padding:0px;text-align:center;background:silver;;width:15%"><div>
Col12
</div></td></tr></table></div></td></tr></table></div>

Subgroups with nesting

[編集]

{{Navbox with columns}}

{{Navbox with columns/sandbox}}

Subgroups with in-line nesting

[編集]

{{Navbox with columns}}

{{Navbox with columns/sandbox}}

More realistic tests

[編集]

US Governors

[編集]

{{Navbox with columns}}

{{Navbox with columns/sandbox}}

Czech lands

[編集]

{{Navbox with columns}}

{{Navbox with columns/sandbox}}

Singapore Armed Forces

[編集]

{{Navbox with columns}}

{{Navbox with columns/sandbox}}

Plastics

[編集]

{{Navbox with columns}}

{{Navbox with columns/sandbox}}

Slavic-speaking

[編集]

{{Navbox with columns}}

{{Navbox with columns/sandbox}}