Template talk:InfoItem: Difference between revisions

From IdleOn MMO Wiki
imported>FrozenPlum
(Add a comment about potentially missing pipe in Cargo store)
 
Line 7: Line 7:
I remember some mention of this being an issue in Cargo in the past, so I wonder if you fixed that, then re-created the table, if your errors that rely on this may resolve?
I remember some mention of this being an issue in Cargo in the past, so I wonder if you fixed that, then re-created the table, if your errors that rely on this may resolve?
[[User:FrozenPlum|FrozenPlum]] ([[User talk:FrozenPlum|talk]]) 06:04, 24 March 2022 (UTC)
[[User:FrozenPlum|FrozenPlum]] ([[User talk:FrozenPlum|talk]]) 06:04, 24 March 2022 (UTC)
== Type formatting pluralizer ==
[https://idleon.wiki/wiki/index.php?title=Template:InfoItem&oldid=76026 Line 174] type formatting [[Template:Pluralizer|pluralises]] the presented text but not the actual link, e.g., [[Studded Hide]] links to [[Shirt]] and not [[Shirts]]. I'm a bit rusty with wikimedia piping and was unsuccesful in fixing the line to output the proper plural form link as well.
Other examples showcasing the issue:
* [[Paper Boat]] linking to [[Helmet]] instead of [[Helmets]]
* [[Medium Experience Balloon]] linking to [[Exp Balloon]] instead of [[Exp Balloons]]
- [[User:Poopmcpoop|Poopmcpoop]] ([[User talk:Poopmcpoop|talk]]) 14:04, 12 April 2024 (UTC)

Revision as of 14:04, 12 April 2024

Cargo Store

I notice that this table is intermittently triggering errors, I also notice that the {{{type}}} param is missing a pipe (it is the only one in the cargo store statement missing a pipe), perhaps it should be {{{type|}}}? Per this section:

|SellPrice={{#switch:{{{type}}}|Circle Obol|Square Obol|Hexagon Obol|Sparkle Obol=|#default={{{sellprice|1}}}}}

I remember some mention of this being an issue in Cargo in the past, so I wonder if you fixed that, then re-created the table, if your errors that rely on this may resolve? FrozenPlum (talk) 06:04, 24 March 2022 (UTC)

Type formatting pluralizer

Line 174 type formatting pluralises the presented text but not the actual link, e.g., Studded Hide links to Shirt and not Shirts. I'm a bit rusty with wikimedia piping and was unsuccesful in fixing the line to output the proper plural form link as well.

Other examples showcasing the issue:

- Poopmcpoop (talk) 14:04, 12 April 2024 (UTC)