This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 | ← | Archive 5 | Archive 6 | Archive 7 | Archive 8 |
There is an RfC concerning pointing to the template namespace in the 2019-2020 coronavirus pandemic navbox. Please see Template talk:2019–20 coronavirus pandemic#RfC on linking to template namespace. Bait30 Talk? 04:27, 13 March 2020 (UTC)
Also, could someone knowledgeable in editing templates help out here. Bait30 Talk? 04:29, 13 March 2020 (UTC)
A while back, I stumbled upon this set of data that lists the ridership data between 2011-2017 for all railway stations in Japan. There is a bunch of files in there, one of which is a GeoJSON file that I deciphered to contain the actual numbers. So far, I've been manually adding them into articles, but is there a way to turn this into a template like Template:TRA ridership? ◢ Ganbaruby! (remember to ping!) 09:22, 25 March 2020 (UTC)
There are three CfDs for template categories Theatre award footer templates, Current Honkbal Hoofdklasse team rosters templates, and Clock templates. — andrybak ( talk) 13:12, 25 March 2020 (UTC)
I noticed that the main heading of the navbox Template:Mausoleums in Iran is a red link. The closest page I could find that makes sense is List of tombs of Iranian people, but some of the tombs on that list are outside of Iran, so it wouldn't really make sense to use it. Does anyone here have any ideas? or should it be TfD? Bait30 Talk? 06:39, 9 February 2020 (UTC)
You are invited to join the discussion at Template talk:F#Misused and unused. — andrybak ( talk) 21:20, 26 March 2020 (UTC)
Hi all
The maps on the Coronavirus pandemic articles need some technical help which has been documented on phabricator, I think that some of the tasks relate to templates, so please take a look.
If you're not able to assist with any of the tasks please still subscribe to it, it will help software engineers understand there is community support for fixing these issues.
Thanks very much
John Cummings ( talk) 12:20, 28 March 2020 (UTC)
I'm trying to do a minor upgrade to
Template:Letter other reps, and I've sandboxed a new version that calls a sub-template at
Template:Letter other reps/morse that utilizes the #len: parser function as the value for a #switch:, but instead of evaluating to the length of the string being passed, it just returns the plain text {{#len:value}}
. Can someone who hasn't been away from editing Wikipedia templates for the last five years take a look and see if they can see what I'm screwing up here? You can see the output I'm getting with the switch condition commented out - just evaluating the #len: parser at
Template:Letter other reps/testcases. Thanks for anyone's help.
Van
Isaac
WS
cont 06:38, 17 April 2020 (UTC)
{{#len:value}}
should be {{#invoke:String|len|value}}
, following the examples at
Module:String. {{#invoke:String|len|Something}}
→ 9 --
John of Reading (
talk) 07:09, 17 April 2020 (UTC)
Hi there, I've proposed some improvements to Template:Moved discussion to so as to make it clearer what's going on with the discussion at the source page, whilst retaining the content of it there. It'd be great to get some input from anyone who has anything to contribute - I've written the details down over at Template talk:Moved discussion to :) Cheers, Naypta ☺ | ✉ talk page | 09:28, 27 April 2020 (UTC)
For the last week, I've been using
Auto-Wiki Browser to update
Template documentation pages as per
WP:CAT#T to have all template categories and interwiki links in documentation pages suppressed when transcluded into sandboxes by using {{
Sandbox other}}
. Through this project, I've seen a lot of template documentation pages, and thought of a few other maintenance tasks that I wanted to run by this WikiProject:
<noinclude>{{
documentation}}
</noinclude>
. Some of the template documentation pages do not currently have categories, and as such do not have the code for suppressing categories at this time. A follow-up task would be to add:
<includeonly>{{Sandbox other||
<!-- Please place categories below; interwiki links at Wikidata-->
}}</includeonly>
{{
sub documentation}}
as a subpage cohort to {{
documentation}}
that specifically focuses on technical maintenance of the template logic and information, transcluding a page like /subdoc in any subpages with maintenance or future expansion of functionality.{{
Testcase other}}
template to replace the existing logic?<templatedata>...</templatedata>
can currently be found in many template documentation pages, and oftentimes takes up more than a majority of those /doc page files in terms of lines and bytes. I feel like that should really have its own standard subpage like /doc, and {{
documentation}}
could get them both for the main template, but not have it cloggin up /doc. Obviously that will take some consultation with the people who maintian the tools that build the templatedata, but this seems like it is only going to get worse in the future.Thanks for your feedback, and especially if anyone wants to tackle any of these projects. I've just spent the last week almost doubling my previous record for edits in an entire year, so I'm ready to peace out from any big projects like this. Thanks WikiProject Templates for your help! Van Isaac WS cont 07:57, 1 May 2020 (UTC)
{{
braille cell}}
for an example of a monster that could use subtemplate documentation.{{
testcases other}}
isn't in the documentation for other subpage other documentation. That's probably part of the reason it isn't getting used.
Van
Isaac
WS
cont 18:20, 1 May 2020 (UTC)You are invited to join the discussion at Wikipedia talk:Welcoming committee/Welcome templates#RfC on welcome template standardisation. Naypta ☺ | ✉ talk page | 08:07, 9 May 2020 (UTC)
Hello, your input would be welcome at Template talk:EditOptions#Add link target for Publish changes. Thanks, Mathglot ( talk) 23:38, 13 May 2020 (UTC)
There's a redirect issue with this template: the talk page directs to Template talk:DRAM instead of Template talk:DRAM (musician) if you use the "T" at the top left of the template... it's fine if you use the "Talk" tab. Could someone fix this please, or let me know where I have to request to have it fixed? Richard3120 ( talk) 20:36, 15 May 2020 (UTC)
|name=
in navboxes (
Template:Navbox musical artist in this case) must be the same as the template page's name for the v · t · e links to work correctly. —
andrybak (
talk) 22:21, 15 May 2020 (UTC)
You're invited to join the discussion at Module talk:Template invocation § Lua error: attempt to compare string with number. — andrybak ( talk) 14:27, 19 May 2020 (UTC)
Guideline text in WP:SIDEBAR (aka WP:NAVBOX) makes it seems that navigational boxes (navboxes for short) and sidebar templates (sidebars) are "equally ranked" kinds of navigational templates. However:
So what is the relationship of sidebars and navboxes? Should categories "<topic> sidebar templates" be always categorized into "<topic> navbox templates"? For example, should Category:Geography and place sidebar templates be a subcategory of Category:Geography and place navigational boxes? Or: should sidebars be added to the group of subcategories sorted by ' ', to make the first group of categories: infobox, navboxes, and sidebars? Third alternative that I can think of would be to avoid creating the "<topic> sidebar templates" categories, but that would mean that all of Category:Sidebar templates needs to be merged into corresponding navbox categories. — andrybak ( talk) 14:45, 30 May 2020 (UTC)
Just thought I should notify here that I proposed to remove the dated maintenance categories from {{ deprecated template}} at Template talk:Deprecated template#Dated maintenance categories so that someone actually sees the proposal. -- Trialpears ( talk) 21:51, 30 June 2020 (UTC)
I want to place some boilerplate text in a Template subpage (to declutter; to make it separately editable and not template-protected; and I might need it twice) and then access it from the template, so that it works wherever it's transcluded from, and also whether we're transcluding the Template, or a sandbox copy of it, with its own subpage. Coding the full path (e.g, [[Template:Foo/boilerplate]]) works for article transclusion, but seems inelegant, and also means the sandbox copy will have to be tweaked if we want to use its subpage. My programming mind wants me to code a relative url here, like {{/boilerplate}} but of course that won't work when transcluded from an article, only from the template page itself. Is there some subst-trick that will do what I want here? Or is there a better solution? Real-world example is now up at Template:Dablinks/sandbox. Ping, please. Mathglot ( talk) 05:43, 15 July 2020 (UTC)
../
first thing and it didn't work, but according to
Wikipedia:Page_name#sub maybe I messed up and should try that again.
Mathglot (
talk) 20:02, 15 July 2020 (UTC) No, no luck with that. Oh, well.
Mathglot (
talk) 20:07, 15 July 2020 (UTC)
A requested move discussion has been initiated for Template:No substitution to be moved. This page is of interest to this WikiProject and interested members may want to participate in the discussion here. — RMCD bot 07:03, 24 July 2020 (UTC)
I would love to see a list of tools here for e.g. verifying template parameter usage, counting usages, etc. If others agree, I'll add a section as I find these tools. -- Adamw ( talk) 16:02, 28 July 2020 (UTC)
Can someone help to turn the following into a template?
Hatting template, slightly NSFW and a bit of a surprise if you're not expecting it
|
---|
|
Thanks in advance. Aditya( talk • contribs) 02:04, 1 August 2020 (UTC)
Template:Tfd instructions has been nominated for deletion. As it falls within the purview of this project, please consider joining in the discussion here. Primefac ( talk) 20:37, 11 August 2020 (UTC)
The template is returning {{{Name}}}
as default value in the infobox unless the Name= parameter is filled. I've come across several instances in articles where the parameter has been omitted. I started fixing this manually in articles (i dont' have AWB) but i thought there might be a way to deal with the root cause. I believe piping a magic word would solve this, but i'm not entirely sure how to write the syntax correctly. I'm envisioning something like {{{Name|#123;#123;#PAGENAME:#125;#125;}}}. Can anyone help me with this? Thank you.
Zindor (
talk) 13:42, 16 August 2020 (UTC)
Two coords seem to be overwriting eachother in the top right of Canyon Diablo Bridge. -- Tagishsimon ( talk) 08:06, 8 September 2020 (UTC)
You are invited to join the discussion at Wikipedia:Categories for discussion/Log/2020 September 22 § Category:Country templates by topic. — andrybak ( talk) 21:44, 22 September 2020 (UTC)
A requested move discussion has been initiated for Template:No substitution to be moved. This page is of interest to this WikiProject and interested members may want to participate in the discussion here. — RMCD bot 02:07, 29 September 2020 (UTC)
As part of the project Making working with templates easier, the Technical Wishes team (WMDE) is planning to make improvements to how users interact with templates in VisualEditor, including updates to TemplateData and its editor. Additionally, the team is planning to introduce changes to syntax highlighting to make working with templates written in wikitext easier.
To ensure these proposed features making improvements, we would like to get feedback by conducting usability tests. We specifically want to conduct testing with experienced editors who create and maintain templates, including TemplateData.
If this description fits you and you’re interested in contributing to the development of Wikipedia,
please fill in this form!
Note: this is a 45-60 minutes commitment. -- For the Technical Wishes Team:
Max Klemm (WMDE) (
talk) 09:29, 13 October 2020 (UTC)
I created Template:Lineage + Module:Lineage (originally it:template:discendenza) as a simpliest alternative to Template:Tree chart. Can someone verify the doc subpage? Thanks. -- M.casanova ( talk) 08:59, 18 October 2020 (UTC)
Hi all
3D models for various tools are not becoming available on Wikimedia Commons, I'm not good with templates so can I request that someone adds a field for 3d model to Template:Infobox tool. I was thinking about adding it to the image or image2 fields but its just not correct
Thanks very much
John Cummings ( talk) 15:52, 26 October 2020 (UTC)
|image=
field is "not correct"? Not saying we can't add something to {{
infobox tool}}, just want to make sure we fix any existing errors first.
Primefac (
talk) 17:21, 26 October 2020 (UTC)|image=
because it's not a static image, so a third parameter (e.g. |3dmodel=
) needs to be added to the infobox, even though it will (on the technical/backend) still be considered "an image". Does that sound about right?
Primefac (
talk) 19:07, 26 October 2020 (UTC)
Done. Primefac ( talk) 00:25, 29 October 2020 (UTC)
Hi
I'm working on a number of articles related to solar power plants and other renewable energy infrastructure projects. One thing that I would really like to include in the infobox is a list of funders of each project, both investors and banks who loan money to the project, however for most infoboxes for infrastructure there are no fields to show this. I know in some articles a second infobox is added on specific aspects, is there an infobox that I could use to show things like investment and loans to a project, total project cost etc?
Thanks very much
John Cummings ( talk) 23:21, 28 October 2020 (UTC)
Template talk:Because you thanked me § Wrong timestamp I dream of horses (Contribs) Please notify me after replying off my talk page. Thank you. 21:39, 4 November 2020 (UTC)
The top level category for navbox templates is Category:Navigational boxes. There are two issues present in a lot of template categories:
|type=navbox
, even though it contains not only navboxes, but other types of templates as well.Several speedy category C2C renaming submissions were opposed due to presence of parent categories which use "Foo templates" naming scheme, so I'm bringing it to a wider discussion.
Should categories which consist exclusively of navboxes be always named "Category:Foo navigational boxes", regardless of naming schemes in parent categories? — andrybak ( talk) 14:25, 8 November 2020 (UTC)
foo navigation templates? Do you mean navboxes? Or navboxes and sidebars together? I.e. merge the trees of Category:Navigational boxes and Category:Sidebar templates into one? — andrybak ( talk) 19:30, 9 November 2020 (UTC)
Without looking at every single one within it but assuming they are all navboxesmeans that we risk creating a polluted category. For example, a WP:PetScan search (intersecting with Category:Infobox templates) found Template:Infobox Bach composition in this tree, but it is in the process of being merged.
There is an RFC proposal to deprecate WP:T3 deletions of templates ("duplicate or hardcoded instances"). Your opinions are appreciated at the discussion. Primefac ( talk) 15:05, 26 November 2020 (UTC)
Template {{ Lead too short}} has an RFC for possible consensus. If you would like to participate in the discussion, you are invited to add your comments on the discussion page. Thank you. CapnZapp ( talk) 11:01, 2 December 2020 (UTC)
Hi! I'm Dswitz10734, and I'm part of Wikiproject Star Wars. I wanted to request an infobox for a fictional people. There is already an infobox for a fictional race, but if you go to the page Mandalorian, the info box says at the top "Star Wars Race". Mandalorian is not a race, rather a people. It could have the same stats as the race infobox, but instead at the top it would say "Star Wars people". Can someone please help? Dswitz10734 ( talk) 13:11, 2 December 2020 (UTC)
You are invited to join the discussion at Wikipedia:Village pump (idea lab) § Thinking about a radical reduction of talk page banners. {{u| Sdkb}} talk 04:12, 6 December 2020 (UTC)
The Wikiquote community has decided to set up an assessment scheme similar to that of Wikipedia Wikiprojects. It should be pretty straightforward. There will be twelve classes into which all mainspace pages will be sorted: Unassessed, Stub-Class, Start-Class, C-Class, B-Class, A-Class, GP-Class, FP-Class, List-Class, Disambiguation-Class, Redirect-Class, and Placeholder-Class. GP and FP stand for "Good Page" or "Featured Page". There are no topical distinctions, though it would likely be useful to have a BLP parameter. Can anyone help with this? BD2412 T 21:36, 6 December 2020 (UTC)
There is a discussion about a proposal to improve Template:Section sizes going on at Template talk:Section sizes#Proposal for optional cumulative size column. Your feedback would be appreciated. Mathglot ( talk) 08:25, 12 December 2020 (UTC)
The article List of United States television stations available in Canada links to a number of templates from inside tables and from section hatnotes.
For example, in a table:
|-
| [[Template:Atlanta TV|Atlanta, Georgia]]
| [[WPCH-TV]]
| [[Independent station|Independent]]
| {{yes}}
and in a section hatnote:
{{Main|Template:MTL TV|Template:Quebec City TV|Template:Quebec TV}}
It seems to me that these pages in Template space are not designed to be called in this way from mainspace, and I can see no examples of such from the Help page. Furthermore, some links are piped so that a reader might expect to be linked to an article, but instead finds a Template page.
Is this use acceptable, or should the article be edited to display these templates in the way they were designed to be displayed, or at least use unpiped links. Shhhnotsoloud ( talk) 08:49, 9 December 2020 (UTC)
Thank you all. A can of worms! Shhhnotsoloud ( talk) 09:31, 12 December 2020 (UTC)
Hello! I am relatively new to editing on Wikipedia but I've just created my first template, Template:Renamed. I was looking for a specific template to add to an article just after moving it to a new name but couldn't find one. So out of curiosity, I dug in and figured out how to set one up myself. The specific use case is for the article Dai (cryptocurrency) which I just moved from MakerDAO. There needs to be some changes to the article itself to match the new title, and since I probably wasn't going make all those changes in one sitting right after moving the page, it seemed a template of this sort would provide a helpful notice.
On the template itself, I believe I've done everything correctly, at least in terms of functionality. If there are any technical standards for templates that should be included, please modify it accordingly. Otherwise if there's something else wrong with it, let me know.
–Thanks HiddenLemon // talk 07:48, 24 December 2020 (UTC)
This probably has a simple solution but I can't think of one. In
Template:Certification Table Entry, the need arose to categorize with a sortkey based on |region=
. The problem is that |region=
may include a wikilink, e.g. |region=Venezuela (
APFV)
, so I can't just use [[Category:Needed category|{{{region}}}]]
, as it results with [[Category:Needed category|Venezuela (
APFV)]]. Any idea how to avoid this without much code? --
Muhandes (
talk) 00:43, 27 December 2020 (UTC)
{{
delink|{{{region}}}}}
as the sortkey. —
JJMC89 (
T·
C) 01:16, 27 December 2020 (UTC)
Template:Source conflict ( | talk | history | links | watch | logs) FYI, a new verifiability reference cleanup template has shown up. -- 70.31.205.108 ( talk) 04:22, 10 January 2021 (UTC)
Greetings and felicitations. I keep running into extra carriage returns and spaces in navbars and other templates, but often do not have the skill to remove them myself. An example is the Template:Young Bosnia, as in the "Nedeljko Čabrinović" article's External links section. Since many of these templates are seldom frequented by editors, pinging people who haven't seen a template in a year or more, often several, can be deemed obnoxious. Is this the place to bring these problems? — DocWatson42 ( talk) 08:58, 31 December 2020 (UTC)
One more, here: Template talk:Service award progress#Bug_report: Count starts_over. (I admit it's a unimportant template.) — DocWatson42 ( talk) 12:10, 7 January 2021 (UTC)
Greetings and felicitations. The documentation for Template:Infobox ship begin states
: N.B.: {{ Infobox ship begin}} contains code that can automatically style a variety of ship and ship-class article titles. It adds a DISPLAYTITLE with italics unless
|display title=none
is specified. For details see: the infobox usage guide § Title styling.
and includes the field
|display title=
However, the title of Left Coast Lifter is not italicized, and when I tried to force the italicized title, I received an error messages. When I tried to follow the documentation I received this error message:
Warning: Page using Template:Infobox ship image with unknown parameter "display title" (this message is shown only in preview).
and when I tried using Template:Italic title I received a different one. Any ideas? — DocWatson42 ( talk) 18:14, 27 January 2021 (UTC)
display title
parameter is part of {{
Infobox ship begin}} not {{
Infobox ship image}}. The template didn't apply the italics automatically because the article title doesn't match one of the formats that it understands; see
Template:Infobox ship begin/Usage guide#Title styling. --
John of Reading (
talk) 18:31, 27 January 2021 (UTC)Greetings and felicitations. In WABE#External links, Template:FM station data is generating an extra line break/carriage return after itself. Would someone please be so kind as to fix this?
Also, while this is not (I believe) part of your bailiwick, I have a comment to make about the appearance/an option of the mobile version of Wikipedia. Where should I do this? — DocWatson42 ( talk) 10:29, 16 January 2021 (UTC)
I was thinking of cleaning up Wikipedia:TemplateData#Over_100,000_uses_in_mainspace and something that might help is if we added usage categories that indicate a template's usage class to templates.
For example, Template:Infobox would be in Category:Templates with over 1,000,000 uses.
A script could then be made that looks through templates that are in these major usage categories and sees if they also are in Category:Templates_using_TemplateData. If not, they get added to the list on Wikipedia:TemplateData.
A bot should also handle finding the usage of each template and adding them to their appropriate usage category.
Thoughts?
-- Lectrician1 ( talk) 05:04, 11 February 2021 (UTC)
Hey, I have, of course, a question about templates and figured this might be the place to bring it.
I've run into some problems with templates (and some userboxes) that automatically put categories on a user page. Most of the time, this is very helpful. But I'm not sure what to do when editors practice with templates on their sandboxes and their sandbox pages get placed in inappropriate categories. Today I ran into this issue with templates that are put on user pages for editors who've been banned by the community. For most of these instances, the editor has been inactive for years so I just blanked the sandbox. But, if they are new, I don't want to discourage them practicing with putting different templates on a sandbox to see what they look like. Also, with userboxes, sometimes the category that the userbox places the user page in is deleted, so we are left with a lot of red link categories. In these cases, I can edit the userbox and remove the code that places the category on the user page.
So, my question is, is there any code I could put on a page with a template that would omit the category being placed on the page? I don't want to edit the template to remove the category, like I've done with userboxes, because that would mess up all of the pages where it is being used correctly. I thought there might be some message I could put on these sandboxes that would say "no category" or something, on an individual usage of a template.
Thanks for any answers you could provide. Liz Read! Talk! 02:05, 28 February 2021 (UTC)
{{PAGENAME}}
!= {{ROOTPAGENAME}}
) and not populate the category in those cases, if this is a significant issue taking up a lot of patrollers' time. –
wbm1058 (
talk) 03:32, 28 February 2021 (UTC)
|nocat=true
at
Wikipedia:Category suppression#Usage. {{
Suppress categories}} is a general method for templates which don't support it.
PrimeHunter (
talk) 11:25, 28 February 2021 (UTC)
I noticed the Template:Infobox women by region has "out of 153" in the rank for the Global Gender Gap Index (the GGG in the template). I think that needs to be removed because the number of countries in the report can vary by year; exactly how the the GGI section accommodates for it.
I'm sorry to ask the dumb favor, but I already tried to fix it once and basically broke the whole thing. (Not a good look). I'm not sure how to better describe the issue, but I've already discussed it a bit over at the Wikipedia talk:WikiProject Women in Red. Hopefully this makes sense and someone can take that out? Cheers Estheim ( talk) 20:12, 23 March 2021 (UTC)
|report_year=
to generate an automatic reference and the correct number for that year. If the project wants that and can supply links to all of the relevant reference documents, I could probably code it for you. –
Jonesey95 (
talk) 00:38, 24 March 2021 (UTC)
|ggg_year=
) that automatically: 1) generates the reference, 2) generates the right out of ...text, 3) adds the year where relevant. I see Jonesey95 already offered technical help. If a backup is needed, count me in. MarioGom ( talk) 13:42, 24 March 2021 (UTC)
Hello, I hope this is an appropriate place to ask for help making minor fixes these templates. For the first template, it is missing Chinese lang tags (see
Template_talk:Infobox_name_module#Missing_lang_tags). You can see an example of the difference this makes on
my sandbox. Essentially, the chinese
, traditional
, and simplified
parameters should be tagged with zh
, zh-Hant
, and zh-Hans
, respectively. Currently, none of them are tagged, so they all display identically according to the system default.
For the second template, it inserts an extraneous space and semicolon when simplified Chinese is omitted. For example, {{CJKV|t=臺灣|p=Táiwān}}
currently produces "
traditional Chinese: 臺灣; ;
pinyin: Táiwān". Obviously that extra ; should not be there (see
Template talk:CJKV#Incorrectly adds extra semicolon and space). Thanks,
ChromeGames923 (
talk ·
contribs) 19:38, 25 March 2021 (UTC)
There are two problems in {{
Pin message}} related to the |next=
param. I don't have time to do anything about this in the foreseeable future, but there's a detailed explanation at
Template talk:Pin message#Flaws in "next" param if anyone is interested.
Mathglot (
talk) 21:47, 25 March 2021 (UTC)
Your feedback would be appreciated at Template talk:Pp-vandalism#Proposed new param 'sandbox'. Thanks, Mathglot ( talk) 22:59, 3 April 2021 (UTC)
You are invited to join the discussion at Wikipedia talk:Template namespace § Modules in namespace. -- Trialpears ( talk) 22:58, 18 April 2021 (UTC)
Pages watchers may be interested in MediaWiki talk:Common.css § Preview warning and hatnotes moving to TemplateStyles. Izno ( talk) 01:08, 23 April 2021 (UTC)
From April 29, it will be possible to suggest values for parameters in templates. Suggested values can be added to TemplateData and will then be shown as a drop-down list in VisualEditor. This allows template users to quickly select an appropriate value. This way, it prevents potential errors and reduces the effort needed to fill the template with values. It will still be possible to fill in values other than the suggested ones.
More information, including the supported parameter types and how to create suggested values, can be found on the TemplateData help page and the project page. Everyone is invited to test the feature, and to give feedback on this talk page. -- Timur Vorkul (WMDE) ( talk) 17:16, 27 April 2021 (UTC)
You are invited to join the discussion at Wikipedia:Templates for discussion/Log/2021 May 13 § Template:Auto archiving notice. {{u| Sdkb}} talk 03:19, 14 May 2021 (UTC)
Editors have been asking for more than a decade at the talk page of {{ Format price}} to get it working better so that e.g. 407000 renders as 407,000 rather than 407 thousand. Would anyone be interested in taking on the project of fixing it? {{u| Sdkb}} talk 00:00, 20 May 2021 (UTC)
can anyone recommend a reporting tool where I could see for example articles tagged for {{tone}} sorted by date? or recommend a wikip community or project for that? Incheon for example was tagged for tone almost 7 years ago. there's gotta be a better process than always adding tags and it seems like it's no one's job to conclusively do whatever cleanup is needed & remove the tags. skak E L 12:49, 14 June 2021 (UTC)
Greetings and felicitations. In the infobox for Lavender (color) there is a reference in the HSV field for one of the percentages. Unfortunately, as the template is currently configured, this means that the percent symbol comes after the reference link, in violation of MOS:CITEPUNCT. Would someone please be so kind as to fix this? — DocWatson42 ( talk) 05:39, 16 June 2021 (UTC)
|source=
, per the documentation. I have fixed it. –
Jonesey95 (
talk) 13:32, 16 June 2021 (UTC)You are invited to join the discussion at Template talk:Documentation. -- Asartea Talk | Contribs 17:33, 26 June 2021 (UTC) -- Asartea Talk | Contribs 17:33, 26 June 2021 (UTC)
Hi, I have the image from a book below, that I want to add to Tambora language, but I need to rotate it withouth having to upload a new file. Is it possible?
Thanks. Bennylin ( talk) 09:08, 28 June 2021 (UTC)
Most of the interlanguage links in templates have been moved to Wikidata by bots years ago. However about a thousand templates still have them per this search. I have started cleaning them up, anyone interested can join.
Most of what I have found so far have been links to templates in other wikis that were deleted between the time of adding the link and wikidata migration bots were run. It seems bots ignored links that pointed to deleted or otherwise nonexistent targets. Such links can be removed after verifying. A few have been simply wrong, like linking to an article or a template with different function. They can be removed here and linked to correct template from wikidata. ಮಲ್ನಾಡಾಚ್ ಕೊಂಕ್ಣೊ ( talk) 12:58, 8 July 2021 (UTC)
All Z-number templates have been nominated for deletion. You are invited to comment on the discussion at the entry on the Templates for discussion page. Mathglot ( talk) 21:36, 30 July 2021 (UTC)
Please join the discussion at Wikipedia:Categories for discussion/Log/2021 August 12 § Category:Wikipedia variable-like templates. — andrybak ( talk) 09:31, 12 August 2021 (UTC)
Currently,
Template:Infobox court always uses the word "Authorized" for the authority
parameter. It seems to me that, according to
MOS:TIES, the word "Authorised" would be more appropriate for courts located in the UK, for example.
I'm not very familiar with how templates work, but I believe the least intrusive solution is to create an additional parameter that is similar to authority
but uses the word "Authorised" instead. Then, we would need to selectively edit the articles containing the template to change the parameter for courts located in certain countries. Unfortunately,
Category:Pages using infobox court with unknown parameters alone contains 373 articles, so it is not very practical to review and edit all of these pages manually.
Any thoughts on what the best course of action here would be appreciated. RisingStar ( talk) 02:24, 18 August 2021 (UTC)
So, a while back the WP:Idaho banner was made a WP:SUBST for the Parent WP:USA banner... I have revived the Idaho Project, but want to undo/split the template back into the project version (currently in the sandbox).
Q: What "tool" would help me do this across 1000's of pages? (and is there a template expert that might help me?) Mjquinn_id ( talk) 16:33, 20 August 2021 (UTC)
I have a bit of a problem. I'll give the general issue and then specifics (as sometimes they help).
General: there is a template with two inputs, which then generates a series of outputs based on those two inputs, namely {{{1}}} <year> {{{2}}}
, where the year is what the template iterates through based on stored values. The problem I have is that there is an instance where {{{1}}} is used in two different year ranges. Using only these two inputs, can I distinguish between the year ranges?
Specifics: {{
team appearances list}} (TAL) in its simplest form takes a |team=
and a |competition=
pair of parameters, then outputs the years where that team appeared at that competition. The problem I have is with the
Republic of China at the Olympics. ROC pre-1950 was its own entity, and post-1950 is what we now call
Chinese Taipei at the Olympics, BUT it used the name "Republic of China" in a few of the post-civil-war years. Thus, when I go to a page like the
1972 appearance, it shows the pre-1950 range rather than the post-1950 range (as seen on other pages such as the
1964 appearance).
Any ideas on how I could split it? Currently these appearances are being generated from {{ infobox country at games}}, but it seems silly to throw in a parameter check in the ib (as opposed to the module) for two instances of one country at a games. Primefac ( talk) 23:17, 31 August 2021 (UTC)
-pseudocode: ifeq: country | country-hack | ifeq: year | year-hack | do-stuff-if-true | do-stuff-if-not.
Are RDTs too esoteric, or should they be included as a child of this project? Useddenim ( talk) 02:13, 10 September 2021 (UTC)
Please help with guidance for sort keys in the template {{ R from person}} by joining the discussion. Coastside ( talk) 17:40, 26 September 2021 (UTC)
In the past 12 years, I've created user templates and user categories for more than 400 countries, states, and provinces. Each of these regions uses five types of template subpages to synchronize their user templates and user categories.
Yours aye, Buaidh talk e-mail 12:17, 20 October 2021 (UTC)
Hello, everyone, this is WikiCleanerMan and I am proposing to create a task force as part of WikiProject Templates to help deal with the enormous backlog of unused templates from the Unused templates database report. Currently, the backlog extends to seventeen pages and 82,096 templates are listed as unused. The reason I am proposing this task force is because Wikipedia has an issue with templates regarding their creation and usage. Many templates are sitting around for no reason outside of creation, have been created for one purpose also known as single-use, and particularly sports-related templates that are essentially article content on a separate mainspace.
Now, this is a task that is going to require hundreds of users to deal with and the templates might need to be assessed going by page by page. Many of these templates will be subject to Tfd's which will most likely result in them being deleted.
It should be noted that some templates are in the process of being used or will be used depending on the particular circumstance. And some listed on the database are redirects to the actual template itself which can cause confusion.
Before a task force is created I propose the following name: Unused Templates Task Force as the name of this project. And I propose the following rules/guidelines of this task force:
1) A group of users to take on one page at a time. One group will handle page one of unused templates, another for page two, another for page three, and so on and so forth. Although for this, I'm still unsure if the project should tackle one page at a time or multiple. But one page at a time might be easier to do given how many are listed on one page alone. Page one for instance features 5,000 templates.
2) A group of users to tackle templates under a specific category. For instance, a group to tackle sports-related templates or politics/government templates.
3) Probably one that will be the most time consuming, a group to tackle a certain number of templates per page. Let's say, a group handles forty on page one per certain types of templates or they handle twenty at a time or thirty, etc...
4} If a template is listed as unused, but has a particular purpose, before nominating it for deletion at a Tfd, it may be best to check the purpose it was created for or to help determine a consensus with members here to avoid a potential screw up. For instance, I've created a few foreign relations templates, linked on my user page, that are listed as unused but have a particular purpose and I do intend to add them to articles in the future. So doing a Tfd for these would be counterproductive in a sense and instead, users should add it to the relevant articles. And it's also best to check if a template is part of a series of similar templates as templates under the category, Category:State Council of the People's Republic of China have two listed as unused, but others are used on the relevant articles, so nominating the two listed as unused for deletion might not help with the backlog.
5) Not all members should be notified which template from the database reports is being nominated as they were would be too many to go through. This will fall into the Canvassing policy which is not and will not be tolerated nor is part of the purpose of this task force.
If there is any objection or counterproposals, feel free to ping me as I would like to have an open discussion about this task force idea. -- WikiCleanerMan ( talk) 01:24, 7 September 2021 (UTC)
After digging through the database reports. Reports 1 to 3 are the ones that list templates that aren't redirects or stubs until number 12205. Starting with 12206 on page 3 everything after that is redirects of mainly/largely sports-related templates. Twelve thousand templates are easier to go through than the whole collection of redirects from near the end of page three to near the end of sixteen to seventeen which list the unused stub templates. Although, this doesn't clear the issue of some templates that are unused and if they were to be deleted could cause disruption for some basic functions such as Adminstats and Category:Parameter shared content templates. — Preceding unsigned comment added by WikiCleanerMan ( talk • contribs) 15:14, 12 October 2021 (UTC)
Jonesey95 has created a subpage that filters the unused templates removing stubs, redirects, S-line templates which he has nominated for deletion recently, pages with "testcases" or "sandbox" in its name, and templates edited in 2021. Currently stands at 6,800 unused. A lot easier now and can accomplish removing the backlog. -- WikiCleanerMan ( talk) 14:33, 16 October 2021 (UTC)
Tagging all active members of this project as stated on the project home page to see where they stand on the task force proposal and for them to offer any other suggestions on how to deal with the backlog and the now revised version by Jonesey95: andrybak, Berrely, BrandonXLF, Buaidh, Daniel Mietchen, DannyS712, DGG, Enterprisey, Ken Tony, Kepler-1229b, Mike Peel, Mirokado, MonkeyStolen234, Mr. Guye, Northamerica1000, Paine Ellsworth, Pigsonthewing, Sdkb, SMcCandlish, Vanisaac. -- WikiCleanerMan ( talk) 18:36, 19 October 2021 (UTC)
{{
User in Abu Dhabi|20|nocat=}}
). Am I missing something?
Gonnym (
talk) 11:27, 20 October 2021 (UTC)
Since we now have five users, not including myself, and since five is enough to create a task force, per the guidelines. I will create the subpage in a few hours and notify the respective users and will outline the goals and scope of our project. -- WikiCleanerMan ( talk) 15:47, 21 October 2021 (UTC)
The Task Force has been created. Feel free to join and make improvements. -- WikiCleanerMan ( talk) 19:59, 21 October 2021 (UTC)
I finally got tired of having to manually construct a link to show a specific list of user contributions I wanted to highlight, such as "Jimbo's last 12 Talk page edits ending 27 September at 5:25", so I wrote a template for it:
{{
Last N contributions|Jimbo Wales|12|201209270525|Talk}}
=
these 12 contributionsVariously configurable; see doc. Please add bugs/suggestions to Template talk. Sandbox and testcases still tbd. Also, I seem to remember having seen a Template nav page somewhere where it could be useful to add this, but I can't remember where; can you help? Thanks, Mathglot ( talk) 01:28, 23 October 2021 (UTC)
The article on Cannabis_(drug) contains (when you read the article) a long section on "Difference between C. indica and C. sativa", but when you try to edit it, all you see is "{ { Difference between Cannabis indica and Cannabis sativa } }" (spaces added so the text doesn't appear here). I finally figured out that this is a "template" labelled Template:Difference between Cannabis indica and Cannabis sativa that contains multiple paragraphs of text; it was created earlier this year by an editor whose behavior appears to be generally questionable based on their talk page.
I guess this is a short cut that allows including a large chunk of text in multiple articles, but it makes the section of the article virtually uneditable. Is there any justification at all for this approach? The text in the template belongs in the article, but this seems like a very messed up way to approach it. My own feeling is that the template should be removed, and the text placed back in the article. Suggestions/comments? Finney1234 ( talk)
It’s got three transclusions if you check where the template is also linked in Article namespace, but I agree it makes it quite difficult for someone to improve/edit it, plus there are side effects of adding info that isn’t relevant for all three articles then ~ 🦝 Shushugah (he/him • talk) 10:38, 14 November 2021 (UTC)
I'm looking for a template that returns a country flag for a specific year. The way it should work is that I pass it two parameters, the country name and the year, and it returns the flag used at the time. I've looked at {{ Flagcountry}}, but that doesn't do it. Anyone know any other templates? Gonnym ( talk) 18:04, 17 November 2021 (UTC)
{{country alias|code|year=...|flag=yes}}
).
Primefac (
talk) 18:08, 17 November 2021 (UTC)
[[File:{{{flag alias-{{{variant}}}|{{#if:{{{flag alias|}}}|{{{flag alias}}}|Flag placeholder.svg}}}}}
. So If I use this: {{
flag|France|1816}}
I get:
France, which is not
File:Royal flag of France during the Bourbon Restoration.svg (and I don't need an icon, but that's currently not the main issue).
Gonnym (
talk) 19:14, 17 November 2021 (UTC)
Template:Citeplato has been broken for some time, with every link leading to a 503 error page at Toolforge ( example). The template creator ( User:Atethnekos) hasn't edited since 2014; User:Deor asked for help on the talk page in August 2020 and got no response. Does anyone here know how to fix this? Thanks. Dan from A.P. ( talk) 13:21, 21 November 2021 (UTC)
I've tried using
Template:Col-float recently, but I want to be able to tweak the widths of the columns, as I don't need them to be 30em wide (the default used by the template). I used the width parameter, but it seems that parameter only allows the width to be increased – for instance, if I use {{Col-float|width=40em}}
, the width will be increased to 40em, but if I use {{Col-float|width=20em}}
, the width will remain 30em. Any ideas on why this might be happening?
RunningTiger123 (
talk) 17:06, 8 December 2021 (UTC)
Hi, all, I've created a user essay that I think addresses an issue we have here on Wikipedia regarding template creation. It's called Not everything needs a template. Similar to Not everything needs a navbox, but it addresses a similar issue with navboxes but also infoboxes and sidebars. Feel free to edit or add to the essay or make suggestions on the talk page of the user essay. I do believe it's an essay we need. -- WikiCleanerMan ( talk) 22:16, 10 December 2021 (UTC)
Template:Chembox has an RFC for possible consensus. A discussion is taking place. If you would like to participate in the discussion, you are invited to add your comments on the discussion page. Thank you. DePiep ( talk) 09:49, 16 December 2021 (UTC)
Hi, can someone please look into the documentation of {{ Gallery}} and update it accordingly, so that editors don't face the issues that were raised at Wikipedia:Help desk § Gallery problem (raised on 13th January '21). Thanks! --- CX Zoom(he/him) ( let's talk| contribs) 10:25, 14 January 2022 (UTC)
{{Shading PVI|party=R|value=2}}
or {{Shading PVI|R|2}}
and get the same result if done in correct order. But in the case of {{
Gallery}}, the parameters not explicitly mentioned something like title=
,alt1=
, etc. are assumed to be alternating for a file and it's caption. The sequence in template documentation provides for a pattern of parameters: file1, alt1, cap1, file2, alt2, cap2, .... Here, altn is always a named parameter whenever used, but a person accustomed with a typical template (like the one who asked for help at help desk) might not understand that and assume that merely following the sequence without explicitly naming the parameters would work as is the case with {{
Shading PVI}} above. But it doesn't work out as intended causing confusion on the part of the editor. ---
CX Zoom(he/him) (
let's talk|
contribs) 12:37, 14 January 2022 (UTC)
{{template|param1|named1=whatever}}
is the same as {{template|named1=whatever|param1}}
), but| File: | alt1= | Write a caption here
|alt1=
para is an optionally-named parameter.). Primefac ( talk) 14:07, 14 January 2022 (UTC)|alt1=
for the first image,|alt2=
for the second image, etc
You are invited to join the discussion at Template talk:Table cell templates § Color change in "Nominated". RunningTiger123 ( talk) 03:33, 16 January 2022 (UTC)
I noticed that due to the construction of Template:Hebrew month and Template:Hijri month, which are structured as infoboxes but constructed as tables, sometimes the text gets REALLY close to the template, like sometimes touching it, bc I presume there isn't adequate padding. Examples, though you might have to adjust your browser window size to see how close it gets: Shevat, Rajab (which also just... has a whole situation). I feel like they might be better structured to use Template:Infobox, but I am not well versed in templates and their construction. At minimum, it warrants some sort of fix about the padding? ~Cheers, Ten Ton Parasol 02:09, 17 January 2022 (UTC)
The URLs used by {{ Dynamic IP}}, {{ Shared IP}} etc. don't work. I corrected one URL and then realized that every template uses different URLs and none of them works. Thoughts on how to solve it once and for all? Maybe some joined code? -- Muhandes ( talk) 10:24, 19 January 2022 (UTC)
Something weird seems to happen with {{ Medical resources}}: it appears to suppress the display of a stub tag appearing after it. I've asked at Template_talk:Medical_resources#Interferes_with_display_of_stub_tags?, but then thought someone here might be able to help. Please have a look and comment there if you have any idea what's happening. Thanks. Pam D 12:58, 19 January 2022 (UTC)
Hey, I don't know if this is the right forum, but there is an issue that I hope you guys might be able to help with.
A few days ago, something changed, which broke the {{ Template:navy}}, and I don't know what.
Previously, the {{ Template:navy}} and {{ Template:naval}} worked exactly the same. However, now the navy one don't work anymore.
Example:
Anyone know what happened, or what can be done to fix it? Thanks
Skjoldbro (
talk) 08:57, 23 January 2022 (UTC)
Is there a banner to mark an editintro template? Something like {{ subst only}} or {{ preloaded template}} , to show that this template may be transclusionless, but is loaded by some other processes. Or do these use {{ transclusionless}} ? -- 65.92.246.142 ( talk) 00:25, 1 February 2022 (UTC)
<noinclude> {{documentation|content= {{transclusionless}} }} </noinclude>
Is there a banner to mark a template that is called from LUA? Something like {{ preloaded template}} , to show that this template may be transclusionless, but is loaded by a LUA module, thus does not appear on the transclusion count. Or do these use {{ transclusionless}} ? -- 65.92.246.142 ( talk) 00:25, 1 February 2022 (UTC)
|reason=
as needed to provide information about which template or module uses the template page, so that people do not have to hunt around. –
Jonesey95 (
talk) 18:48, 1 February 2022 (UTC)Hi all
I'm building some documentation using Template:Graph:Highlighted_world_map_by_country, does anyone know if its possible to add links in to individual countries so people could click the links to access other pages?
Thanks
John Cummings ( talk) 20:20, 7 February 2022 (UTC)
I see that at eg Ice hockey at the 2022 Winter Olympics – Men's team rosters#Canada we're using section headers and then at Canada at the 2022 Winter Olympics#Ice hockey they can use {{#section:Ice hockey at the 2022 Winter Olympics – Men's team rosters|CAN}} to get the content there. Seems a vastly better approach than the misnamed "convenience templates". Probably I've missed lots of discussion about this but I'm assuming I can wade in and change over to this new improved style. Curling is still using {{ 2022 Winter Olympics curling convenience template navbox}} and I note we already have blank "convenience templates" at Category:2022 Commonwealth Games convenience templates for two sports which need deleting, I assume. Nigej ( talk) 16:50, 6 February 2022 (UTC)
Hi everyone, I recently created a template that can be used to mark votes/comments cast by sockpuppets. The template is {{ Sock vote}}. I didn't spent a lot of time to create this and it may require some modification. Please feel free to review and modify the template as appropriate and then use it! Thanks! --- CX Zoom(he/him) ( let's talk| contribs) 14:26, 28 February 2022 (UTC)
{{ Medal Display}} is messed up, it lumps all "other" into "South Africa" (ZAR). It seems to me that all non-South African medals should be stripped off and placed in a "default" subtomplate, and ZAR should actually function like its name implies, for South Africa. -- 65.92.246.142 ( talk) 22:19, 27 February 2022 (UTC)
|country=ZAR
will still return the proper results. As soon as I'm more awake (and find some time) I'll split the ZAR medals back to the /ZAR subtemplate. That being said, if someone wants to deal with it first, by all means go for it.
Primefac (
talk) 22:25, 27 February 2022 (UTC)
|country=
. This would return ZAR values back to its base and mean updating the 182 pages that are currently calling {{
Medal Display/other}}.|country=
parameter and make that a top-level switch (i.e. we check country, then check code). Thoughts?
Primefac (
talk) 13:20, 1 March 2022 (UTC)Hi, we have some amazing template like {{
If IP}}, {{
If autoconfirmed}}, etc. These return a value based on the status of the user. Can someone direct me to, or make a template that returns us the username or IP address of the user? I want to use it with {{#ifeq
such that, when returned username is equal to {{
REVISIONUSER}}, we get a message that should otherwise not be shown to anyone else. Thanks! ---
CX Zoom(he/him) (
let's talk|
contribs) 10:43, 2 March 2022 (UTC)
Is there a way to mark a page as a template sandbox if it is a template subpage's sandbox version? {{
Template sandbox notice}}
doesn't seem to support such functionality.
For instance, with this template page set
{{
some template}}
{{
some template/some subpage}}
{{
some template/sandbox}}
{{
some template/sandbox/some subpage}}
If I were to use {{
template sandbox notice|subpage-name=sandbox/some subpage}}
it would not work, if I were to use {{
template sandbox notice|subpage-name=some subpage}}
, the sandbox notice assumes that this is the sandbox for {{
some template/sandbox}}
instead of {{
some template/some subpage}}
. It seems there should be a way to indicate the template page this is the sandbox to, and possibly indicate it as a template subpage's sandbox
--
65.92.246.142 (
talk) 13:17, 11 March 2022 (UTC)
{{
some template/sandbox/some subpage}}
, but rather {{
some template/some subpage/sandbox}}
as the sandbox of the /some subpage
subpage.
Primefac (
talk) 13:26, 11 March 2022 (UTC)
{{/sandbox}}
from this page would mean calling {{Wikipedia talk:WikiProject Templates/sandbox}}
, which is what would happen if {{some template}}
calls the subtemplate like that and it were transcluded here. You will always need to have the /sandbox version of a template calling the /sandbox version of any subpages or likewise, unless you're developing a new subtemplate and thus can do all of your sandboxing on that page directly. That being said, I'm pretty sure if you include a {{
documentation}} page, it will correctly identify which sandbox the page is for.
Primefac (
talk) 19:32, 11 March 2022 (UTC)A requested move discussion has been initiated for Wikipedia:Template limits to be moved to Help:Template limits. This page is of interest to this WikiProject and interested members may want to participate in the discussion here. — RMCD bot 01:33, 20 March 2022 (UTC)
Hi, I recently opened a proposal at Wikipedia:Village pump (proposals) § Proposal for Template:Template help, which might be of interest to participants of this WikiProject. Please feel free to join the discussion, if you desire to. Thanks! --- CX Zoom(he/him) ( let's talk| contribs) 12:17, 27 March 2022 (UTC)
Template:Nom has an RFC for possible consensus. A discussion is taking place. If you would like to participate in the discussion, you are invited to add your comments on the discussion page. Thank you. — Preceding unsigned comment added by Ftrebien ( talk • contribs) 21:43, 23 January 2022 (UTC)
I don't know why we use the word "usage" to head the template documentation section on how to use a template rather than the more readily understood word "use". The term "usage" is always a noun, while "use" can be either a noun or verb, but used as a section heading, it clearly is a noun. The term "usage" implies that this is the proper use of a template, white the more general term "use" implies that this is a merely a guide on how to use the template. I vote for "use". Your aye, Buaidh talk e-mail 02:24, 17 May 2022 (UTC)
Page watchers may be interested in Template talk:Information#General style of template (and use of mbox class). Please leave any comments there. Izno ( talk) 03:53, 18 May 2022 (UTC)
Hi all. I'm here with a question about the wording in one specific template. As some relevant background, I work for CME Group and have a conflict of interest, and I've been making some requests to fix issues on CME Group CEO Terrence A. Duffy's page. Editors have been very helpful with their feedback, and the page is in a much better place. The editor who helped complete some of the updates added the Paid contributions template to the page so that it's clear to readers that there has been involvement from an editor with a financial conflict. However, I wanted to reach out here as they were not sure if it is possible to amend the template to reflect that the page does not need cleanup. I discussed it with the editor and they said the page is in great shape (they even noted this in their edit summary about the template). However, the template says that cleanup may be needed.
Is there an alternative template to flag the paid contributions but not indicate that the page still needs work? Or is there a way to amend the template in this type of case?
Thank you, Lbischel ( talk) 20:22, 20 May 2022 (UTC)
Page watchers may be interested in Module talk:Flex columns § Update to CSS. Please leave any comments there. Izno ( talk) 01:22, 21 May 2022 (UTC)
Category:Flag template shorthands has an RFC for possible consensus. A discussion is taking place. If you would like to participate in the discussion, you are invited to add your comments on the discussion page. Thank you. Fernando Trebien ( talk) 20:19, 3 June 2022 (UTC)
This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 | ← | Archive 5 | Archive 6 | Archive 7 | Archive 8 |
There is an RfC concerning pointing to the template namespace in the 2019-2020 coronavirus pandemic navbox. Please see Template talk:2019–20 coronavirus pandemic#RfC on linking to template namespace. Bait30 Talk? 04:27, 13 March 2020 (UTC)
Also, could someone knowledgeable in editing templates help out here. Bait30 Talk? 04:29, 13 March 2020 (UTC)
A while back, I stumbled upon this set of data that lists the ridership data between 2011-2017 for all railway stations in Japan. There is a bunch of files in there, one of which is a GeoJSON file that I deciphered to contain the actual numbers. So far, I've been manually adding them into articles, but is there a way to turn this into a template like Template:TRA ridership? ◢ Ganbaruby! (remember to ping!) 09:22, 25 March 2020 (UTC)
There are three CfDs for template categories Theatre award footer templates, Current Honkbal Hoofdklasse team rosters templates, and Clock templates. — andrybak ( talk) 13:12, 25 March 2020 (UTC)
I noticed that the main heading of the navbox Template:Mausoleums in Iran is a red link. The closest page I could find that makes sense is List of tombs of Iranian people, but some of the tombs on that list are outside of Iran, so it wouldn't really make sense to use it. Does anyone here have any ideas? or should it be TfD? Bait30 Talk? 06:39, 9 February 2020 (UTC)
You are invited to join the discussion at Template talk:F#Misused and unused. — andrybak ( talk) 21:20, 26 March 2020 (UTC)
Hi all
The maps on the Coronavirus pandemic articles need some technical help which has been documented on phabricator, I think that some of the tasks relate to templates, so please take a look.
If you're not able to assist with any of the tasks please still subscribe to it, it will help software engineers understand there is community support for fixing these issues.
Thanks very much
John Cummings ( talk) 12:20, 28 March 2020 (UTC)
I'm trying to do a minor upgrade to
Template:Letter other reps, and I've sandboxed a new version that calls a sub-template at
Template:Letter other reps/morse that utilizes the #len: parser function as the value for a #switch:, but instead of evaluating to the length of the string being passed, it just returns the plain text {{#len:value}}
. Can someone who hasn't been away from editing Wikipedia templates for the last five years take a look and see if they can see what I'm screwing up here? You can see the output I'm getting with the switch condition commented out - just evaluating the #len: parser at
Template:Letter other reps/testcases. Thanks for anyone's help.
Van
Isaac
WS
cont 06:38, 17 April 2020 (UTC)
{{#len:value}}
should be {{#invoke:String|len|value}}
, following the examples at
Module:String. {{#invoke:String|len|Something}}
→ 9 --
John of Reading (
talk) 07:09, 17 April 2020 (UTC)
Hi there, I've proposed some improvements to Template:Moved discussion to so as to make it clearer what's going on with the discussion at the source page, whilst retaining the content of it there. It'd be great to get some input from anyone who has anything to contribute - I've written the details down over at Template talk:Moved discussion to :) Cheers, Naypta ☺ | ✉ talk page | 09:28, 27 April 2020 (UTC)
For the last week, I've been using
Auto-Wiki Browser to update
Template documentation pages as per
WP:CAT#T to have all template categories and interwiki links in documentation pages suppressed when transcluded into sandboxes by using {{
Sandbox other}}
. Through this project, I've seen a lot of template documentation pages, and thought of a few other maintenance tasks that I wanted to run by this WikiProject:
<noinclude>{{
documentation}}
</noinclude>
. Some of the template documentation pages do not currently have categories, and as such do not have the code for suppressing categories at this time. A follow-up task would be to add:
<includeonly>{{Sandbox other||
<!-- Please place categories below; interwiki links at Wikidata-->
}}</includeonly>
{{
sub documentation}}
as a subpage cohort to {{
documentation}}
that specifically focuses on technical maintenance of the template logic and information, transcluding a page like /subdoc in any subpages with maintenance or future expansion of functionality.{{
Testcase other}}
template to replace the existing logic?<templatedata>...</templatedata>
can currently be found in many template documentation pages, and oftentimes takes up more than a majority of those /doc page files in terms of lines and bytes. I feel like that should really have its own standard subpage like /doc, and {{
documentation}}
could get them both for the main template, but not have it cloggin up /doc. Obviously that will take some consultation with the people who maintian the tools that build the templatedata, but this seems like it is only going to get worse in the future.Thanks for your feedback, and especially if anyone wants to tackle any of these projects. I've just spent the last week almost doubling my previous record for edits in an entire year, so I'm ready to peace out from any big projects like this. Thanks WikiProject Templates for your help! Van Isaac WS cont 07:57, 1 May 2020 (UTC)
{{
braille cell}}
for an example of a monster that could use subtemplate documentation.{{
testcases other}}
isn't in the documentation for other subpage other documentation. That's probably part of the reason it isn't getting used.
Van
Isaac
WS
cont 18:20, 1 May 2020 (UTC)You are invited to join the discussion at Wikipedia talk:Welcoming committee/Welcome templates#RfC on welcome template standardisation. Naypta ☺ | ✉ talk page | 08:07, 9 May 2020 (UTC)
Hello, your input would be welcome at Template talk:EditOptions#Add link target for Publish changes. Thanks, Mathglot ( talk) 23:38, 13 May 2020 (UTC)
There's a redirect issue with this template: the talk page directs to Template talk:DRAM instead of Template talk:DRAM (musician) if you use the "T" at the top left of the template... it's fine if you use the "Talk" tab. Could someone fix this please, or let me know where I have to request to have it fixed? Richard3120 ( talk) 20:36, 15 May 2020 (UTC)
|name=
in navboxes (
Template:Navbox musical artist in this case) must be the same as the template page's name for the v · t · e links to work correctly. —
andrybak (
talk) 22:21, 15 May 2020 (UTC)
You're invited to join the discussion at Module talk:Template invocation § Lua error: attempt to compare string with number. — andrybak ( talk) 14:27, 19 May 2020 (UTC)
Guideline text in WP:SIDEBAR (aka WP:NAVBOX) makes it seems that navigational boxes (navboxes for short) and sidebar templates (sidebars) are "equally ranked" kinds of navigational templates. However:
So what is the relationship of sidebars and navboxes? Should categories "<topic> sidebar templates" be always categorized into "<topic> navbox templates"? For example, should Category:Geography and place sidebar templates be a subcategory of Category:Geography and place navigational boxes? Or: should sidebars be added to the group of subcategories sorted by ' ', to make the first group of categories: infobox, navboxes, and sidebars? Third alternative that I can think of would be to avoid creating the "<topic> sidebar templates" categories, but that would mean that all of Category:Sidebar templates needs to be merged into corresponding navbox categories. — andrybak ( talk) 14:45, 30 May 2020 (UTC)
Just thought I should notify here that I proposed to remove the dated maintenance categories from {{ deprecated template}} at Template talk:Deprecated template#Dated maintenance categories so that someone actually sees the proposal. -- Trialpears ( talk) 21:51, 30 June 2020 (UTC)
I want to place some boilerplate text in a Template subpage (to declutter; to make it separately editable and not template-protected; and I might need it twice) and then access it from the template, so that it works wherever it's transcluded from, and also whether we're transcluding the Template, or a sandbox copy of it, with its own subpage. Coding the full path (e.g, [[Template:Foo/boilerplate]]) works for article transclusion, but seems inelegant, and also means the sandbox copy will have to be tweaked if we want to use its subpage. My programming mind wants me to code a relative url here, like {{/boilerplate}} but of course that won't work when transcluded from an article, only from the template page itself. Is there some subst-trick that will do what I want here? Or is there a better solution? Real-world example is now up at Template:Dablinks/sandbox. Ping, please. Mathglot ( talk) 05:43, 15 July 2020 (UTC)
../
first thing and it didn't work, but according to
Wikipedia:Page_name#sub maybe I messed up and should try that again.
Mathglot (
talk) 20:02, 15 July 2020 (UTC) No, no luck with that. Oh, well.
Mathglot (
talk) 20:07, 15 July 2020 (UTC)
A requested move discussion has been initiated for Template:No substitution to be moved. This page is of interest to this WikiProject and interested members may want to participate in the discussion here. — RMCD bot 07:03, 24 July 2020 (UTC)
I would love to see a list of tools here for e.g. verifying template parameter usage, counting usages, etc. If others agree, I'll add a section as I find these tools. -- Adamw ( talk) 16:02, 28 July 2020 (UTC)
Can someone help to turn the following into a template?
Hatting template, slightly NSFW and a bit of a surprise if you're not expecting it
|
---|
|
Thanks in advance. Aditya( talk • contribs) 02:04, 1 August 2020 (UTC)
Template:Tfd instructions has been nominated for deletion. As it falls within the purview of this project, please consider joining in the discussion here. Primefac ( talk) 20:37, 11 August 2020 (UTC)
The template is returning {{{Name}}}
as default value in the infobox unless the Name= parameter is filled. I've come across several instances in articles where the parameter has been omitted. I started fixing this manually in articles (i dont' have AWB) but i thought there might be a way to deal with the root cause. I believe piping a magic word would solve this, but i'm not entirely sure how to write the syntax correctly. I'm envisioning something like {{{Name|#123;#123;#PAGENAME:#125;#125;}}}. Can anyone help me with this? Thank you.
Zindor (
talk) 13:42, 16 August 2020 (UTC)
Two coords seem to be overwriting eachother in the top right of Canyon Diablo Bridge. -- Tagishsimon ( talk) 08:06, 8 September 2020 (UTC)
You are invited to join the discussion at Wikipedia:Categories for discussion/Log/2020 September 22 § Category:Country templates by topic. — andrybak ( talk) 21:44, 22 September 2020 (UTC)
A requested move discussion has been initiated for Template:No substitution to be moved. This page is of interest to this WikiProject and interested members may want to participate in the discussion here. — RMCD bot 02:07, 29 September 2020 (UTC)
As part of the project Making working with templates easier, the Technical Wishes team (WMDE) is planning to make improvements to how users interact with templates in VisualEditor, including updates to TemplateData and its editor. Additionally, the team is planning to introduce changes to syntax highlighting to make working with templates written in wikitext easier.
To ensure these proposed features making improvements, we would like to get feedback by conducting usability tests. We specifically want to conduct testing with experienced editors who create and maintain templates, including TemplateData.
If this description fits you and you’re interested in contributing to the development of Wikipedia,
please fill in this form!
Note: this is a 45-60 minutes commitment. -- For the Technical Wishes Team:
Max Klemm (WMDE) (
talk) 09:29, 13 October 2020 (UTC)
I created Template:Lineage + Module:Lineage (originally it:template:discendenza) as a simpliest alternative to Template:Tree chart. Can someone verify the doc subpage? Thanks. -- M.casanova ( talk) 08:59, 18 October 2020 (UTC)
Hi all
3D models for various tools are not becoming available on Wikimedia Commons, I'm not good with templates so can I request that someone adds a field for 3d model to Template:Infobox tool. I was thinking about adding it to the image or image2 fields but its just not correct
Thanks very much
John Cummings ( talk) 15:52, 26 October 2020 (UTC)
|image=
field is "not correct"? Not saying we can't add something to {{
infobox tool}}, just want to make sure we fix any existing errors first.
Primefac (
talk) 17:21, 26 October 2020 (UTC)|image=
because it's not a static image, so a third parameter (e.g. |3dmodel=
) needs to be added to the infobox, even though it will (on the technical/backend) still be considered "an image". Does that sound about right?
Primefac (
talk) 19:07, 26 October 2020 (UTC)
Done. Primefac ( talk) 00:25, 29 October 2020 (UTC)
Hi
I'm working on a number of articles related to solar power plants and other renewable energy infrastructure projects. One thing that I would really like to include in the infobox is a list of funders of each project, both investors and banks who loan money to the project, however for most infoboxes for infrastructure there are no fields to show this. I know in some articles a second infobox is added on specific aspects, is there an infobox that I could use to show things like investment and loans to a project, total project cost etc?
Thanks very much
John Cummings ( talk) 23:21, 28 October 2020 (UTC)
Template talk:Because you thanked me § Wrong timestamp I dream of horses (Contribs) Please notify me after replying off my talk page. Thank you. 21:39, 4 November 2020 (UTC)
The top level category for navbox templates is Category:Navigational boxes. There are two issues present in a lot of template categories:
|type=navbox
, even though it contains not only navboxes, but other types of templates as well.Several speedy category C2C renaming submissions were opposed due to presence of parent categories which use "Foo templates" naming scheme, so I'm bringing it to a wider discussion.
Should categories which consist exclusively of navboxes be always named "Category:Foo navigational boxes", regardless of naming schemes in parent categories? — andrybak ( talk) 14:25, 8 November 2020 (UTC)
foo navigation templates? Do you mean navboxes? Or navboxes and sidebars together? I.e. merge the trees of Category:Navigational boxes and Category:Sidebar templates into one? — andrybak ( talk) 19:30, 9 November 2020 (UTC)
Without looking at every single one within it but assuming they are all navboxesmeans that we risk creating a polluted category. For example, a WP:PetScan search (intersecting with Category:Infobox templates) found Template:Infobox Bach composition in this tree, but it is in the process of being merged.
There is an RFC proposal to deprecate WP:T3 deletions of templates ("duplicate or hardcoded instances"). Your opinions are appreciated at the discussion. Primefac ( talk) 15:05, 26 November 2020 (UTC)
Template {{ Lead too short}} has an RFC for possible consensus. If you would like to participate in the discussion, you are invited to add your comments on the discussion page. Thank you. CapnZapp ( talk) 11:01, 2 December 2020 (UTC)
Hi! I'm Dswitz10734, and I'm part of Wikiproject Star Wars. I wanted to request an infobox for a fictional people. There is already an infobox for a fictional race, but if you go to the page Mandalorian, the info box says at the top "Star Wars Race". Mandalorian is not a race, rather a people. It could have the same stats as the race infobox, but instead at the top it would say "Star Wars people". Can someone please help? Dswitz10734 ( talk) 13:11, 2 December 2020 (UTC)
You are invited to join the discussion at Wikipedia:Village pump (idea lab) § Thinking about a radical reduction of talk page banners. {{u| Sdkb}} talk 04:12, 6 December 2020 (UTC)
The Wikiquote community has decided to set up an assessment scheme similar to that of Wikipedia Wikiprojects. It should be pretty straightforward. There will be twelve classes into which all mainspace pages will be sorted: Unassessed, Stub-Class, Start-Class, C-Class, B-Class, A-Class, GP-Class, FP-Class, List-Class, Disambiguation-Class, Redirect-Class, and Placeholder-Class. GP and FP stand for "Good Page" or "Featured Page". There are no topical distinctions, though it would likely be useful to have a BLP parameter. Can anyone help with this? BD2412 T 21:36, 6 December 2020 (UTC)
There is a discussion about a proposal to improve Template:Section sizes going on at Template talk:Section sizes#Proposal for optional cumulative size column. Your feedback would be appreciated. Mathglot ( talk) 08:25, 12 December 2020 (UTC)
The article List of United States television stations available in Canada links to a number of templates from inside tables and from section hatnotes.
For example, in a table:
|-
| [[Template:Atlanta TV|Atlanta, Georgia]]
| [[WPCH-TV]]
| [[Independent station|Independent]]
| {{yes}}
and in a section hatnote:
{{Main|Template:MTL TV|Template:Quebec City TV|Template:Quebec TV}}
It seems to me that these pages in Template space are not designed to be called in this way from mainspace, and I can see no examples of such from the Help page. Furthermore, some links are piped so that a reader might expect to be linked to an article, but instead finds a Template page.
Is this use acceptable, or should the article be edited to display these templates in the way they were designed to be displayed, or at least use unpiped links. Shhhnotsoloud ( talk) 08:49, 9 December 2020 (UTC)
Thank you all. A can of worms! Shhhnotsoloud ( talk) 09:31, 12 December 2020 (UTC)
Hello! I am relatively new to editing on Wikipedia but I've just created my first template, Template:Renamed. I was looking for a specific template to add to an article just after moving it to a new name but couldn't find one. So out of curiosity, I dug in and figured out how to set one up myself. The specific use case is for the article Dai (cryptocurrency) which I just moved from MakerDAO. There needs to be some changes to the article itself to match the new title, and since I probably wasn't going make all those changes in one sitting right after moving the page, it seemed a template of this sort would provide a helpful notice.
On the template itself, I believe I've done everything correctly, at least in terms of functionality. If there are any technical standards for templates that should be included, please modify it accordingly. Otherwise if there's something else wrong with it, let me know.
–Thanks HiddenLemon // talk 07:48, 24 December 2020 (UTC)
This probably has a simple solution but I can't think of one. In
Template:Certification Table Entry, the need arose to categorize with a sortkey based on |region=
. The problem is that |region=
may include a wikilink, e.g. |region=Venezuela (
APFV)
, so I can't just use [[Category:Needed category|{{{region}}}]]
, as it results with [[Category:Needed category|Venezuela (
APFV)]]. Any idea how to avoid this without much code? --
Muhandes (
talk) 00:43, 27 December 2020 (UTC)
{{
delink|{{{region}}}}}
as the sortkey. —
JJMC89 (
T·
C) 01:16, 27 December 2020 (UTC)
Template:Source conflict ( | talk | history | links | watch | logs) FYI, a new verifiability reference cleanup template has shown up. -- 70.31.205.108 ( talk) 04:22, 10 January 2021 (UTC)
Greetings and felicitations. I keep running into extra carriage returns and spaces in navbars and other templates, but often do not have the skill to remove them myself. An example is the Template:Young Bosnia, as in the "Nedeljko Čabrinović" article's External links section. Since many of these templates are seldom frequented by editors, pinging people who haven't seen a template in a year or more, often several, can be deemed obnoxious. Is this the place to bring these problems? — DocWatson42 ( talk) 08:58, 31 December 2020 (UTC)
One more, here: Template talk:Service award progress#Bug_report: Count starts_over. (I admit it's a unimportant template.) — DocWatson42 ( talk) 12:10, 7 January 2021 (UTC)
Greetings and felicitations. The documentation for Template:Infobox ship begin states
: N.B.: {{ Infobox ship begin}} contains code that can automatically style a variety of ship and ship-class article titles. It adds a DISPLAYTITLE with italics unless
|display title=none
is specified. For details see: the infobox usage guide § Title styling.
and includes the field
|display title=
However, the title of Left Coast Lifter is not italicized, and when I tried to force the italicized title, I received an error messages. When I tried to follow the documentation I received this error message:
Warning: Page using Template:Infobox ship image with unknown parameter "display title" (this message is shown only in preview).
and when I tried using Template:Italic title I received a different one. Any ideas? — DocWatson42 ( talk) 18:14, 27 January 2021 (UTC)
display title
parameter is part of {{
Infobox ship begin}} not {{
Infobox ship image}}. The template didn't apply the italics automatically because the article title doesn't match one of the formats that it understands; see
Template:Infobox ship begin/Usage guide#Title styling. --
John of Reading (
talk) 18:31, 27 January 2021 (UTC)Greetings and felicitations. In WABE#External links, Template:FM station data is generating an extra line break/carriage return after itself. Would someone please be so kind as to fix this?
Also, while this is not (I believe) part of your bailiwick, I have a comment to make about the appearance/an option of the mobile version of Wikipedia. Where should I do this? — DocWatson42 ( talk) 10:29, 16 January 2021 (UTC)
I was thinking of cleaning up Wikipedia:TemplateData#Over_100,000_uses_in_mainspace and something that might help is if we added usage categories that indicate a template's usage class to templates.
For example, Template:Infobox would be in Category:Templates with over 1,000,000 uses.
A script could then be made that looks through templates that are in these major usage categories and sees if they also are in Category:Templates_using_TemplateData. If not, they get added to the list on Wikipedia:TemplateData.
A bot should also handle finding the usage of each template and adding them to their appropriate usage category.
Thoughts?
-- Lectrician1 ( talk) 05:04, 11 February 2021 (UTC)
Hey, I have, of course, a question about templates and figured this might be the place to bring it.
I've run into some problems with templates (and some userboxes) that automatically put categories on a user page. Most of the time, this is very helpful. But I'm not sure what to do when editors practice with templates on their sandboxes and their sandbox pages get placed in inappropriate categories. Today I ran into this issue with templates that are put on user pages for editors who've been banned by the community. For most of these instances, the editor has been inactive for years so I just blanked the sandbox. But, if they are new, I don't want to discourage them practicing with putting different templates on a sandbox to see what they look like. Also, with userboxes, sometimes the category that the userbox places the user page in is deleted, so we are left with a lot of red link categories. In these cases, I can edit the userbox and remove the code that places the category on the user page.
So, my question is, is there any code I could put on a page with a template that would omit the category being placed on the page? I don't want to edit the template to remove the category, like I've done with userboxes, because that would mess up all of the pages where it is being used correctly. I thought there might be some message I could put on these sandboxes that would say "no category" or something, on an individual usage of a template.
Thanks for any answers you could provide. Liz Read! Talk! 02:05, 28 February 2021 (UTC)
{{PAGENAME}}
!= {{ROOTPAGENAME}}
) and not populate the category in those cases, if this is a significant issue taking up a lot of patrollers' time. –
wbm1058 (
talk) 03:32, 28 February 2021 (UTC)
|nocat=true
at
Wikipedia:Category suppression#Usage. {{
Suppress categories}} is a general method for templates which don't support it.
PrimeHunter (
talk) 11:25, 28 February 2021 (UTC)
I noticed the Template:Infobox women by region has "out of 153" in the rank for the Global Gender Gap Index (the GGG in the template). I think that needs to be removed because the number of countries in the report can vary by year; exactly how the the GGI section accommodates for it.
I'm sorry to ask the dumb favor, but I already tried to fix it once and basically broke the whole thing. (Not a good look). I'm not sure how to better describe the issue, but I've already discussed it a bit over at the Wikipedia talk:WikiProject Women in Red. Hopefully this makes sense and someone can take that out? Cheers Estheim ( talk) 20:12, 23 March 2021 (UTC)
|report_year=
to generate an automatic reference and the correct number for that year. If the project wants that and can supply links to all of the relevant reference documents, I could probably code it for you. –
Jonesey95 (
talk) 00:38, 24 March 2021 (UTC)
|ggg_year=
) that automatically: 1) generates the reference, 2) generates the right out of ...text, 3) adds the year where relevant. I see Jonesey95 already offered technical help. If a backup is needed, count me in. MarioGom ( talk) 13:42, 24 March 2021 (UTC)
Hello, I hope this is an appropriate place to ask for help making minor fixes these templates. For the first template, it is missing Chinese lang tags (see
Template_talk:Infobox_name_module#Missing_lang_tags). You can see an example of the difference this makes on
my sandbox. Essentially, the chinese
, traditional
, and simplified
parameters should be tagged with zh
, zh-Hant
, and zh-Hans
, respectively. Currently, none of them are tagged, so they all display identically according to the system default.
For the second template, it inserts an extraneous space and semicolon when simplified Chinese is omitted. For example, {{CJKV|t=臺灣|p=Táiwān}}
currently produces "
traditional Chinese: 臺灣; ;
pinyin: Táiwān". Obviously that extra ; should not be there (see
Template talk:CJKV#Incorrectly adds extra semicolon and space). Thanks,
ChromeGames923 (
talk ·
contribs) 19:38, 25 March 2021 (UTC)
There are two problems in {{
Pin message}} related to the |next=
param. I don't have time to do anything about this in the foreseeable future, but there's a detailed explanation at
Template talk:Pin message#Flaws in "next" param if anyone is interested.
Mathglot (
talk) 21:47, 25 March 2021 (UTC)
Your feedback would be appreciated at Template talk:Pp-vandalism#Proposed new param 'sandbox'. Thanks, Mathglot ( talk) 22:59, 3 April 2021 (UTC)
You are invited to join the discussion at Wikipedia talk:Template namespace § Modules in namespace. -- Trialpears ( talk) 22:58, 18 April 2021 (UTC)
Pages watchers may be interested in MediaWiki talk:Common.css § Preview warning and hatnotes moving to TemplateStyles. Izno ( talk) 01:08, 23 April 2021 (UTC)
From April 29, it will be possible to suggest values for parameters in templates. Suggested values can be added to TemplateData and will then be shown as a drop-down list in VisualEditor. This allows template users to quickly select an appropriate value. This way, it prevents potential errors and reduces the effort needed to fill the template with values. It will still be possible to fill in values other than the suggested ones.
More information, including the supported parameter types and how to create suggested values, can be found on the TemplateData help page and the project page. Everyone is invited to test the feature, and to give feedback on this talk page. -- Timur Vorkul (WMDE) ( talk) 17:16, 27 April 2021 (UTC)
You are invited to join the discussion at Wikipedia:Templates for discussion/Log/2021 May 13 § Template:Auto archiving notice. {{u| Sdkb}} talk 03:19, 14 May 2021 (UTC)
Editors have been asking for more than a decade at the talk page of {{ Format price}} to get it working better so that e.g. 407000 renders as 407,000 rather than 407 thousand. Would anyone be interested in taking on the project of fixing it? {{u| Sdkb}} talk 00:00, 20 May 2021 (UTC)
can anyone recommend a reporting tool where I could see for example articles tagged for {{tone}} sorted by date? or recommend a wikip community or project for that? Incheon for example was tagged for tone almost 7 years ago. there's gotta be a better process than always adding tags and it seems like it's no one's job to conclusively do whatever cleanup is needed & remove the tags. skak E L 12:49, 14 June 2021 (UTC)
Greetings and felicitations. In the infobox for Lavender (color) there is a reference in the HSV field for one of the percentages. Unfortunately, as the template is currently configured, this means that the percent symbol comes after the reference link, in violation of MOS:CITEPUNCT. Would someone please be so kind as to fix this? — DocWatson42 ( talk) 05:39, 16 June 2021 (UTC)
|source=
, per the documentation. I have fixed it. –
Jonesey95 (
talk) 13:32, 16 June 2021 (UTC)You are invited to join the discussion at Template talk:Documentation. -- Asartea Talk | Contribs 17:33, 26 June 2021 (UTC) -- Asartea Talk | Contribs 17:33, 26 June 2021 (UTC)
Hi, I have the image from a book below, that I want to add to Tambora language, but I need to rotate it withouth having to upload a new file. Is it possible?
Thanks. Bennylin ( talk) 09:08, 28 June 2021 (UTC)
Most of the interlanguage links in templates have been moved to Wikidata by bots years ago. However about a thousand templates still have them per this search. I have started cleaning them up, anyone interested can join.
Most of what I have found so far have been links to templates in other wikis that were deleted between the time of adding the link and wikidata migration bots were run. It seems bots ignored links that pointed to deleted or otherwise nonexistent targets. Such links can be removed after verifying. A few have been simply wrong, like linking to an article or a template with different function. They can be removed here and linked to correct template from wikidata. ಮಲ್ನಾಡಾಚ್ ಕೊಂಕ್ಣೊ ( talk) 12:58, 8 July 2021 (UTC)
All Z-number templates have been nominated for deletion. You are invited to comment on the discussion at the entry on the Templates for discussion page. Mathglot ( talk) 21:36, 30 July 2021 (UTC)
Please join the discussion at Wikipedia:Categories for discussion/Log/2021 August 12 § Category:Wikipedia variable-like templates. — andrybak ( talk) 09:31, 12 August 2021 (UTC)
Currently,
Template:Infobox court always uses the word "Authorized" for the authority
parameter. It seems to me that, according to
MOS:TIES, the word "Authorised" would be more appropriate for courts located in the UK, for example.
I'm not very familiar with how templates work, but I believe the least intrusive solution is to create an additional parameter that is similar to authority
but uses the word "Authorised" instead. Then, we would need to selectively edit the articles containing the template to change the parameter for courts located in certain countries. Unfortunately,
Category:Pages using infobox court with unknown parameters alone contains 373 articles, so it is not very practical to review and edit all of these pages manually.
Any thoughts on what the best course of action here would be appreciated. RisingStar ( talk) 02:24, 18 August 2021 (UTC)
So, a while back the WP:Idaho banner was made a WP:SUBST for the Parent WP:USA banner... I have revived the Idaho Project, but want to undo/split the template back into the project version (currently in the sandbox).
Q: What "tool" would help me do this across 1000's of pages? (and is there a template expert that might help me?) Mjquinn_id ( talk) 16:33, 20 August 2021 (UTC)
I have a bit of a problem. I'll give the general issue and then specifics (as sometimes they help).
General: there is a template with two inputs, which then generates a series of outputs based on those two inputs, namely {{{1}}} <year> {{{2}}}
, where the year is what the template iterates through based on stored values. The problem I have is that there is an instance where {{{1}}} is used in two different year ranges. Using only these two inputs, can I distinguish between the year ranges?
Specifics: {{
team appearances list}} (TAL) in its simplest form takes a |team=
and a |competition=
pair of parameters, then outputs the years where that team appeared at that competition. The problem I have is with the
Republic of China at the Olympics. ROC pre-1950 was its own entity, and post-1950 is what we now call
Chinese Taipei at the Olympics, BUT it used the name "Republic of China" in a few of the post-civil-war years. Thus, when I go to a page like the
1972 appearance, it shows the pre-1950 range rather than the post-1950 range (as seen on other pages such as the
1964 appearance).
Any ideas on how I could split it? Currently these appearances are being generated from {{ infobox country at games}}, but it seems silly to throw in a parameter check in the ib (as opposed to the module) for two instances of one country at a games. Primefac ( talk) 23:17, 31 August 2021 (UTC)
-pseudocode: ifeq: country | country-hack | ifeq: year | year-hack | do-stuff-if-true | do-stuff-if-not.
Are RDTs too esoteric, or should they be included as a child of this project? Useddenim ( talk) 02:13, 10 September 2021 (UTC)
Please help with guidance for sort keys in the template {{ R from person}} by joining the discussion. Coastside ( talk) 17:40, 26 September 2021 (UTC)
In the past 12 years, I've created user templates and user categories for more than 400 countries, states, and provinces. Each of these regions uses five types of template subpages to synchronize their user templates and user categories.
Yours aye, Buaidh talk e-mail 12:17, 20 October 2021 (UTC)
Hello, everyone, this is WikiCleanerMan and I am proposing to create a task force as part of WikiProject Templates to help deal with the enormous backlog of unused templates from the Unused templates database report. Currently, the backlog extends to seventeen pages and 82,096 templates are listed as unused. The reason I am proposing this task force is because Wikipedia has an issue with templates regarding their creation and usage. Many templates are sitting around for no reason outside of creation, have been created for one purpose also known as single-use, and particularly sports-related templates that are essentially article content on a separate mainspace.
Now, this is a task that is going to require hundreds of users to deal with and the templates might need to be assessed going by page by page. Many of these templates will be subject to Tfd's which will most likely result in them being deleted.
It should be noted that some templates are in the process of being used or will be used depending on the particular circumstance. And some listed on the database are redirects to the actual template itself which can cause confusion.
Before a task force is created I propose the following name: Unused Templates Task Force as the name of this project. And I propose the following rules/guidelines of this task force:
1) A group of users to take on one page at a time. One group will handle page one of unused templates, another for page two, another for page three, and so on and so forth. Although for this, I'm still unsure if the project should tackle one page at a time or multiple. But one page at a time might be easier to do given how many are listed on one page alone. Page one for instance features 5,000 templates.
2) A group of users to tackle templates under a specific category. For instance, a group to tackle sports-related templates or politics/government templates.
3) Probably one that will be the most time consuming, a group to tackle a certain number of templates per page. Let's say, a group handles forty on page one per certain types of templates or they handle twenty at a time or thirty, etc...
4} If a template is listed as unused, but has a particular purpose, before nominating it for deletion at a Tfd, it may be best to check the purpose it was created for or to help determine a consensus with members here to avoid a potential screw up. For instance, I've created a few foreign relations templates, linked on my user page, that are listed as unused but have a particular purpose and I do intend to add them to articles in the future. So doing a Tfd for these would be counterproductive in a sense and instead, users should add it to the relevant articles. And it's also best to check if a template is part of a series of similar templates as templates under the category, Category:State Council of the People's Republic of China have two listed as unused, but others are used on the relevant articles, so nominating the two listed as unused for deletion might not help with the backlog.
5) Not all members should be notified which template from the database reports is being nominated as they were would be too many to go through. This will fall into the Canvassing policy which is not and will not be tolerated nor is part of the purpose of this task force.
If there is any objection or counterproposals, feel free to ping me as I would like to have an open discussion about this task force idea. -- WikiCleanerMan ( talk) 01:24, 7 September 2021 (UTC)
After digging through the database reports. Reports 1 to 3 are the ones that list templates that aren't redirects or stubs until number 12205. Starting with 12206 on page 3 everything after that is redirects of mainly/largely sports-related templates. Twelve thousand templates are easier to go through than the whole collection of redirects from near the end of page three to near the end of sixteen to seventeen which list the unused stub templates. Although, this doesn't clear the issue of some templates that are unused and if they were to be deleted could cause disruption for some basic functions such as Adminstats and Category:Parameter shared content templates. — Preceding unsigned comment added by WikiCleanerMan ( talk • contribs) 15:14, 12 October 2021 (UTC)
Jonesey95 has created a subpage that filters the unused templates removing stubs, redirects, S-line templates which he has nominated for deletion recently, pages with "testcases" or "sandbox" in its name, and templates edited in 2021. Currently stands at 6,800 unused. A lot easier now and can accomplish removing the backlog. -- WikiCleanerMan ( talk) 14:33, 16 October 2021 (UTC)
Tagging all active members of this project as stated on the project home page to see where they stand on the task force proposal and for them to offer any other suggestions on how to deal with the backlog and the now revised version by Jonesey95: andrybak, Berrely, BrandonXLF, Buaidh, Daniel Mietchen, DannyS712, DGG, Enterprisey, Ken Tony, Kepler-1229b, Mike Peel, Mirokado, MonkeyStolen234, Mr. Guye, Northamerica1000, Paine Ellsworth, Pigsonthewing, Sdkb, SMcCandlish, Vanisaac. -- WikiCleanerMan ( talk) 18:36, 19 October 2021 (UTC)
{{
User in Abu Dhabi|20|nocat=}}
). Am I missing something?
Gonnym (
talk) 11:27, 20 October 2021 (UTC)
Since we now have five users, not including myself, and since five is enough to create a task force, per the guidelines. I will create the subpage in a few hours and notify the respective users and will outline the goals and scope of our project. -- WikiCleanerMan ( talk) 15:47, 21 October 2021 (UTC)
The Task Force has been created. Feel free to join and make improvements. -- WikiCleanerMan ( talk) 19:59, 21 October 2021 (UTC)
I finally got tired of having to manually construct a link to show a specific list of user contributions I wanted to highlight, such as "Jimbo's last 12 Talk page edits ending 27 September at 5:25", so I wrote a template for it:
{{
Last N contributions|Jimbo Wales|12|201209270525|Talk}}
=
these 12 contributionsVariously configurable; see doc. Please add bugs/suggestions to Template talk. Sandbox and testcases still tbd. Also, I seem to remember having seen a Template nav page somewhere where it could be useful to add this, but I can't remember where; can you help? Thanks, Mathglot ( talk) 01:28, 23 October 2021 (UTC)
The article on Cannabis_(drug) contains (when you read the article) a long section on "Difference between C. indica and C. sativa", but when you try to edit it, all you see is "{ { Difference between Cannabis indica and Cannabis sativa } }" (spaces added so the text doesn't appear here). I finally figured out that this is a "template" labelled Template:Difference between Cannabis indica and Cannabis sativa that contains multiple paragraphs of text; it was created earlier this year by an editor whose behavior appears to be generally questionable based on their talk page.
I guess this is a short cut that allows including a large chunk of text in multiple articles, but it makes the section of the article virtually uneditable. Is there any justification at all for this approach? The text in the template belongs in the article, but this seems like a very messed up way to approach it. My own feeling is that the template should be removed, and the text placed back in the article. Suggestions/comments? Finney1234 ( talk)
It’s got three transclusions if you check where the template is also linked in Article namespace, but I agree it makes it quite difficult for someone to improve/edit it, plus there are side effects of adding info that isn’t relevant for all three articles then ~ 🦝 Shushugah (he/him • talk) 10:38, 14 November 2021 (UTC)
I'm looking for a template that returns a country flag for a specific year. The way it should work is that I pass it two parameters, the country name and the year, and it returns the flag used at the time. I've looked at {{ Flagcountry}}, but that doesn't do it. Anyone know any other templates? Gonnym ( talk) 18:04, 17 November 2021 (UTC)
{{country alias|code|year=...|flag=yes}}
).
Primefac (
talk) 18:08, 17 November 2021 (UTC)
[[File:{{{flag alias-{{{variant}}}|{{#if:{{{flag alias|}}}|{{{flag alias}}}|Flag placeholder.svg}}}}}
. So If I use this: {{
flag|France|1816}}
I get:
France, which is not
File:Royal flag of France during the Bourbon Restoration.svg (and I don't need an icon, but that's currently not the main issue).
Gonnym (
talk) 19:14, 17 November 2021 (UTC)
Template:Citeplato has been broken for some time, with every link leading to a 503 error page at Toolforge ( example). The template creator ( User:Atethnekos) hasn't edited since 2014; User:Deor asked for help on the talk page in August 2020 and got no response. Does anyone here know how to fix this? Thanks. Dan from A.P. ( talk) 13:21, 21 November 2021 (UTC)
I've tried using
Template:Col-float recently, but I want to be able to tweak the widths of the columns, as I don't need them to be 30em wide (the default used by the template). I used the width parameter, but it seems that parameter only allows the width to be increased – for instance, if I use {{Col-float|width=40em}}
, the width will be increased to 40em, but if I use {{Col-float|width=20em}}
, the width will remain 30em. Any ideas on why this might be happening?
RunningTiger123 (
talk) 17:06, 8 December 2021 (UTC)
Hi, all, I've created a user essay that I think addresses an issue we have here on Wikipedia regarding template creation. It's called Not everything needs a template. Similar to Not everything needs a navbox, but it addresses a similar issue with navboxes but also infoboxes and sidebars. Feel free to edit or add to the essay or make suggestions on the talk page of the user essay. I do believe it's an essay we need. -- WikiCleanerMan ( talk) 22:16, 10 December 2021 (UTC)
Template:Chembox has an RFC for possible consensus. A discussion is taking place. If you would like to participate in the discussion, you are invited to add your comments on the discussion page. Thank you. DePiep ( talk) 09:49, 16 December 2021 (UTC)
Hi, can someone please look into the documentation of {{ Gallery}} and update it accordingly, so that editors don't face the issues that were raised at Wikipedia:Help desk § Gallery problem (raised on 13th January '21). Thanks! --- CX Zoom(he/him) ( let's talk| contribs) 10:25, 14 January 2022 (UTC)
{{Shading PVI|party=R|value=2}}
or {{Shading PVI|R|2}}
and get the same result if done in correct order. But in the case of {{
Gallery}}, the parameters not explicitly mentioned something like title=
,alt1=
, etc. are assumed to be alternating for a file and it's caption. The sequence in template documentation provides for a pattern of parameters: file1, alt1, cap1, file2, alt2, cap2, .... Here, altn is always a named parameter whenever used, but a person accustomed with a typical template (like the one who asked for help at help desk) might not understand that and assume that merely following the sequence without explicitly naming the parameters would work as is the case with {{
Shading PVI}} above. But it doesn't work out as intended causing confusion on the part of the editor. ---
CX Zoom(he/him) (
let's talk|
contribs) 12:37, 14 January 2022 (UTC)
{{template|param1|named1=whatever}}
is the same as {{template|named1=whatever|param1}}
), but| File: | alt1= | Write a caption here
|alt1=
para is an optionally-named parameter.). Primefac ( talk) 14:07, 14 January 2022 (UTC)|alt1=
for the first image,|alt2=
for the second image, etc
You are invited to join the discussion at Template talk:Table cell templates § Color change in "Nominated". RunningTiger123 ( talk) 03:33, 16 January 2022 (UTC)
I noticed that due to the construction of Template:Hebrew month and Template:Hijri month, which are structured as infoboxes but constructed as tables, sometimes the text gets REALLY close to the template, like sometimes touching it, bc I presume there isn't adequate padding. Examples, though you might have to adjust your browser window size to see how close it gets: Shevat, Rajab (which also just... has a whole situation). I feel like they might be better structured to use Template:Infobox, but I am not well versed in templates and their construction. At minimum, it warrants some sort of fix about the padding? ~Cheers, Ten Ton Parasol 02:09, 17 January 2022 (UTC)
The URLs used by {{ Dynamic IP}}, {{ Shared IP}} etc. don't work. I corrected one URL and then realized that every template uses different URLs and none of them works. Thoughts on how to solve it once and for all? Maybe some joined code? -- Muhandes ( talk) 10:24, 19 January 2022 (UTC)
Something weird seems to happen with {{ Medical resources}}: it appears to suppress the display of a stub tag appearing after it. I've asked at Template_talk:Medical_resources#Interferes_with_display_of_stub_tags?, but then thought someone here might be able to help. Please have a look and comment there if you have any idea what's happening. Thanks. Pam D 12:58, 19 January 2022 (UTC)
Hey, I don't know if this is the right forum, but there is an issue that I hope you guys might be able to help with.
A few days ago, something changed, which broke the {{ Template:navy}}, and I don't know what.
Previously, the {{ Template:navy}} and {{ Template:naval}} worked exactly the same. However, now the navy one don't work anymore.
Example:
Anyone know what happened, or what can be done to fix it? Thanks
Skjoldbro (
talk) 08:57, 23 January 2022 (UTC)
Is there a banner to mark an editintro template? Something like {{ subst only}} or {{ preloaded template}} , to show that this template may be transclusionless, but is loaded by some other processes. Or do these use {{ transclusionless}} ? -- 65.92.246.142 ( talk) 00:25, 1 February 2022 (UTC)
<noinclude> {{documentation|content= {{transclusionless}} }} </noinclude>
Is there a banner to mark a template that is called from LUA? Something like {{ preloaded template}} , to show that this template may be transclusionless, but is loaded by a LUA module, thus does not appear on the transclusion count. Or do these use {{ transclusionless}} ? -- 65.92.246.142 ( talk) 00:25, 1 February 2022 (UTC)
|reason=
as needed to provide information about which template or module uses the template page, so that people do not have to hunt around. –
Jonesey95 (
talk) 18:48, 1 February 2022 (UTC)Hi all
I'm building some documentation using Template:Graph:Highlighted_world_map_by_country, does anyone know if its possible to add links in to individual countries so people could click the links to access other pages?
Thanks
John Cummings ( talk) 20:20, 7 February 2022 (UTC)
I see that at eg Ice hockey at the 2022 Winter Olympics – Men's team rosters#Canada we're using section headers and then at Canada at the 2022 Winter Olympics#Ice hockey they can use {{#section:Ice hockey at the 2022 Winter Olympics – Men's team rosters|CAN}} to get the content there. Seems a vastly better approach than the misnamed "convenience templates". Probably I've missed lots of discussion about this but I'm assuming I can wade in and change over to this new improved style. Curling is still using {{ 2022 Winter Olympics curling convenience template navbox}} and I note we already have blank "convenience templates" at Category:2022 Commonwealth Games convenience templates for two sports which need deleting, I assume. Nigej ( talk) 16:50, 6 February 2022 (UTC)
Hi everyone, I recently created a template that can be used to mark votes/comments cast by sockpuppets. The template is {{ Sock vote}}. I didn't spent a lot of time to create this and it may require some modification. Please feel free to review and modify the template as appropriate and then use it! Thanks! --- CX Zoom(he/him) ( let's talk| contribs) 14:26, 28 February 2022 (UTC)
{{ Medal Display}} is messed up, it lumps all "other" into "South Africa" (ZAR). It seems to me that all non-South African medals should be stripped off and placed in a "default" subtomplate, and ZAR should actually function like its name implies, for South Africa. -- 65.92.246.142 ( talk) 22:19, 27 February 2022 (UTC)
|country=ZAR
will still return the proper results. As soon as I'm more awake (and find some time) I'll split the ZAR medals back to the /ZAR subtemplate. That being said, if someone wants to deal with it first, by all means go for it.
Primefac (
talk) 22:25, 27 February 2022 (UTC)
|country=
. This would return ZAR values back to its base and mean updating the 182 pages that are currently calling {{
Medal Display/other}}.|country=
parameter and make that a top-level switch (i.e. we check country, then check code). Thoughts?
Primefac (
talk) 13:20, 1 March 2022 (UTC)Hi, we have some amazing template like {{
If IP}}, {{
If autoconfirmed}}, etc. These return a value based on the status of the user. Can someone direct me to, or make a template that returns us the username or IP address of the user? I want to use it with {{#ifeq
such that, when returned username is equal to {{
REVISIONUSER}}, we get a message that should otherwise not be shown to anyone else. Thanks! ---
CX Zoom(he/him) (
let's talk|
contribs) 10:43, 2 March 2022 (UTC)
Is there a way to mark a page as a template sandbox if it is a template subpage's sandbox version? {{
Template sandbox notice}}
doesn't seem to support such functionality.
For instance, with this template page set
{{
some template}}
{{
some template/some subpage}}
{{
some template/sandbox}}
{{
some template/sandbox/some subpage}}
If I were to use {{
template sandbox notice|subpage-name=sandbox/some subpage}}
it would not work, if I were to use {{
template sandbox notice|subpage-name=some subpage}}
, the sandbox notice assumes that this is the sandbox for {{
some template/sandbox}}
instead of {{
some template/some subpage}}
. It seems there should be a way to indicate the template page this is the sandbox to, and possibly indicate it as a template subpage's sandbox
--
65.92.246.142 (
talk) 13:17, 11 March 2022 (UTC)
{{
some template/sandbox/some subpage}}
, but rather {{
some template/some subpage/sandbox}}
as the sandbox of the /some subpage
subpage.
Primefac (
talk) 13:26, 11 March 2022 (UTC)
{{/sandbox}}
from this page would mean calling {{Wikipedia talk:WikiProject Templates/sandbox}}
, which is what would happen if {{some template}}
calls the subtemplate like that and it were transcluded here. You will always need to have the /sandbox version of a template calling the /sandbox version of any subpages or likewise, unless you're developing a new subtemplate and thus can do all of your sandboxing on that page directly. That being said, I'm pretty sure if you include a {{
documentation}} page, it will correctly identify which sandbox the page is for.
Primefac (
talk) 19:32, 11 March 2022 (UTC)A requested move discussion has been initiated for Wikipedia:Template limits to be moved to Help:Template limits. This page is of interest to this WikiProject and interested members may want to participate in the discussion here. — RMCD bot 01:33, 20 March 2022 (UTC)
Hi, I recently opened a proposal at Wikipedia:Village pump (proposals) § Proposal for Template:Template help, which might be of interest to participants of this WikiProject. Please feel free to join the discussion, if you desire to. Thanks! --- CX Zoom(he/him) ( let's talk| contribs) 12:17, 27 March 2022 (UTC)
Template:Nom has an RFC for possible consensus. A discussion is taking place. If you would like to participate in the discussion, you are invited to add your comments on the discussion page. Thank you. — Preceding unsigned comment added by Ftrebien ( talk • contribs) 21:43, 23 January 2022 (UTC)
I don't know why we use the word "usage" to head the template documentation section on how to use a template rather than the more readily understood word "use". The term "usage" is always a noun, while "use" can be either a noun or verb, but used as a section heading, it clearly is a noun. The term "usage" implies that this is the proper use of a template, white the more general term "use" implies that this is a merely a guide on how to use the template. I vote for "use". Your aye, Buaidh talk e-mail 02:24, 17 May 2022 (UTC)
Page watchers may be interested in Template talk:Information#General style of template (and use of mbox class). Please leave any comments there. Izno ( talk) 03:53, 18 May 2022 (UTC)
Hi all. I'm here with a question about the wording in one specific template. As some relevant background, I work for CME Group and have a conflict of interest, and I've been making some requests to fix issues on CME Group CEO Terrence A. Duffy's page. Editors have been very helpful with their feedback, and the page is in a much better place. The editor who helped complete some of the updates added the Paid contributions template to the page so that it's clear to readers that there has been involvement from an editor with a financial conflict. However, I wanted to reach out here as they were not sure if it is possible to amend the template to reflect that the page does not need cleanup. I discussed it with the editor and they said the page is in great shape (they even noted this in their edit summary about the template). However, the template says that cleanup may be needed.
Is there an alternative template to flag the paid contributions but not indicate that the page still needs work? Or is there a way to amend the template in this type of case?
Thank you, Lbischel ( talk) 20:22, 20 May 2022 (UTC)
Page watchers may be interested in Module talk:Flex columns § Update to CSS. Please leave any comments there. Izno ( talk) 01:22, 21 May 2022 (UTC)
Category:Flag template shorthands has an RFC for possible consensus. A discussion is taking place. If you would like to participate in the discussion, you are invited to add your comments on the discussion page. Thank you. Fernando Trebien ( talk) 20:19, 3 June 2022 (UTC)