Difference between revisions of "Template:Navbox subgroup"
Jump to navigation
Jump to search
Line 111: | Line 111: | ||
|{{#if:{{{listpadding|}}}|listpadding|void}} = {{{listpadding|}}} | |{{#if:{{{listpadding|}}}|listpadding|void}} = {{{listpadding|}}} | ||
}}<noinclude>{{Usage|1=This is a metatemplate for constructing | }}<noinclude>{{Usage|1=This is a metatemplate for constructing subgroups within a {{tl|Navbox}}. The format for using this template is as follows:<br /> | ||
<pre>{{Navbox subgroup | <pre>{{Navbox subgroup | ||
| group1 = | |||
| list1 = | |||
| | | group2 = | ||
| | | list2 = | ||
| | | group3 = | ||
| | | list3 = | ||
}}</pre> | |||
| group3 = | Example: | ||
| list3 = | |||
<pre>{{Navbox | |||
| name = Sonichu | |||
| title = ''[[Sonichu (comic)|Sonichu]]'' | |||
| group1 = Issues | |||
| list1 = {{Navbox subgroup | |||
| group1 = Standard | |||
| list1 = [[Sonichu 0|#0]]{{•}} [[Sonichu 1|#1]] | |||
| group2 = Special | |||
| list2 = [[Sonichu Special 1|#1]]{{•}} [[Wedding Comic|#2]] | |||
}} | |||
| group2 = [[List of Sonichu characters|Characters]] | |||
| list2 = {{Navbox subgroup | |||
| group1 = Protagonists | |||
| list1 = [[Sonichu (character)|Sonichu]] ([[Ultra Sonichu]]{{•}} [[Metonic]]) | |||
| group2 = Villains | |||
| list2 = [[Count Graduon]]{{•}} [[Mary Lee Walsh]] | |||
| group3 = Minor | |||
| list3 = [[Allison Amber]]{{•}} [[Bionic the Hedgehog|Bionic]] | |||
}} | |||
| group3 = Locations | |||
| list3 = [[CWCville]]{{•}} [[RuleCWC]] | |||
}}</pre> | }}</pre> | ||
Output: | |||
{{Navbox | |||
| name = Sonichu | |||
| title = ''[[Sonichu (comic)|Sonichu]]'' | |||
| group1 = Issues | |||
| list1 = {{Navbox subgroup | |||
| group1 = Standard | |||
| list1 = [[Sonichu 0|#0]]{{•}} [[Sonichu 1|#1]] | |||
| group2 = Special | |||
| list2 = [[Sonichu Special 1|#1]]{{•}} [[Wedding Comic|#2]] | |||
}} | |||
| group2 = [[List of Sonichu characters|Characters]] | |||
| list2 = {{Navbox subgroup | |||
| group1 = Protagonists | |||
| list1 = [[Sonichu (character)|Sonichu]] ([[Ultra Sonichu]]{{•}} [[Metonic]]) | |||
| group2 = Villains | |||
| list2 = [[Count Graduon]]{{•}} [[Mary Lee Walsh]] | |||
| group3 = Minor | |||
| list3 = [[Allison Amber]]{{•}} [[Bionic the Hedgehog|Bionic]] | |||
}} | |||
| group3 = Locations | |||
| list3 = [[CWCville]]{{•}} [[RuleCWC]] | |||
}} | |||
}} | |||
[[Category:Metatemplates|{{PAGENAME}}]]</noinclude> | [[Category:Metatemplates|{{PAGENAME}}]]</noinclude> |
Revision as of 22:05, 12 July 2012
Usage
These usage notes will not be included in articles bearing this template.
This is a metatemplate for constructing subgroups within a {{Navbox}} (Usage). The format for using this template is as follows:
{{Navbox subgroup | group1 = | list1 = | group2 = | list2 = | group3 = | list3 = }}
Example:
{{Navbox | name = Sonichu | title = ''[[Sonichu (comic)|Sonichu]]'' | group1 = Issues | list1 = {{Navbox subgroup | group1 = Standard | list1 = [[Sonichu 0|#0]]{{•}} [[Sonichu 1|#1]] | group2 = Special | list2 = [[Sonichu Special 1|#1]]{{•}} [[Wedding Comic|#2]] }} | group2 = [[List of Sonichu characters|Characters]] | list2 = {{Navbox subgroup | group1 = Protagonists | list1 = [[Sonichu (character)|Sonichu]] ([[Ultra Sonichu]]{{•}} [[Metonic]]) | group2 = Villains | list2 = [[Count Graduon]]{{•}} [[Mary Lee Walsh]] | group3 = Minor | list3 = [[Allison Amber]]{{•}} [[Bionic the Hedgehog|Bionic]] }} | group3 = Locations | list3 = [[CWCville]]{{•}} [[RuleCWC]] }}
Output:
|