Difference between revisions of "Template:Navbox subgroup"
Jump to navigation
Jump to search
Little Owl (talk | contribs) (Repaired conditions.) |
|||
(One intermediate revision by one other user not shown) | |||
Line 108: | Line 108: | ||
|list20style = {{{list20style|}}} | |list20style = {{{list20style|}}} | ||
|{{#if:{{{evenodd|}}}|evenodd | |{{#if:{{{evenodd|}}}|evenodd = {{{evenodd}}}}} | ||
|{{#if:{{{listpadding|}}}|listpadding | |{{#if:{{{listpadding|}}}|listpadding = {{{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> |
Latest revision as of 15:50, 29 May 2019
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:
|