Content deleted Content added
→Interfering note lists: Reply |
→Interfering note lists: Reply |
||
Line 77:
:::::::Ran & listref both work, but say you have a navbox and infobox that both use them. In that case, you could end up with duplicate anchor links which are invalid HTML and could make the links point to the wrong target. This is less an issue with {{tl|ran}}, because each template would be picking a letter or handful of letters. So the odds go down pretty low pretty quickly (1/26, 1/676, 1/17576). That said, I think the correct solution is to add something into the callout template and footnote template that is meant just for use in other templates. Call the parameter {{para|tm-id}} or whatever is easy to remember. Then when you invoke {{tl|rma}} (or {{tl|listref}} which is just a wrapper for it), you would use the same {{para|tm-id}} throughout a single template. This way, it wouldn't matter if you had six navboxes all using the template with <sup style="color:blue;">[i]</sup> because their links would each be using an anchor that is inherently unique: <code>#CITEREFtm-uscollegedamissions-i</code> instead of <code>#CITEREFi</code>
:::::::If there is interest, I can try an example in one of the sandboxes, [[User:Rjjiii|<span style="font-variant:small-caps;">Rjj<sup>iii</sup></span>]] ([[User talk:Rjjiii|talk]]) 20:46, 12 April 2025 (UTC)
::::::::@[[User:Sdkb|Sdkb]] & [[User:Mathglot|Mathglot]]: Changes are done in all 5 template sandboxes. I think [https://en.wikipedia.org/w/index.php?title=Template:Infobox_U.S._college_admissions/sandbox&oldid=1285405725 this version] will just work, and will just work for *box templates in general. If conflicts linking ever do pop up, one template can just use a more specific {{para|tm-id}}. [[User:Rjjiii|<span style="font-variant:small-caps;">Rjj<sup>iii</sup></span>]] ([[User talk:Rjjiii|talk]]) 14:47, 13 April 2025 (UTC)
== "Unique" vs. "distinct ==
|