Jump to content

User talk:Ptpare

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

How do we edit the FiedlNames in infoboxes?

[edit]

I am trying to develop pages for the Northern Sotho wikipeda (nso). I have not been able to translate the field names in the infobox from English to Northern Sotho (nso). In the Afrikaans case [Ramaphosa] the template for the infobox shows “Amsbekleër” and “Termynaanvang” instead of “Incumbent” and “Assumed Office” as used in the English Cyril Ramaphosa page. I would like to do something similar for the nso page for [Ramaphosa] but use the Northern Sotho words and not the Afrikaans words. I looked at Designing_infoboxes which is where I saw the difference between a variable name ( FieldNameA1 ) and a variable value (FieldParameter). However I was not able to find where the FieldNames are defined in the infoboxes. It would seem the multiple levels of transclusion (if I have used the word correctly) hide where these FieldNames are actually defined.

So this is the question: Where does wikipedia define the FieldNames for the "Infobox officeholder" template?

My apologies for having put some versions of this question in the teahouse using screen shots from slides in LibreOffice Impress. The difficulty is in formulating the question in words when there is confusion between key, variable, variable name, FieldName, and Field Parameter ([[1]] ) I thought that a copy of a "table" / "infobox" / "sidebar" on the wikipedia page would simplify the question. ( [Templates in translated wiki pages] )

Another apology is due to what must be faulty referencing in this question to the English, Afrikaans and Northern Sotho versions of the Cyril Ramaphosa article. I am not sure of how to use the square brackets, the curly brackets and the underscore correctly. Any help will be appreciated. Phillip (talk) 14:48, 21 May 2022 (UTC)[reply]


The parameter names and usage for any infobox can be found on the template page itself. For example, at Template:Infobox officeholder there is a #Usage section which describes the various parameters and where/how they can be used. It also gives specific examples of when you might use different groups of parameters. If you want more help, change the {{help me-helped}} back into a {{help me}}, stop by the Teahouse, or Wikipedia's live help channel, or the help desk to ask someone for assistance. Primefac (talk) 15:19, 21 May 2022 (UTC)[reply]


Thank you for your comments Primefac. Unfortunately I am still not able to find an answer to my question in the Usage section of [Infobox officeholder]. It does not seem to show the train of transclusions. Also the wording "|order= is used in conjunction with |office= to state" and similar sentences do not help me find an answer to my particular question. — Preceding unsigned comment added by Ptpare (talkcontribs) 15:35, 21 May 2022 (UTC)[reply]


Ah, my apologies, I think I misunderstood your request. You are looking to translate templates to use on nso-Wiki, yes? In that case, I would try to find someone who is more familiar with that language to help you out. Primefac (talk) 17:23, 21 May 2022 (UTC)[reply]

Thank you for your comments Primefac.I have changed it back to "Help me" so that others may be able to help me. — Preceding unsigned comment added by Ptpare (talkcontribs) 17:32, 21 May 2022 (UTC)[reply]

That's fine, but please stop editing my comments. Primefac (talk) 17:59, 21 May 2022 (UTC)[reply]
I don't think you are going to find much assistance with the help me tag... I would suggest posting somewhere like the help desk or even the village pump - RichT|C|E-Mail 18:08, 21 May 2022 (UTC)[reply]

Thank you for this Rich. I have put the question on Wikipedia:Help_desk#How_do_we_edit_the_FiedlNames_in_infoboxes? Phillip (talk) 18:16, 21 May 2022 (UTC)[reply]

@Ptpare: Languages can make templates independently with different features and implementation. I haven't examined the other languages but "Incumbent" and many other field names are defined with numbered labels in nso:Template:Infobox officeholder/office, e.g. label29 = Incumbent. PrimeHunter (talk) 20:11, 21 May 2022 (UTC)[reply]
Thank you very much. The problem was finding the "/ office" in "nso : Template : Infobox officeholder / office "
Is there a list or an index somewhere which describes all these subpages or suffixes?
Phillip (talk) 20:33, 21 May 2022 (UTC)[reply]
@Ptpare: If you edit a whole page or preview a page then the bottom of the window has an automatically generated list "Templates used on this page" or "Templates used in this preview". You may have to click a small triangle to see the list. Subtemplates like nso:Template:Infobox officeholder/office are included. PrimeHunter (talk) 00:36, 22 May 2022 (UTC)[reply]
Thank you once again for this. I seem to have got most of the field labels translated in the Northern Sotho version of the Cyril Ramaphosa page [[2]] .
However a small problem remains with the field labels in the Personal details section of the infobox / sidepanel / template. It would seem that this information has been embedded or transcluded from/in some other template or module. Do you perhaps know how I should go about searching for these field labels? I did edit "https://nso.wikipedia.org/wiki/Template:Infobox_person" but it would seem that this is not the template that is being used for the transclusion.
Phillip (talk) 19:05, 22 May 2022 (UTC)[reply]


Welcome to Wikipedia!

[edit]
Hello Ptpare! Welcome to Wikipedia! Thank you for your contributions. If you decide that you need help, check out Wikipedia:Where to ask a question, ask me on my talk page, or place {{helpme}} on your talk page and ask your question there. Please remember to sign your name on talk pages using four tildes (~~~~); this will automatically produce your name and the date. Below are some pages that you may find useful. Happy Editing! — —Centrxtalk • 03:22, 4 September 2007 (UTC)[reply]
Getting Started
Writing and editing
Getting Help
Getting along
Getting technical

Your thread has been archived

[edit]
Teahouse logo

Hi Ptpare! The thread you created at the Wikipedia:Teahouse, Templates in translated wiki pages, has been archived because there was no discussion for a few days.

You can still read the archived discussion. If you have follow-up questions, please create a new thread.


See also the help page about the archival process. The archival was done by Lowercase sigmabot III, and this notification was delivered by Muninnbot, both automated accounts. You can opt out of future notifications by placing {{bots|deny=Muninnbot}} on top of the current page (your user talk page). Muninnbot (talk) 19:01, 24 May 2022 (UTC)[reply]