Template talk:Groups

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Navigation sometimes visible, sometines not[edit]

Hi @Joshbaumgartner: Can you explain, why the navigation is sometimes visible, sometines not!? Thx a alot! Regards --W like wiki good to know 23:00, 2 February 2024 (UTC)[reply]

Example 1: With or without parameter "qty"[edit]

{{Groups|flags|8}} renders with navigation:

Flags by quantity: 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 15 - 16 - 25 - 27 - 28 - many

{{Groups|flags}} not:

Example 2: flags vs. bricks as parameter "entities"[edit]

{{Groups|flags|8}}, {{Groups|horses|7}}, {{Groups|doors|6}} renders with navigation:

Flags by quantity: 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 15 - 16 - 25 - 27 - 28 - many
Horses by quantity: 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - many
Doors by quantity: 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 10 - many

{{Groups|bricks|7}}, {{Groups|benches in Baden-Württemberg|3}}, {{Groups|Strawberries|5}} not:

Parameter "entities"[edit]

Required?[edit]

Hello again:) Question: Is the Parameter entities really required? Maybe not, when there are possible syntax like {{Groups||2|4}}. Or did I understand sthg wrong? Regards --W like wiki good to know 23:23, 2 February 2024 (UTC)[reply]

Parent category[edit]

Why {{Groups|Flags}} adds the SAME category Flags:

Categories: Flags | Groups of symbols

And {{Groups|Plants}} adds NOT Plants but Plants by setting:

Categories: Plants by setting | Groups of organisms

And more confusing: {{Groups|Plants|5}} adds Plants by quantity:

Plants by quantity: 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 16 - 21 - 29 - many

Categories: Plants by quantity | 5 organisms

And how can we change the parent category? (e.g. {{groups|male organisms}} in Category:Groups of male organisms generates Groups of organisms as parent cat. How can we change it to Groups of organisms by gender? Will there be a new parameter for it or a how-to-explanation on the doc-page? Thx and best Regards --W like wiki good to know 23:19, 3 February 2024 (UTC)[reply]

Test mode?[edit]

The demonstrations in the template documentation are currently placing {{Groups}} into a bunch of inappropriate categories, including Category:Flags, Category:7 people, Category:Groups of groups by size, etc. Can you please update the template such that its use in the documentation doesn't categorize the template itself? Omphalographer (talk) 06:02, 4 February 2024 (UTC)[reply]

Hi @Omphalographer: It was me who added the examples to make the complex template more understandable for users. Your point I think could be managed with <includeonly></includeonly> or <noinclude></noinclude>, <onlyinclude></onlyinclude> but I can't use them propperly, sorry! I am sure someone else have the knowledge, maybe Joshbaumgartner. Best Regards --W like wiki good to know 15:17, 4 February 2024 (UTC)[reply]