Template talk:Infobox martial artist
Template:Infobox martial artist is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
This is the talk page for discussing improvements to the Infobox martial artist template. |
|
Archives: 1 |
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||
|
Template-protected edit request on 24 October 2021
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Current state:
| data36 = {{#if:{{{sherdog|}}}|[http://www.sherdog.com/fightfinder/fightfinder.asp?fighterID={{{sherdog|}}} Mixed martial arts record] from [[Sherdog]]}}
Proposed state:
| data36 = {{#if:{{{sherdog|}}}|[http://www.sherdog.com/fightfinder/fightfinder.asp?fighterID={{{sherdog|}}} Mixed martial arts record] from [[Sherdog]]|{{#if:{{#statements:P2818}}|[http://www.sherdog.com/fightfinder/fightfinder.asp?fighterID={{#property:P2818}} Mixed martial arts record] from [[Sherdog]]}}}}
- Explanation
The change will import fighters Sherdog ID from wikidata, unless it was hardcoded in the article itself. Here are two example for the functionality of {{#statements:P2818}}
for a fighter without a Sherdog ID on Wikidata and another with one.
- With Sherdog ID — Marvin Vettori
-
{{#if:{{#statements:P2818|from=Q26509559}}|[http://www.sherdog.com/fightfinder/fightfinder.asp?fighterID={{#property:P2818|from=Q26509559}} Mixed martial arts record] from [[Sherdog]]}}
- Mixed martial arts record from Sherdog
- Without Sherdog ID — Ariane Carnelossi
-
{{#if:{{#statements:P2818|from=Q108911384}}|[http://www.sherdog.com/fightfinder/fightfinder.asp?fighterID={{#property:P2818|from=Q108911384}} Mixed martial arts record] from [[Sherdog]]}}
- Mixed martial arts record from Sherdog
Nothing changes in the template and its usage. There is full backwards compatibility to existing articles. The only change is that IF there is, or will be, an article without a hardcoded Sherdog ID, but with the ID apearing on Wikidata, than the information will show on Wikipedia as well.
The same format could (and I think, should) be used for BoxRec boxer ID (P1967) and official website (P856), for example. Deancarmeli (talk) 11:51, 24 October 2021 (UTC)
- Oppose: Wikidata is not protected as no counter vandalism system in place with small traffic view from readers and if the info is vandalised, no one would notice as not like Wikipedian en. The current system work well from the beginning. Dont change thing that is work and invite the potential of flaw of new changes. Cassiopeia talk 23:35, 24 October 2021 (UTC)
- Not done Insufficient consensus to implement. Per Wikipedia:Template editor#When to seek discussion for template changes,
Per RFC consensus (2013), it's best to seek consensus before adding Wikidata functionality to a template or module. Discussions in 2016 and 2018 have found that using Wikidata in templates, particularly infoboxes, remains relatively contentious
* Pppery * it has begun... 01:03, 25 October 2021 (UTC)
- Not done Insufficient consensus to implement. Per Wikipedia:Template editor#When to seek discussion for template changes,
Template-protected edit request on 12 March 2022
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Insert, above MMA professional record, a "UFC Ranking" bar, similar to tennis infoboxes. Would be very easy, and practical. MarioBayo (talk) 11:23, 12 March 2022 (UTC)
- Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES. P.I. Ellsworth - ed. put'r there 22:26, 13 March 2022 (UTC)
Template-protected edit request on 19 August 2022
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Capitalize the L in "last updated on:". L33tm4n (talk) 20:37, 19 August 2022 (UTC)
Template-protected edit request on 20 August 2022
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Fix issue outlined in this discussion and add a subheading for the embedded infobox, akin to "Martial arts career", as is custom for embedded infoboxes/modules. Throast {{ping}} me! (talk | contribs) 20:57, 20 August 2022 (UTC)
Template-protected edit request on 14 October 2022
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please remove the pointless piping from line data35, as Boxrec.com just redirects back to BoxRec.
data35 = {{#if:{{{boxrec|}}}|[http://boxrec.com/en/boxer/{{{boxrec}}} Boxing record] from [[Boxrec.com|BoxRec]]
data35 = {{#if:{{{boxrec|}}}|[http://boxrec.com/en/boxer/{{{boxrec}}} Boxing record] from [[BoxRec]]
Colonies Chris (talk) 13:52, 14 October 2022 (UTC)
- Done – Jonesey95 (talk) 15:31, 14 October 2022 (UTC)
- Thanks. Colonies Chris (talk) 19:22, 20 October 2022 (UTC)
Refs breaking the template in certain fields
editPlease fix this, where the red text occurs – "Expression error: Unrecognized punctuation character "?"." It's important that refs can be inserted into those fields, to clarify varying sources for results. Mac Dreamstate (talk) 02:15, 19 February 2023 (UTC)
- This is a GIGO issue, but since there isn't anything in the documentation specifically prohibiting refs or otherwise indicating that these values should only be numerical, I have gone ahead and added _ref parameters for each of the boxing terms (in this particular instance, the article in question now uses
|box_nc_ref=
). Primefac (talk) 07:47, 19 February 2023 (UTC)- Wonderful, looks good. Mac Dreamstate (talk) 12:24, 19 February 2023 (UTC)
Wikipedia_talk:Manual_of_Style/Icons#RfC Can notable Brazilian jiu-jitsu people display a rank icon in their infobox like Judo people do?
editPlease comment at the subject RfC. Lewolka (talk) 15:25, 1 March 2023 (UTC)
Nickname and Other name
editI noticed that you can't use both the "nickname" and "other name" fields at the same time. Is this intentional?-Killashaw (talk) 01:20, 15 October 2023 (UTC)
- Yes; the code is
{{if empty|{{{other_names|}}}|{{{nickname|}}}}}
, so using|other_names=
will stop|nickname=
from showing. Primefac (talk) 09:41, 16 October 2023 (UTC)- Why do we want to hide nickname if there is an "other name"?--Killashaw (talk) 21:19, 16 October 2023 (UTC)
- No idea, I just know it's not a bug or glitch. Primefac (talk) 08:54, 17 October 2023 (UTC)
- Does anyone object to removing that code so we can have both "nickname" and "other name" fields in the same infobox?--Killashaw (talk) 20:15, 18 October 2023 (UTC)
- It's not about removing code. Currently the two parameters allow one to choose a label between "Other names" & "Nickname(s)". To allow both, you'd have to "push down" labels, data & classes 5 to 37 and create a new label5 & data5. CLalgo (talk) 08:31, 19 October 2023 (UTC)
- Ok, thanks. I'll stop trying to pretend I understand the code. Does anyone object to changing the code so we can have both "nickname" and "other name" fields in the same infobox?--Killashaw (talk) 19:08, 20 October 2023 (UTC)
- No one seems to be complaining, so I have implemented this. Primefac (talk) 09:53, 24 October 2023 (UTC)
- Ok, thanks. I'll stop trying to pretend I understand the code. Does anyone object to changing the code so we can have both "nickname" and "other name" fields in the same infobox?--Killashaw (talk) 19:08, 20 October 2023 (UTC)
- It's not about removing code. Currently the two parameters allow one to choose a label between "Other names" & "Nickname(s)". To allow both, you'd have to "push down" labels, data & classes 5 to 37 and create a new label5 & data5. CLalgo (talk) 08:31, 19 October 2023 (UTC)
- Why do we want to hide nickname if there is an "other name"?--Killashaw (talk) 21:19, 16 October 2023 (UTC)