Template talk:Userbox

From OpenStreetMap Wiki
Jump to navigation Jump to search

Is `{{{info|{{{4|{{{info|''info''}}}}}}}}}` superfluous?

To me that reads as: Get the 'info' parameter value; if it's not provided get the 4th parameter value; if it's not provided get the 'info' parameter value (again?); if it's not provided display the word 'info' in italics.

Why check for the 'info' parameter value twice?

Could this be simplified to: `{{{info|{{{4|''info''}}}}}}`?

--GuardedBear (talk) 00:38, 19 August 2025 (UTC)

I see it the same, think your are right. --Chris2map (talk) 07:24, 19 August 2025 (UTC)
I've removed the second check for 'info' (https://wiki.openstreetmap.org/w/index.php?title=Template:Userbox&oldid=2886763) Let's see if anything breaks... ;-) --GuardedBear (talk) 10:34, 19 August 2025 (UTC)