This template was considered for deletion on 2016 November 6. The result of the discussion was "Keep". |
See the discussion at WP:Lua/To do. Jarble ( talk) 05:22, 19 June 2015 (UTC)
{{
World topic}}, as used in
World, links to dab page
Palestine rather than article
State of Palestine. Changing
Module:World topic to Palestine = {"State of Palestine"},
would fix it but remove
Music of Palestine from {{
Music topics}}. I could add a redirect from
Music of State of Palestine but we wouldn't want that linked from articles like
History of music in the biblical period and other topics will be similarly affected. Suggestions please!
Certes (
talk) 14:28, 28 June 2020 (UTC)
For the use of this template at Labor_rights#External_links, we're running into issues, because it's missing articles like Labour rights in New Zealand, which uses the British spelling. Could we make this template more flexible so that it can handle this (or, if that flexibility already exists somehow, document it)? {{u| Sdkb}} talk 23:34, 29 November 2020 (UTC)
The entry for Libya links to Parliament of Libya, a disambiguation page. It should link to House of Representatives (Libya), the country's current legislature. — ShelfSkewed Talk 14:40, 17 September 2022 (UTC)
The world topic of 'banking' has |noredlinks=yes
passed in, but shows a redlink for
Banking in the World.
Banking in the United States#Further reading is where I noticed this.
SWinxy (
talk) 23:45, 21 September 2022 (UTC)
I've enhanced
Module:World topic/sandbox to vary national links using parameters of the form |link_United_States=American Foo
. Would anyone like to check this over before I put it live? New template {{
Football in the World}} shows an example of its use: the Canada and U.S. links work only with the sandbox version. I've also taken the opportunity to refactor the relevant function, which is now called links().
Certes (
talk) 21:20, 3 December 2022 (UTC)
args
. The module controls the list of countries but it has no control over the args. Looping over the args causes all the args to be expanded (even if they are otherwise not used). Some side effects of your choice (besides the args expansions) include |link_United States=
being an alias for |link_United_States=
and that |link_=
, |link__=
, |link_xyzzy=
causes (unused) entries in override''], override' '], override'xyzzy'
to exist. Another minor issue is if both |link_United States=
and |link_United_States=
are given, there is no way to know which will actually be used as the traversal order over args
is not fixed (and whichever is last will write over the earlier one). It seems to me it would have made more sense to use the country codes as the parameter names as is done in other topic templates like {{
Europe topic}}
, where one can override the link for Spain with |ES=
(including specifying it empty to have the link removed). —
Uzume (
talk) 15:13, 28 May 2023 (UTC)
|link_*=
so, with a simple change there, the topic change needn't be backwards compatible.
Certes (
talk) 15:29, 28 May 2023 (UTC)
|US=
into "United States", which is why the module is how it is. I don't think looping through the args and expanding them all is a major performance problem: even a relatively complicated call like the football one passes only five args.
Certes (
talk) 18:25, 28 May 2023 (UTC)I tried to include an image in this template using the "image" parameter:
But then the image doesn't appear. The template's documentation doesn't explain how this parameter should be used; does it still work as intended? Jarble ( talk) 19:20, 7 December 2022 (UTC)
I've seen templates like this one that show lists of countries grouped by continent. I'd like to refactor some of these templates using the "World topic" template; does it have an option to group the countries this way? Jarble ( talk) 23:41, 9 December 2022 (UTC)
{{
Asia topic}}
but you cannot accomplish that via |1=
but rather via |border=
. {{
Navbox}}
does allow one to use |1=
as an alias for |border=
and although {{
Asia topic}}
passes |border=
through it also uses |1=
for something else.@ Uzume and Certes: When I try to use a suffix with this template, it adds the suffix to the previous word without spaces between the words:
Is there an option to add a space to the suffix (and omit the space from the prefix) so that these page titles display correctly? Jarble ( talk) 15:33, 14 June 2023 (UTC)
|suffix= relations
.
Certes (
talk) 19:18, 8 July 2023 (UTC)As noted above at #Dealing with spelling variations, redirects are used in some cases, but in the case of category redirects they are not resolved automatically. E.g. see the link to Thailand at the end of List of strikes.
Please can {{ resolve category redirect}} be applied if the prefix starts with :Category ? – Fayenatic London 09:22, 22 August 2023 (UTC)
On the page Intangible cultural heritage, this template is used:
The articles Intangible Cultural Heritage of Indonesia and Intangible Cultural Heritage of Ukraine are not added to the template, as the phrase "Cultural Heritage" is capitalized. Is there any way to add two prefixes (one non-capitalized and one capitalized)? Or is renaming the articles the only way to fix this? Shwabb1 ( talk) 16:48, 16 September 2023 (UTC)
@ Snævar: Can we add a "continent" parameter to this template in order to refactor {{ Africa topic}} and the other continent-specific templates?
For instance:
{{World topic|continent=Africa|prefix=History of}}
should be equivalent to
{{Africa topic|prefix=History of}}
This will require only a few small changes to Module:World topic. Jarble ( talk) 17:08, 15 October 2023 (UTC)
I want to add Visual arts in Israel to the template Visual art of the World. I don't get how to do it, any help? Homerethegreat ( talk) 13:58, 31 December 2023 (UTC)
{{
World topic|Visual art of|noredlinks=yes}}
), create a
redirect called
Visual art of Israel to target
Visual arts in Israel, and it will appear automatically.
Certes (
talk) 16:16, 31 December 2023 (UTC)
This template was considered for deletion on 2016 November 6. The result of the discussion was "Keep". |
Geography Template‑class | ||||||||||||||
|
See the discussion at WP:Lua/To do. Jarble ( talk) 05:22, 19 June 2015 (UTC)
{{
World topic}}, as used in
World, links to dab page
Palestine rather than article
State of Palestine. Changing
Module:World topic to Palestine = {"State of Palestine"},
would fix it but remove
Music of Palestine from {{
Music topics}}. I could add a redirect from
Music of State of Palestine but we wouldn't want that linked from articles like
History of music in the biblical period and other topics will be similarly affected. Suggestions please!
Certes (
talk) 14:28, 28 June 2020 (UTC)
For the use of this template at Labor_rights#External_links, we're running into issues, because it's missing articles like Labour rights in New Zealand, which uses the British spelling. Could we make this template more flexible so that it can handle this (or, if that flexibility already exists somehow, document it)? {{u| Sdkb}} talk 23:34, 29 November 2020 (UTC)
The entry for Libya links to Parliament of Libya, a disambiguation page. It should link to House of Representatives (Libya), the country's current legislature. — ShelfSkewed Talk 14:40, 17 September 2022 (UTC)
The world topic of 'banking' has |noredlinks=yes
passed in, but shows a redlink for
Banking in the World.
Banking in the United States#Further reading is where I noticed this.
SWinxy (
talk) 23:45, 21 September 2022 (UTC)
I've enhanced
Module:World topic/sandbox to vary national links using parameters of the form |link_United_States=American Foo
. Would anyone like to check this over before I put it live? New template {{
Football in the World}} shows an example of its use: the Canada and U.S. links work only with the sandbox version. I've also taken the opportunity to refactor the relevant function, which is now called links().
Certes (
talk) 21:20, 3 December 2022 (UTC)
args
. The module controls the list of countries but it has no control over the args. Looping over the args causes all the args to be expanded (even if they are otherwise not used). Some side effects of your choice (besides the args expansions) include |link_United States=
being an alias for |link_United_States=
and that |link_=
, |link__=
, |link_xyzzy=
causes (unused) entries in override''], override' '], override'xyzzy'
to exist. Another minor issue is if both |link_United States=
and |link_United_States=
are given, there is no way to know which will actually be used as the traversal order over args
is not fixed (and whichever is last will write over the earlier one). It seems to me it would have made more sense to use the country codes as the parameter names as is done in other topic templates like {{
Europe topic}}
, where one can override the link for Spain with |ES=
(including specifying it empty to have the link removed). —
Uzume (
talk) 15:13, 28 May 2023 (UTC)
|link_*=
so, with a simple change there, the topic change needn't be backwards compatible.
Certes (
talk) 15:29, 28 May 2023 (UTC)
|US=
into "United States", which is why the module is how it is. I don't think looping through the args and expanding them all is a major performance problem: even a relatively complicated call like the football one passes only five args.
Certes (
talk) 18:25, 28 May 2023 (UTC)I tried to include an image in this template using the "image" parameter:
But then the image doesn't appear. The template's documentation doesn't explain how this parameter should be used; does it still work as intended? Jarble ( talk) 19:20, 7 December 2022 (UTC)
I've seen templates like this one that show lists of countries grouped by continent. I'd like to refactor some of these templates using the "World topic" template; does it have an option to group the countries this way? Jarble ( talk) 23:41, 9 December 2022 (UTC)
{{
Asia topic}}
but you cannot accomplish that via |1=
but rather via |border=
. {{
Navbox}}
does allow one to use |1=
as an alias for |border=
and although {{
Asia topic}}
passes |border=
through it also uses |1=
for something else.@ Uzume and Certes: When I try to use a suffix with this template, it adds the suffix to the previous word without spaces between the words:
Is there an option to add a space to the suffix (and omit the space from the prefix) so that these page titles display correctly? Jarble ( talk) 15:33, 14 June 2023 (UTC)
|suffix= relations
.
Certes (
talk) 19:18, 8 July 2023 (UTC)As noted above at #Dealing with spelling variations, redirects are used in some cases, but in the case of category redirects they are not resolved automatically. E.g. see the link to Thailand at the end of List of strikes.
Please can {{ resolve category redirect}} be applied if the prefix starts with :Category ? – Fayenatic London 09:22, 22 August 2023 (UTC)
On the page Intangible cultural heritage, this template is used:
The articles Intangible Cultural Heritage of Indonesia and Intangible Cultural Heritage of Ukraine are not added to the template, as the phrase "Cultural Heritage" is capitalized. Is there any way to add two prefixes (one non-capitalized and one capitalized)? Or is renaming the articles the only way to fix this? Shwabb1 ( talk) 16:48, 16 September 2023 (UTC)
@ Snævar: Can we add a "continent" parameter to this template in order to refactor {{ Africa topic}} and the other continent-specific templates?
For instance:
{{World topic|continent=Africa|prefix=History of}}
should be equivalent to
{{Africa topic|prefix=History of}}
This will require only a few small changes to Module:World topic. Jarble ( talk) 17:08, 15 October 2023 (UTC)
I want to add Visual arts in Israel to the template Visual art of the World. I don't get how to do it, any help? Homerethegreat ( talk) 13:58, 31 December 2023 (UTC)
{{
World topic|Visual art of|noredlinks=yes}}
), create a
redirect called
Visual art of Israel to target
Visual arts in Israel, and it will appear automatically.
Certes (
talk) 16:16, 31 December 2023 (UTC)