![]() | This template does not require a rating on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||
|
![]() | Issues
|
Hi, just a stylistic quibble about the (great) new country template.
It looks perfect on the blank template page.
In operation though, I can't see the faint zebra-stripes/watermark (gray, white, gray, white) in the white-space background that helps people visually keep track of what sub-section they are looking across.
For example, on the Ecuador topics page. http://en.wikipedia.org/wiki/Template:Ecuador_topics
I can see one grey-shaded bar at the bottom (across the culture subsection), but all the rest of the background shows up white.
I hope this makes sense!
Thank you, 0Juniper56 ( talk) 07:00, 6 December 2012 (UTC)
In Template:Macedonia topics, to fix a link to a disambiguation page, I changed the titlename to Republic of Macedonia and added the prefix "the". Even though Template:Country data Republic of Macedonia exists as a redirect, the flag doesn't show up because the flag is at File:Flag of Macedonia.svg, not File:Flag of the Republic of Macedonia.svg. I'm not sure what the best way to modify looking for the appropriate flagicon would be. Alternatively, a flaglink parameter could be added (and I'm clueless regarding the alt text) so the flag would link to Republic of Macedonia instead of Flag of Macedonia when the flagname parameter is used. TimBentley (talk) 21:51, 16 December 2012 (UTC)
I have restored the parameters for a WikiProject. I believe that a wider discussion should take place before its removed - as it has been the norm in templates for years. I agree we have some policies that discourages this type of link, but it is the norm and these projects should not be hidden if the rest our projects are visible in this fashion. It was one of the proposed solution for making projects more visible - (will look for this discussion).17:53, 5 January 2013 (UTC)
since you seem to be so interested in understanding why your edits are so damaging, let's look at all your changes
Could the outline and index be moved to the below line (with the portal, etc) to save a line? Putting them on a line by themselves at the top seems undue prominence. Kanguole 18:43, 7 January 2013 (UTC)
...or maybe their own separate "pre-below" line, like this:
Thoughts?
CsDix (
talk) 08:27, 8 January 2013 (UTC)
Still seems like undue prominence to me. For comparison, I was suggesting
Kanguole 09:08, 8 January 2013 (UTC)
CsDix (
talk) 00:09, 25 February 2013 (UTC)
I couldn't see what the flag parameter was adding here so I took it out. Per WP:MOSICON, singular flags in infoboxes and templates aren't recommended. -- John ( talk) 22:43, 9 February 2013 (UTC)
Being able to have a flag icon in the title bar of this template should be added back. It's appropriate for navboxes about countries to have them. Why?
— Lentower ( talk) 22:09, 24 July 2014 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please replace the current version of this template with this, the current sandbox version. The only substantive difference is a reduction in the gap between the two lines forming the (default) below content ([Outline · Index · Bibliography] and/or [Book · Category · Commons · Portal · WikiProject] links). (The sandbox version doesn't feature the noinclude and includeonly areas in the live version, so these need to be retained.) Thanks, Sardanaphalus ( talk) 19:40, 16 March 2014 (UTC)
|belowstyle = padding:0.25em;line-height:1.4em;{{{belowstyle|}}};
as in the sandbox version linked above. If I recall correctly, the amended hlist/plainlist settings allowed addtobelow to function fully (hlist seems to overrule plainlist).
Sardanaphalus (
talk) 21:25, 18 March 2014 (UTC)Somehow the data supplied to the parameter country didn't get linked. This is some sort of implementation problem because allied users have their main topic (country in this case) linked. This is sort of basic in a navigational template. Thanks. Student7 ( talk) 12:55, 25 June 2014 (UTC)
For a strange reason the Template:Tibet topics is giving a link to Government of Tibet what redirects to Tibetan Government. But the template shows no link to "Government of Tibet". After much testing I found that the culprit is somewhere hidden behind the link "Politics" in the template. Only when that one is active, the dodgy link shows up. How on earth can I tell "Politics" not to link? The Banner talk 18:38, 13 May 2015 (UTC)
I have edited this template, changing "List of (country)-related topics" to "Index of (country)-related articles" — given that most, if not all, such lists were page-moved a few years ago. Until today, this template was pointing to a redirect, which I found was playing up on a few pages. David Cannon ( talk) 14:39, 12 July 2015 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please could someone remove the below parameters pointing to Commons and Wikiproject. Wikiproject per
WP:LINKSTYLE: "Do not create links to user, WikiProject, or draft pages in articles"
. As this template is visible in articles, this applies here. And Commons per
Wikipedia talk:Categories, lists, and navigation templates/Archive 9#RFC: Should Sister Project links be included in Navboxes?. --
Rob Sinden (
talk) 15:15, 13 May 2016 (UTC)
|answered=
to have someone else look into deprecating WikiProject links and decide if it's appropriate. —
Andy W. (
talk ·
ctb) 15:39, 13 May 2016 (UTC)
@ Andy M. Wang: I was only looking to ensure I didn't break something ( :D ) after investigating that the change may not be trivial, and since Rob made the edit request...
Regarding WikiProjects, I think WP:LINKSTYLE applies in spirit if not exact wording. We have portals for that sort of thing. -- Izno ( talk) 15:44, 13 May 2016 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The first line has the state name and then the wiki link to the index. Remove the wiki link to the index as there is a separate link to it at the bottom. 68.151.25.115 ( talk) 14:48, 8 April 2017 (UTC)
{{
edit template-protected}}
template. –
Train2104 (
t •
c) 14:54, 8 April 2017 (UTC)![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
add law to sit in politics, which is quite commonly used. Viztor ( talk) 09:28, 2 June 2019 (UTC)
In some cases, the links generated by this template are redirects (e.g. "Index" on Template:United Kingdom topics and multiple group headers on Template:Gambia topics, which is suboptimal (cf. WP:NAVNOREDIRECT). I've made two changes in the sandbox ( diff, test cases) to:
I've only touched the "default" generated links for now because I didn't want to drive up the expensive parser function count too much at once. If I haven't missed anything, my changes should have increased it by 15 in the worst case, which I think is reasonable. If nobody objects, I'll open an edit request a few days from now. – Rummskartoffel ( talk • contribs) 16:37, 27 May 2021 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
List of Caribbean-related topics is currently showing [[Lua error: too many expensive function calls.|Politics]]
. Editing the article and previewing shows: Warning: This page contains too many expensive parser function calls. It should have less than 500 calls, there are now 564 calls.
A preview of the following from the article shows 539 expensive calls.
{{Anguilla}} {{Antigua and Barbuda topics}} {{Aruba topics}} {{Barbados topics}} {{British Virgin Islands topics}} {{Cayman Islands topics}} {{Cuba topics}} {{Curaçao topics}} {{Dominica topics}} {{Dominican Republic topics}} {{Grenada topics}} {{Guadeloupe topics}} {{Haiti topics}} {{Jamaica topics}} {{Martinique topics}} {{Montserrat topics}} {{Puerto Rico topics}} {{Saint Kitts and Nevis topics}} {{Saint Lucia topics}} {{Saint Vincent and the Grenadines topics}} {{Trinidad and Tobago topics}} {{United States Virgin Islands}}
It could be argued that there are too many navboxes in this article. However, I believe each is calling {{ Country topics}} which has 26 occurrences of #ifexist, and I'm wondering if there is some clean way of avoiding those tests. I was thinking of an optional parameter but it would be ugly. Any ideas? G. Moore is currently working on the article. Johnuniq ( talk) 02:21, 7 September 2021 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Change –related (en dash) to -related (hyphen). (Revert User:GoldRingChip's edit and User: Paine Ellsworth's edit.) All 'Index of Country name–related articles' pages have the redirect 'Index of Country name-related articles.' But 'Index of Country-related articles' is not likely to have the redirect 'Index of Country–related articles.' Sawol ( talk) 17:42, 13 November 2021 (UTC)
{{Country topics
at the top with {{Country topics/sandbox
and previewing.
Rummskartoffel 16:45, 14 November 2021 (UTC)
{{
#invoke:redirect|main|fulltext=y|<title goes here>}}
on every single one. But I don't understand why the part of the template that generates the "Index" link was changed to begin with (
GoldRingChip, could you clarify?); after my edit earlier this year (
see above), it was already supposed to always select the correct title automatically.
Rummskartoffel 14:30, 15 November 2021 (UTC)
To editor
Sawol: done. My edits have also been reverted, so this request has been granted.
P.I. Ellsworth -
ed.
put'r there 20:11, 15 November 2021 (UTC)
[a]ll 'Index of Country name–related articles' pages have the redirect 'Index of Country name-related articles'. Because of WP:NAVNOREDIRECT, this template already uses Module:Redirect to bypass redirects and directly link to the actual title of the index article. This means no fancy logic will be necessary. Rummskartoffel 22:35, 16 November 2021 (UTC)
I've just answered a question about a template issue at the teahouse caused by this parameter, and looking at the template I don't see why this parameter is set up the way it is. At the moment the template contains the code:
|name = {{if empty|{{{template_name|}}}| {{#if:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}| {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}} topics}} | {{FULLPAGENAME}} }}
What is the point of this, and what advantage does it have over:
|name = {{PAGENAME}}
? The name parameter is used to set the target of the "V • T • E" links at the top of the navbox, it should never be set to something other than the page name of the template. The current setup of correctly getting the template name (though with unnecessary namespace), then overriding it with a guess if other parameters are present, then providing a parameter to override the guess and put it back to the correct value when it goes wrong just seems unnecessarily confusing. 192.76.8.85 ( talk) 23:22, 2 July 2022 (UTC)
The template should not blindly add links to "Outline" and "Index" as this is sometimes a problem, in particular, when one redirects to the other. For an example, see {{
Brazil topics}}, where
Index of Brazil-related articles redirects to
Outline of Brazil. Redirects can be detected using {{#invoke:redirect|isRedirect|...}}
, so, for example, {{#invoke:redirect|isRedirect|Index of Brazil-related articles}}
= "yes", and in this case, it should only display one link (the non-redirect).
Mathglot (
talk) 22:47, 25 February 2023 (UTC)
![]() | This template does not require a rating on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||
|
![]() | Issues
|
Hi, just a stylistic quibble about the (great) new country template.
It looks perfect on the blank template page.
In operation though, I can't see the faint zebra-stripes/watermark (gray, white, gray, white) in the white-space background that helps people visually keep track of what sub-section they are looking across.
For example, on the Ecuador topics page. http://en.wikipedia.org/wiki/Template:Ecuador_topics
I can see one grey-shaded bar at the bottom (across the culture subsection), but all the rest of the background shows up white.
I hope this makes sense!
Thank you, 0Juniper56 ( talk) 07:00, 6 December 2012 (UTC)
In Template:Macedonia topics, to fix a link to a disambiguation page, I changed the titlename to Republic of Macedonia and added the prefix "the". Even though Template:Country data Republic of Macedonia exists as a redirect, the flag doesn't show up because the flag is at File:Flag of Macedonia.svg, not File:Flag of the Republic of Macedonia.svg. I'm not sure what the best way to modify looking for the appropriate flagicon would be. Alternatively, a flaglink parameter could be added (and I'm clueless regarding the alt text) so the flag would link to Republic of Macedonia instead of Flag of Macedonia when the flagname parameter is used. TimBentley (talk) 21:51, 16 December 2012 (UTC)
I have restored the parameters for a WikiProject. I believe that a wider discussion should take place before its removed - as it has been the norm in templates for years. I agree we have some policies that discourages this type of link, but it is the norm and these projects should not be hidden if the rest our projects are visible in this fashion. It was one of the proposed solution for making projects more visible - (will look for this discussion).17:53, 5 January 2013 (UTC)
since you seem to be so interested in understanding why your edits are so damaging, let's look at all your changes
Could the outline and index be moved to the below line (with the portal, etc) to save a line? Putting them on a line by themselves at the top seems undue prominence. Kanguole 18:43, 7 January 2013 (UTC)
...or maybe their own separate "pre-below" line, like this:
Thoughts?
CsDix (
talk) 08:27, 8 January 2013 (UTC)
Still seems like undue prominence to me. For comparison, I was suggesting
Kanguole 09:08, 8 January 2013 (UTC)
CsDix (
talk) 00:09, 25 February 2013 (UTC)
I couldn't see what the flag parameter was adding here so I took it out. Per WP:MOSICON, singular flags in infoboxes and templates aren't recommended. -- John ( talk) 22:43, 9 February 2013 (UTC)
Being able to have a flag icon in the title bar of this template should be added back. It's appropriate for navboxes about countries to have them. Why?
— Lentower ( talk) 22:09, 24 July 2014 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please replace the current version of this template with this, the current sandbox version. The only substantive difference is a reduction in the gap between the two lines forming the (default) below content ([Outline · Index · Bibliography] and/or [Book · Category · Commons · Portal · WikiProject] links). (The sandbox version doesn't feature the noinclude and includeonly areas in the live version, so these need to be retained.) Thanks, Sardanaphalus ( talk) 19:40, 16 March 2014 (UTC)
|belowstyle = padding:0.25em;line-height:1.4em;{{{belowstyle|}}};
as in the sandbox version linked above. If I recall correctly, the amended hlist/plainlist settings allowed addtobelow to function fully (hlist seems to overrule plainlist).
Sardanaphalus (
talk) 21:25, 18 March 2014 (UTC)Somehow the data supplied to the parameter country didn't get linked. This is some sort of implementation problem because allied users have their main topic (country in this case) linked. This is sort of basic in a navigational template. Thanks. Student7 ( talk) 12:55, 25 June 2014 (UTC)
For a strange reason the Template:Tibet topics is giving a link to Government of Tibet what redirects to Tibetan Government. But the template shows no link to "Government of Tibet". After much testing I found that the culprit is somewhere hidden behind the link "Politics" in the template. Only when that one is active, the dodgy link shows up. How on earth can I tell "Politics" not to link? The Banner talk 18:38, 13 May 2015 (UTC)
I have edited this template, changing "List of (country)-related topics" to "Index of (country)-related articles" — given that most, if not all, such lists were page-moved a few years ago. Until today, this template was pointing to a redirect, which I found was playing up on a few pages. David Cannon ( talk) 14:39, 12 July 2015 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please could someone remove the below parameters pointing to Commons and Wikiproject. Wikiproject per
WP:LINKSTYLE: "Do not create links to user, WikiProject, or draft pages in articles"
. As this template is visible in articles, this applies here. And Commons per
Wikipedia talk:Categories, lists, and navigation templates/Archive 9#RFC: Should Sister Project links be included in Navboxes?. --
Rob Sinden (
talk) 15:15, 13 May 2016 (UTC)
|answered=
to have someone else look into deprecating WikiProject links and decide if it's appropriate. —
Andy W. (
talk ·
ctb) 15:39, 13 May 2016 (UTC)
@ Andy M. Wang: I was only looking to ensure I didn't break something ( :D ) after investigating that the change may not be trivial, and since Rob made the edit request...
Regarding WikiProjects, I think WP:LINKSTYLE applies in spirit if not exact wording. We have portals for that sort of thing. -- Izno ( talk) 15:44, 13 May 2016 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The first line has the state name and then the wiki link to the index. Remove the wiki link to the index as there is a separate link to it at the bottom. 68.151.25.115 ( talk) 14:48, 8 April 2017 (UTC)
{{
edit template-protected}}
template. –
Train2104 (
t •
c) 14:54, 8 April 2017 (UTC)![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
add law to sit in politics, which is quite commonly used. Viztor ( talk) 09:28, 2 June 2019 (UTC)
In some cases, the links generated by this template are redirects (e.g. "Index" on Template:United Kingdom topics and multiple group headers on Template:Gambia topics, which is suboptimal (cf. WP:NAVNOREDIRECT). I've made two changes in the sandbox ( diff, test cases) to:
I've only touched the "default" generated links for now because I didn't want to drive up the expensive parser function count too much at once. If I haven't missed anything, my changes should have increased it by 15 in the worst case, which I think is reasonable. If nobody objects, I'll open an edit request a few days from now. – Rummskartoffel ( talk • contribs) 16:37, 27 May 2021 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
List of Caribbean-related topics is currently showing [[Lua error: too many expensive function calls.|Politics]]
. Editing the article and previewing shows: Warning: This page contains too many expensive parser function calls. It should have less than 500 calls, there are now 564 calls.
A preview of the following from the article shows 539 expensive calls.
{{Anguilla}} {{Antigua and Barbuda topics}} {{Aruba topics}} {{Barbados topics}} {{British Virgin Islands topics}} {{Cayman Islands topics}} {{Cuba topics}} {{Curaçao topics}} {{Dominica topics}} {{Dominican Republic topics}} {{Grenada topics}} {{Guadeloupe topics}} {{Haiti topics}} {{Jamaica topics}} {{Martinique topics}} {{Montserrat topics}} {{Puerto Rico topics}} {{Saint Kitts and Nevis topics}} {{Saint Lucia topics}} {{Saint Vincent and the Grenadines topics}} {{Trinidad and Tobago topics}} {{United States Virgin Islands}}
It could be argued that there are too many navboxes in this article. However, I believe each is calling {{ Country topics}} which has 26 occurrences of #ifexist, and I'm wondering if there is some clean way of avoiding those tests. I was thinking of an optional parameter but it would be ugly. Any ideas? G. Moore is currently working on the article. Johnuniq ( talk) 02:21, 7 September 2021 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Change –related (en dash) to -related (hyphen). (Revert User:GoldRingChip's edit and User: Paine Ellsworth's edit.) All 'Index of Country name–related articles' pages have the redirect 'Index of Country name-related articles.' But 'Index of Country-related articles' is not likely to have the redirect 'Index of Country–related articles.' Sawol ( talk) 17:42, 13 November 2021 (UTC)
{{Country topics
at the top with {{Country topics/sandbox
and previewing.
Rummskartoffel 16:45, 14 November 2021 (UTC)
{{
#invoke:redirect|main|fulltext=y|<title goes here>}}
on every single one. But I don't understand why the part of the template that generates the "Index" link was changed to begin with (
GoldRingChip, could you clarify?); after my edit earlier this year (
see above), it was already supposed to always select the correct title automatically.
Rummskartoffel 14:30, 15 November 2021 (UTC)
To editor
Sawol: done. My edits have also been reverted, so this request has been granted.
P.I. Ellsworth -
ed.
put'r there 20:11, 15 November 2021 (UTC)
[a]ll 'Index of Country name–related articles' pages have the redirect 'Index of Country name-related articles'. Because of WP:NAVNOREDIRECT, this template already uses Module:Redirect to bypass redirects and directly link to the actual title of the index article. This means no fancy logic will be necessary. Rummskartoffel 22:35, 16 November 2021 (UTC)
I've just answered a question about a template issue at the teahouse caused by this parameter, and looking at the template I don't see why this parameter is set up the way it is. At the moment the template contains the code:
|name = {{if empty|{{{template_name|}}}| {{#if:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}| {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}} topics}} | {{FULLPAGENAME}} }}
What is the point of this, and what advantage does it have over:
|name = {{PAGENAME}}
? The name parameter is used to set the target of the "V • T • E" links at the top of the navbox, it should never be set to something other than the page name of the template. The current setup of correctly getting the template name (though with unnecessary namespace), then overriding it with a guess if other parameters are present, then providing a parameter to override the guess and put it back to the correct value when it goes wrong just seems unnecessarily confusing. 192.76.8.85 ( talk) 23:22, 2 July 2022 (UTC)
The template should not blindly add links to "Outline" and "Index" as this is sometimes a problem, in particular, when one redirects to the other. For an example, see {{
Brazil topics}}, where
Index of Brazil-related articles redirects to
Outline of Brazil. Redirects can be detected using {{#invoke:redirect|isRedirect|...}}
, so, for example, {{#invoke:redirect|isRedirect|Index of Brazil-related articles}}
= "yes", and in this case, it should only display one link (the non-redirect).
Mathglot (
talk) 22:47, 25 February 2023 (UTC)