Jump to content

Wikipedia:Templates for discussion/Log/2021 June 16

From Wikipedia, the free encyclopedia
The following discussion is an archived debate of the proposed deletion of the template(s) or module(s) below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

The result of the discussion was delete. Primefac (talk) 16:18, 1 July 2021 (UTC)[reply]

Unused number-handling template. User:GKFXtalk 22:26, 16 June 2021 (UTC)[reply]

Unopposed. I created it bc {{pct}} was returning scinote when percentages were small. It's since been amended with a |noscinote option, so, yeah, this is unused. Could be useful to someone or something else, though, no? I saw that BrandonXLF made some changes to it at some point. What's the use of erasing it? Saving a couple of bytes of storage space in WP's servers? — 𝐆𝐮𝐚𝐫𝐚𝐩𝐢𝐫𝐚𝐧𝐠𝐚  22:38, 16 June 2021 (UTC)[reply]
There’s nothing specifically wrong with it, I just noticed that in 18 months of existence it hadn't found a use. The |nonscinote= approach sounds like a better approach to me than trying to manipulate HTML back into numbers. (And deletion doesn't save space on the servers…) User:GKFXtalk 23:34, 16 June 2021 (UTC)[reply]
There’s nothing specifically wrong with it... And deletion doesn't save space on the servers.
Then you have no good reason to have it deleted, do you? — 𝐆𝐮𝐚𝐫𝐚𝐩𝐢𝐫𝐚𝐧𝐠𝐚  21:17, 18 June 2021 (UTC)[reply]
The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

DocumentHistory

[edit]
The following discussion is an archived debate of the proposed deletion of the template(s) or module(s) below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

The result of the discussion was delete. (non-admin closure) Frietjes (talk) 17:23, 25 June 2021 (UTC)[reply]

No uses/transclusions, not even a mention anywhere on Wikipedia. The template it links to was deleted last year. It looks like all that it does is make a table entry that splits it into three sections. SWinxy (talk) 19:56, 16 June 2021 (UTC)[reply]

The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).
The following discussion is an archived debate of the proposed deletion of the template(s) or module(s) below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

The result of the discussion was delete. (non-admin closure) Frietjes (talk) 17:23, 25 June 2021 (UTC)[reply]

Information already exists on a different table on the mainspace. --WikiCleanerMan (talk) 19:18, 16 June 2021 (UTC)[reply]

The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).
The following discussion is an archived debate of the proposed deletion of the template(s) or module(s) below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

The result of the discussion was delete. (non-admin closure) Frietjes (talk) 17:23, 25 June 2021 (UTC)[reply]

Remains unused. --WikiCleanerMan (talk) 19:18, 16 June 2021 (UTC)[reply]

The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).
The following discussion is an archived debate of the proposed deletion of the template(s) or module(s) below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

The result of the discussion was delete. (non-admin closure) Frietjes (talk) 17:23, 25 June 2021 (UTC)[reply]

Information already exists on a different table on the mainspace. --WikiCleanerMan (talk) 19:18, 16 June 2021 (UTC)[reply]

The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).
The following discussion is an archived debate of the proposed deletion of the template(s) or module(s) below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

The result of the discussion was delete. (non-admin closure) Frietjes (talk) 17:22, 25 June 2021 (UTC)[reply]

Both templates are unused as the information is already featured on the respective articles. --WikiCleanerMan (talk) 18:25, 16 June 2021 (UTC)[reply]

The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

Chadian Elections

[edit]
The following discussion is an archived debate of the proposed deletion of the template(s) or module(s) below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

The result of the discussion was delete. (non-admin closure) Frietjes (talk) 17:21, 25 June 2021 (UTC)[reply]

The information on these templates is already featured on the respective mainspace articles. --WikiCleanerMan (talk) 18:14, 16 June 2021 (UTC)[reply]

The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).
The following discussion is an archived debate of the proposed deletion of the template(s) or module(s) below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

The result of the discussion was delete. (non-admin closure) Frietjes (talk) 17:21, 25 June 2021 (UTC)[reply]

2011 Cape Verdean presidential election already uses a different table with the same information. --WikiCleanerMan (talk) 17:03, 16 June 2021 (UTC)[reply]

The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).
The following discussion is an archived debate of the proposed deletion of the template(s) or module(s) below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

The result of the discussion was delete. (non-admin closure) Frietjes (talk) 17:20, 25 June 2021 (UTC)[reply]

2012 Algerian legislative election already uses a different table with the same information. --WikiCleanerMan (talk) 15:22, 16 June 2021 (UTC)[reply]

  • Delete The only additional information in the template is the party leaders, which is not typically included in results tables (and several of them are not in the sources provided). Number 57 17:02, 16 June 2021 (UTC)[reply]
The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

Zimbabwean Elections

[edit]
The following discussion is an archived debate of the proposed deletion of the template(s) or module(s) below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

The result of the discussion was delete. (non-admin closure) Frietjes (talk) 17:18, 25 June 2021 (UTC)[reply]

All the information is listed on the respective articles which use a different table. --WikiCleanerMan (talk) 15:08, 16 June 2021 (UTC)[reply]

  • Delete all The only one with additional detail is the House of Assembly election, 2008 template, which contains number of candidates for each party, but the source for the table is dead and these can't be confirmed (nor are they usually included in tables). Number 57 17:08, 16 June 2021 (UTC)[reply]
The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).
The following discussion is an archived debate of the proposed deletion of the template(s) or module(s) below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

The result of the discussion was merge to Template:Year nav topic. (non-admin closure) Frietjes (talk) 14:26, 30 June 2021 (UTC)[reply]

Propose merging Template:Year nav topic, Template:Year nav topic2, Template:Year nav topic3, and Template:Year nav topic4 with Template:Year nav topic5.
These 5 templates all do basically the same thing and use the same documentation. The difference in style is sometimes even a violation of MOS:FONTSIZE. There is no real reason why some pages should use one but not the other and it seems as just another example of editor preference used to fork instead of gain consensus to change existing templates. The target of the merge is number 5 just because it has the most transclusions, but the base name should obviously be the non-numbered one. Gonnym (talk) 14:39, 16 June 2021 (UTC)[reply]

Merge all per nomination. User:GKFXtalk 20:04, 17 June 2021 (UTC)[reply]
The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

Airport route diagram templates

[edit]
The following discussion is an archived debate of the proposed deletion of the template(s) or module(s) below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

The result of the discussion was delete. (non-admin closure) Frietjes (talk) 16:31, 25 June 2021 (UTC)[reply]

These templates are redundant and unused, given that the former two are consolidated in Template:George Bush Intercontinental Airport and the latter two are consolidated in Template:Hartsfield–Jackson Atlanta International Airport. This is in keeping with the concept of including all airport people mover systems serving the same airport in the same route diagram. Jackdude101 talk cont 13:55, 16 June 2021 (UTC)[reply]

The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).
The following discussion is an archived debate of the proposed deletion of the template(s) or module(s) below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

The result of the discussion was delete. (non-admin closure) Frietjes (talk) 14:25, 30 June 2021 (UTC)[reply]

Improper use of parser function and possibly misleading template. If modified, would be redundant to the parser function itself. Correct use should be {{#ifexist: page title | value if exists | value if doesn't exist }} Minorax (talk) 12:00, 16 June 2021 (UTC)[reply]

  • Delete. Since templates like this should hopefully never be used in articles, but in use in other templates, then asking a coder to learn the parser functions, isn't asking much. As a side note, the fact that there is another template named Template:Ifexist is very misleading. Even if this somehow is kept, there is no situation where this title can be kept, if the non-spaced one redirects to a different one. Gonnym (talk) 12:31, 16 June 2021 (UTC)[reply]
  • Indifferent. Already?? Ok. I created it to use it in {{flaglist+link}}, as the value if exists was going to be the page title itself, which is quite a long string of code, so as to make it more parsimonious and easier to maintain (thus it's not about not asking a coder to learn the parser functions). It's similar to {{if empty}}, which can also be written with {{#if}}'s, but shorter. I don't see what's improper about that, do you? Anyway, I couldn't make the {{#if}} condition equal to the then outcome in {{flaglist+link}}, so I'm indifferent (though it could be useful in another instance or to someone else). — 𝐆𝐮𝐚𝐫𝐚𝐩𝐢𝐫𝐚𝐧𝐠𝐚  22:19, 16 June 2021 (UTC)[reply]
    If you look at the documentation you'll see that trying to write a parameter check without using {{If empty}}, which has more than 2 parameters, the code becomes very long and messy (see the doc). Here you just saved 1 pipe and a parameter. Unless I'm mistaken and this does more. Gonnym (talk) 23:28, 16 June 2021 (UTC)[reply]
    the code becomes very long and messy
    Same here, Gonnym (actually, I just figured out what I was doing wrong and how to make it work for {{flaglist+link}}). Here's the code for {{flaglist+link}} with and without {{if exist}}:
<includeonly>{{#if:{{{table|}}}|style{{=}}text-align:left{{!}}}}<span class="flagicon" style="display:inline-block;width:{{#expr: {{{size|23}}} + 2}}px">{{flagdeco|{{{2|}}}|variant={{{variant|{{{3|}}}}}}|size={{{size|}}}{{#if:{{{size|}}}|px}}}}</span> [[{{getalias|{{{2|}}}}}|{{{name|{{getalias|{{{2|}}}|shortname}}}}}]][[{{
  #ifexist:{{{link|{{{1|}}} {{getalias|{{{2|}}}}}}}}
          |{{{link|{{{1|}}} {{getalias|{{{2|}}}}}}}}
          |{{#ifexist:{{{link|{{{1|}}} the {{getalias|{{{2|}}}}}}}}
                     |{{{link|{{{1|}}} the {{getalias|{{{2|}}}}}}}}
                     |{{#if:{{{alt|{{{3|}}}}}} 
                           |{{#ifexist:{{{alt|{{{3|}}}}}} {{getalias|{{{2|}}}}}
                                      |{{{alt|{{{3|}}}}}} {{getalias|{{{2|}}}}}
                                      |{{#ifexist:{{{alt|{{{3|}}}}}} the {{getalias|{{{2|}}}}}
                                                 |{{{alt|{{{3|}}}}}} the {{getalias|{{{2|}}}}}
                                  }}
                         }}
                  }}
         }}
}}|{{{more|{{sup|†}}}}}]]</includeonly><noinclude>{{doc}}</noinclude>
<includeonly>{{#if:{{{table|}}}|style{{=}}text-align:left{{!}}}}<span class="flagicon" style="display:inline-block;width:{{#expr: {{{size|23}}} + 2}}px">{{flagdeco|{{{2|}}}|variant={{{variant|{{{3|}}}}}}|size={{{size|}}}{{#if:{{{size|}}}|px}}}}</span> [[{{getalias|{{{2|}}}}}|{{{name|{{getalias|{{{2|}}}|shortname}}}}}]][[{{
  if exist|{{{link|{{{1|}}} {{getalias|{{{2|}}}}}}}}
          |{{if exist|{{{link|{{{1|}}} the {{getalias|{{{2|}}}}}}}}
                     |{{#if:{{{alt|{{{3|}}}}}} 
                           |{{if exist|{{{alt|{{{3|}}}}}} {{getalias|{{{2|}}}}}
                                      |{{if exist|{{{alt|{{{3|}}}}}} the {{getalias|{{{2|}}}}}
                                       }}
                            }}
                      }}
           }}
}}|{{{more|{{sup|†}}}}}]]</includeonly><noinclude>{{doc}}</noinclude>
𝐆𝐮𝐚𝐫𝐚𝐩𝐢𝐫𝐚𝐧𝐠𝐚  00:30, 17 June 2021 (UTC)[reply]
I've gone over the code now for a closer look. I'm sorry to say, but I don't see any valid reason for Flaglist+link to even exist. Hiding the actual main link as small symbol which uses the note style and using instead a generic link to the country is very bad idea. Changes like this also did not mention that you've changed the links very drastically and which was the actual main change done. Gonnym (talk) 17:50, 17 June 2021 (UTC)[reply]
@Gonnym I've actually replaced Flaglist+link with {{flagg|unpe}} once (Special:Diff/1028180415) for WP:PEIS reasons which corrects the link and also performs a lot better. I've made a suggestion at Template talk:Flagg to add an option for table cell alignment, and if that is something that seems reasonable then a TfD could be opened to replace Flaglist+link with my proposed syntax {{flagg|unpeT}} everywhere. User:GKFXtalk 18:05, 17 June 2021 (UTC)[reply]
I used to use {{flagg}} a lot, until I noticed, through the editing of less experienced editors, that linking the country name to the country's topic article is not immediately obvious to the casual WP reader (they would add (more) or (more info) next to the countries names), not to mention inconsistent across WP (in some pages, countries link to their generic page, in others to thematic articles). That's why I created {{flaglist+link}} for. And have just slashed its PEIS going back to a more hardcoded solution to country prefixed with the. — 𝐆𝐮𝐚𝐫𝐚𝐩𝐢𝐫𝐚𝐧𝐠𝐚  07:34, 20 June 2021 (UTC)[reply]
The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).
The following discussion is an archived debate of the proposed deletion of the template(s) or module(s) below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).

The result of the discussion was delete. --Trialpears (talk) 14:15, 23 June 2021 (UTC)[reply]

Redundant. Jaanklaas had already created Template:2022 FIFA World Cup qualification – AFC Third Round group tables a few days earlier. Centaur271188 (talk) 04:52, 16 June 2021 (UTC)[reply]

Trialpears, the templates nominated here should be deleted. I made a mistake with the FIFA template I nominated. I'm going to recant it. --WikiCleanerMan (talk) 13:39, 23 June 2021 (UTC)[reply]
The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).