Wikipedia talk:Templates

message: Is there a reason why some editors strip the newlines in templates in a article ? An example. I find less cumbersome to maintain (adding archiving lines or recovering dead links, etc.) the templates aligned as done for the infoboxes. Are there any rules or a consensus about that ? --Robertiki (talk) 04:21, 17 December 2018 (UTC)
replies: text: Hello, I am not aware of consensus on this issue (although there may be), but I find it very hard to edit an article where text is constantly cut by citations in multiple lines. I personally prefer to have a new line for each sentence with references called at the end of the sentence. Also I don't think many people edit references by hand, so I am not sure how useful this is (isn't recovering dead links/archiving done by bots?). Anyway, better still it would be to define all references (also with new lines in this case) in the references section and then only call the reference name in the body of the article. --Ita140188 (talk) 20:49, 3 January 2019 (UTC)
thread_title:  Newline stripping in template code in articles 

message: Input would be appreciated at Template_talk:COVID-19#Pointing_to_templates. Our coronavirus navbox points to a lot of raw templates. Is that appropriate? Bondegezou (talk) 09:48, 19 February 2020 (UTC)
thread_title:  Should a navbox point to templates? 

message: Above, I've proposed cites in templates be done using something like  but with a couple of added parameters to specify group (now) and prefix (later); both parameters being optional. It occurs to me that doing that in two stages could lead to the need for revisions in lots of templates when support for the prefix parameter appears. To avoid this, I'll suggest that a new helper template be made available for citing sources in templates; let's call it  for now. It would have the group and prefix parameters mentioned previously, perhaps named  or aliased to p and g for brevity, and would throw an error if the p parameter were specified before support for it appeared. So, Proposed: , and proposed that this be mandated or strongly suggested. Discussion? Wtmitchell  (talk) (earlier Boracay Bill) 13:15, 13 April 2020 (UTC)
replies: text: Especially in the case of the COVID-19 articles referred to above, I'd like to avoid any more wrapper templates if possible. As an example,  has 292 references, and those references alone contribute 462kB to the post-expand include size (excluding the rest of the template). Adding a wrapper would essentially double that, causing a majority of the dozen or so pages that use that template to exceed the post-expand include size limit. --Ahecht (TALKPAGE) 22:33, 24 April 2020 (UTC)
thread_title: Presuming that source citations are transcluded from templates, what about this proposal?

message: I have seen a page that have unique table layout but reuse that same layout multiple times. Such as a table of information specific in that page separate by year, that layout never being used anywhere else
So I wish I could create a hidden block and then reuse that block like a template instead of duplicating the same layout or requiring to create page for new template
Is it possible?
Also, do we have a filter table? A table that could filter row by text, option, or datepicker would be great for lookup data  — Preceding unsigned comment added by ThainaYu (talk • contribs) 07:43, 26 May 2020 (UTC)
thread_title:  Are there anyway we could create template just only for one page? 

message: I'm trying to create a template for CBC Radio programs at Template:CBC Radio Programs (current and upcoming) but I've malformed the template somehow and don't know how to fix it. Can someone please help? Thanks Sowny (talk) 23:19, 6 September 2020 (UTC)
replies: text: , in some of the places where template  was used, one of the two closing curly braces was missing. Fixed: Special:Diff/977101719. Consider turning on syntax highlighting in the wikitext editor—button . —⁠andrybak (talk) 23:29, 6 September 2020 (UTC)
thread_title:  Need help creating template 

message: Watchers of this page may be interested in . Izno (talk) 22:07, 20 December 2020 (UTC)
thread_title:  Group of users interested in changes to CSS 

message: Is there a template that receives a geographical coordinate and returns the altitude of that point ? Otherwise, who could create template:Altitude ?  --YB ✍ 13:18, 17 March 2021 (UTC)
replies: text: This would require having access to DTED or similar for arbitrary coordinates, which is out of the realm of feasible for onwiki. It might be possible with an extension or in the GeoHack system that you can access when you click on the coordinates link created by . Izno (talk) 20:42, 17 March 2021 (UTC)
replies: text: Thx Izno for the return. Too bad, it would be nice to have such a fonctionality for infobox templates and lists. --YB ✍ 11:00, 18 March 2021 (UTC)
thread_title:  Altitude 

message: I was editing a page and I wanted to use a template that fits my purposes. But whatever I do, I couldn't find the template in my mind. I know there's a page where users can share their ideas about userbox in their mind. Does a similar thing exist?
Pinchey (talk) 18:54, 8 April 2021 (UTC)
thread_title:  Where can I talk about the template ideas? 

message: You are invited to join the discussion at Wikipedia:Templates for discussion/Log/2021 May 13 § Template:Auto archiving notice.   talk 03:19, 14 May 2021 (UTC)
thread_title: Proposal to merge auto archiving notice into talk header

message: must be explained somewhere but can't find it and merits to be enlisted here so all templates / template coders gather here their templates that are usefull in all wikipedias whatever the language.  For example, in the french the auto generation of a Table of Content from 4 sections is not implemented, nor the "(come) Help Me" template. Don't undstand why. Thy, SvenAERTS (talk) 13:29, 6 July 2022 (UTC)
replies: text: Each Wikipedia is its own community with its own set of rules and content. That said, I've thought about this issue before, and even how to facilitate internationalization of templates, so that only strings would have to be translated and the critical code that should be protected would remain the same. But to your specific question: if you want some English template translated/created for French Wikipedia, then either do it yourself, or enlist someone (at French Wikipedia, not here) to do it for you. With respect to the  template at en-wiki, this exists already at fr-wiki, and is called :fr:Modèle:SOS. It's marked "obsolete", and has instructions for using the newbie forum instead, so it may have been a conscious decision to deprecate this. Hope this helps, Mathglot (talk) 02:41, 18 July 2022 (UTC)
thread_title:  Transferring a template from the English wikipedia to the french wikipedia? 

message: New Template:Wiktionarylang may be used to add a small box flush right with a link to a term in a foreign language wiktionary. If you're familiar with , the operation of the new template is similar, and uses the same four positional parameters, and adds one more to allow you to specify 'section' (as in this example), 'paragraph', and so on instead of 'article'. Mathglot (talk) 02:44, 18 July 2022 (UTC)
thread_title:  Announcing template Wiktionarylang 

message: It would be useful if article maintenance tags that include an instruction to the effect of "Please discuss this issue on the article's talk page" had a talksection parameter, so that once a discussion has begun, it could be set to the title of the talk page section that's been created, and the words "talk page" could link directly there. Largoplazo (talk) 22:24, 12 February 2023 (UTC)
thread_title:  Add talksection parameter to article maintenance tags 

message: hello
on the dutch pages templates are factual UNknown. i am usualy punished within a DAY for starting new subjects and the ONLY 'template' technicly USED is the 2weeks notice to "f#k0ff" becouse "its not encyclopedic". my personal statement AGAINST that way off thinking is that if you cut down all branches off a tree, its a dead stem instead...
my remark,now is that the are are miles off difference in the aproach between the different wiki-languages.
https://nl.wikipedia.org/wiki/Wikipedia:Templates
85.149.83.125 (talk) 18:08, 12 November 2023 (UTC)
thread_title:  international 

message: Should I use parenthetical plurals in a template? 
I.e. "Color(s)" instead of "Color" or "Colors" when there may be more than one option? Hugtrain (talk) 02:20, 8 January 2024 (UTC)
thread_title:  Using parenthetical plurals in Infoboxes 

message: Hi, would it be possible to toggle on show the section the page using the template is in automatically? This makes the template’s appearance much more understandable to the reader. Is there just some code someone could change to do this uniformly? Alexanderkowal (talk) 20:21, 3 May 2024 (UTC)
replies: text: Alexanderkowal, can you restate your question, please? If you are talking about a particular template, can you link it below? Mathglot (talk) 20:29, 3 May 2024 (UTC)
replies: text: I am speaking very generally.  I think the default state of the template should be with the section which the page is in toggled on 'show'. So for Trumpism and the neo-fascism template, toggle on show "Varieties" by default. This makes the template's relevance to the page much more understandable for the reader. Alexanderkowal (talk) 20:38, 3 May 2024 (UTC)
replies: text:  If you pose your question at the right venue, you are more likely to attract editors who can best help with your particular question. In the case of the Trumpism page, the use of the  sidebar template with all subgroups collapsed is the default setting. This is a content-related question about the appearance of a particular page, i.e., Trumpism, and you are welcome to start a discussion about it at Talk:Trumpism to see if you can get support for that idea, or to make a bold edit. If you meant that the  sidebar template should always expand list2 ("Varieties") by default regardless where it appears, then you should take that up at at Template talk:Neo-fascism. If you mean that the  sidebar template should expand by default the list containing PAGENAME as one of the entries in the list, that should also be discussed at  Template talk:Neo-fascism; and if you mean to generalize that to all collapsed sidebar templates wherever they appear, then you can raise that at Template talk:Sidebar with collapsible lists. If one of those applies, using  /  may help link the discussions as you start the new one elsewhere. If it's something else, please clarify.  Mathglot (talk) 21:09, 3 May 2024 (UTC)
thread_title:  For the section the page is in, toggle on show  

message: Attention from someone who knows how to edit templates would be good. Gråbergs Gråa Sång (talk) 15:44, 10 May 2024 (UTC)
thread_title:  [[Template_talk:IMDb#imdbcompany]]