![]() | This help page does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||
|
Is there any possibiltiy to exclude a template from being listed in case the double definition is for this particular template (not only one instance but globally) intended and meaningful? Regards Draco flavus (talk) 08:40, 16 February 2021 (UTC)
Page one:
{{MyTemplate
|parameter1=abc
|parameter2=def
|parameter3=ghi
|parameter4=jkl
|CUT=---
|parameter1=mno
|parameter5=stu
}}
On another page:
{{MyTemplate
|reference=Page one
|parameter2=pqr
}}
which effectively evaluates to:
{{MyTemplate
|parameter1=abc
|parameter2=pqr
|parameter3=ghi
|parameter4=jkl
}}
It works quite fine, however Page one is reported as page with duplicated definition of a parameter. For the productive stage it is simply not elegant and maybe prone to other undesired effects.
Draco flavus (talk) 09:25, 16 February 2021 (UTC)
<includeonly>|parameter1=abc</includeonly>
to avoid the warning on that page. PrimeHunter (talk) 11:38, 16 February 2021 (UTC)What about duplicated issn numbers when they are already present in an original reference of a scientific paper directly fetched from the publisher site? What number to keep? The first one or the second one? To avoid to loose information, I often create two | issn = | fields, being aware that only the second field will appear in the reference of the paper on the page.
The script findargdups used to clean duplicate template arguments removes the first occurrence of the issn number. is it the right way to proceed?
How to best tackle this kind of issue with a reference arising from the publisher of the paper. In advance, thanks for your answer. Shinkolobwe (talk) 19:05, 19 February 2022 (UTC)
This
{{Cite AV media |... |language=ga, en |... |language=ga |... }}
gives warning message Template:Cite AV media with more than one value for the "language" parameter. My initial fix was
{{Cite AV media |... |language=ga |... |language=ga |... }}
Only later did I realise that was not the issue.
I doubt if this precise gotcha happens very often, but ideally the warning message would be less ambiguous. The actual problem was "more than one instance of the parameter" whereas I interpreted it as "more than one value for an instance of the parameter". jnestorius(talk) 21:01, 1 March 2025 (UTC)