Jump to content

Template talk:Infobox sportsperson

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Edit request 29 July 2024

[edit]

Description of suggested change:

Diff:

| label34 = Country
+
| label34 = {{#if:{{{country_type|}}}|{{{country_type}}}|Country}}

Handles edge cases where an athlete is representing a subnational team. Northern Moonlight 02:10, 29 July 2024 (UTC)[reply]

 Not done for now: please establish a consensus for this alteration before using the {{Edit template-protected}} template. The documentation currently says The country or countries that the subject represents in sport, if any (not all sports involve national representation). This says to me that you should not fill in the country if they do not play at a national level. Izno (talk) 02:26, 29 July 2024 (UTC)[reply]
National representation, unintuitively, does not always mean "country". See Hong Kong national football team and Puerto Rico national baseball team. They play at the same national level in international sports events and have a team at the Olympics independent of their sovereign state. Northern Moonlight 17:41, 29 July 2024 (UTC)[reply]

Parameter country or national_team

[edit]

For the infoxbox of an Olympian, should we fill in country or national_team or both? ~ JASWE (talk) 04:46, 1 August 2024 (UTC)[reply]

Achievements and titles' header when embedded

[edit]

I would like to add a parameter (embed-achievements-header) to header55 in order to edit it in the same manner embed-header allows for title.

Diff:

| header55 = {{#if:{{{worlds|}}}{{{regionals|}}}{{{nationals|}}}{{{olympics|}}}{{{paralympics|}}}{{{commonwealth|}}}{{{highestranking|}}}{{{pb|}}}|{{#ifeq:{{{child|{{{embed|}}}}}}|yes|Sports achievements and titles|Achievements and titles}}}}
+
| header55 = {{#if:{{{worlds|}}}{{{regionals|}}}{{{nationals|}}}{{{olympics|}}}{{{paralympics|}}}{{{commonwealth|}}}{{{highestranking|}}}{{{pb|}}}|{{#ifeq:{{{child|{{{embed|}}}}}}|yes|{{#if:{{{embed-achievements-header|}}}|{{{embed-achievements-header}}}|Sports achievements and titles}}|Achievements and titles}}}}

I've Added a vertical diff, for an easier read:

Current version

| header55  = {{#if:{{{worlds|}}}{{{regionals|}}}{{{nationals|}}}{{{olympics|}}}{{{paralympics|}}}{{{commonwealth|}}}{{{highestranking|}}}{{{pb|}}}|{{#ifeq:{{{child|{{{embed|}}}}}}|yes|Sports achievements and titles|Achievements and titles}}}}

Suggested version

| header55  = {{#if:{{{worlds|}}}{{{regionals|}}}{{{nationals|}}}{{{olympics|}}}{{{paralympics|}}}{{{commonwealth|}}}{{{highestranking|}}}{{{pb|}}}|{{#ifeq:{{{child|{{{embed|}}}}}}|yes|{{#if:{{{embed-achievements-header|}}}|{{{embed-achievements-header}}}|Sports achievements and titles}}|Achievements and titles}}}}

CLalgo (talk) 11:03, 6 October 2024 (UTC)[reply]