Difference between revisions of "Template:Navbox subgroup"
Jump to navigation
Jump to search
(Created page with "{{Navbox |name = {{{name|}}} |state = {{{state|}}} |navbar = {{{navbar|}}} |border = {{#if:{{{border|}}}|{{{border}}}|child}} |title = {{{title|}}} |above = {{{above|}}} |below ...") |
Little Owl (talk | contribs) (Repaired conditions.) |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 54: | Line 54: | ||
|list20 = {{{list20|}}} | |list20 = {{{list20|}}} | ||
|style = {{{style|}}}{{{bodystyle|}}} | |style = margin: 0 -0.25em; {{{style|}}}{{{bodystyle|}}} | ||
|imageleftstyle = {{{imageleftstyle|}}} | |imageleftstyle = {{{imageleftstyle|}}} | ||
|imagestyle = {{{imagestyle|}}} | |imagestyle = {{{imagestyle|}}} | ||
| Line 108: | Line 108: | ||
|list20style = {{{list20style|}}} | |list20style = {{{list20style|}}} | ||
|{{#if:{{{evenodd|}}}|evenodd | |{{#if:{{{evenodd|}}}|evenodd = {{{evenodd}}}}} | ||
|{{#if:{{{listpadding|}}}|listpadding | |{{#if:{{{listpadding|}}}|listpadding = {{{listpadding}}}}} | ||
}}<noinclude> | }}<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 | ||
< | | group1 = | ||
</noinclude> | | list1 = | ||
| group2 = | |||
| list2 = | |||
| group3 = | |||
| list3 = | |||
}}</pre> | |||
Example: | |||
<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> | |||
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> | |||
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:
| |||||||||||||||||||