Difference between revisions of "Template:Catalog2"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
|{{#ifexpr:{{#var:totalTerms}}<6|{{#var:totalTerms}}|6}} | |{{#ifexpr:{{#var:totalTerms}}<6|{{#var:totalTerms}}|6}} | ||
}} | }} | ||
}}<!--column define ends, table generation begins-->{|{{#ifeq:{{{collapsed|}}}|true|class="wikitable mw-collapsible mw-collapsed"|class="wikitable mw-collapsible"}} style="text-align:center;" | }}<!--column define ends, table generation begins-->{|{{#ifeq:{{{collapsed|}}}|true|class="wikitable mw-collapsible mw-collapsed"|class="wikitable mw-collapsible"}} style="text-align:{{{align|center}}};" | ||
!colspan={{#var:columns}}|{{Flavor text|{{{flavor|}}}}} {{{title|Members}}} | !colspan={{#var:columns}}|{{Flavor text|{{{flavor|}}}}} {{{title|Members}}} | ||
|- | |- |
Latest revision as of 14:03, 26 August 2019
Usage
{{Template:Catalog2 |title= |flavor= |align= (default=center) |<item 1> |<item 2> |<item ...> }} ==Examples== '''Example''' <pre>{{Template:Catalog2|title=Otemachi Genociders|flavor=ジェノサイダーズ |{{Team member|Arc|flavor=Guild Master}} |{{Team member|Babalon}} |{{Team member|Surtr}} |{{Team member|Azathoth}} }}
【ジェノサイダーズ】 Otemachi Genociders | |||
---|---|---|---|
Many terms unspecified/specified columns
{{Template:Catalog2|title=Group|a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p}} {{Template:Catalog2|title=Group|columns=3|align=left|a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p}}
Group | |||||
---|---|---|---|---|---|
a | b | c | d | e | f |
g | h | i | j | k | l |
m | n | o | p |
Group | ||
---|---|---|
a | b | c |
d | e | f |
g | h | i |
j | k | l |
m | n | o |
p |
~6-term unspecified columns
{{Template:Catalog2|1|2|3|4|5}} {{Template:Catalog2|1|2|3|4|5|6}} {{Template:Catalog2|1|2|3|4|5|6|7}}
Members | ||||
---|---|---|---|---|
1 | 2 | 3 | 4 | 5 |
Members | |||||
---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 |
Members | |||||
---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 |
7 |
~6-term specified columns
{{Template:Catalog2|columns=2|1|2|3|4|5}} {{Template:Catalog2|columns=2|1|2|3|4|5|6}} {{Template:Catalog2|columns=2|1|2|3|4|5|6|7}}
Members | |
---|---|
1 | 2 |
3 | 4 |
5 |
Members | |
---|---|
1 | 2 |
3 | 4 |
5 | 6 |
Members | |
---|---|
1 | 2 |
3 | 4 |
5 | 6 |
7 |
Few terms unspecified columns
{{Template:Catalog2|1|2}} {{Template:Catalog2|1|2|3}} {{Template:Catalog2|1|2|3|4}} {{Template:Catalog2|1|2|3|4|5}}
Members | |
---|---|
1 | 2 |
Members | ||
---|---|---|
1 | 2 | 3 |
Members | |||
---|---|---|---|
1 | 2 | 3 | 4 |
Members | ||||
---|---|---|---|---|
1 | 2 | 3 | 4 | 5 |
Few terms specified columns
{{Template:Catalog2|columns=2|1|2}} {{Template:Catalog2|columns=2|1|2|3}} {{Template:Catalog2|columns=2|1|2|3|4}} {{Template:Catalog2|columns=2|1|2|3|4|5}} {{Template:Catalog2|columns=3|1|2}} {{Template:Catalog2|columns=3|1|2|3}} {{Template:Catalog2|columns=3|1|2|3|4}} {{Template:Catalog2|columns=3|1|2|3|4|5}}
Members | |
---|---|
1 | 2 |
Members | |
---|---|
1 | 2 |
3 |
Members | |
---|---|
1 | 2 |
3 | 4 |
Members | |
---|---|
1 | 2 |
3 | 4 |
5 |
Members | |
---|---|
1 | 2 |
Members | ||
---|---|---|
1 | 2 | 3 |
Members | ||
---|---|---|
1 | 2 | 3 |
4 |
Members | ||
---|---|---|
1 | 2 | 3 |
4 | 5 |
The above documentation is transcluded from Template:Catalog2/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |