Template talk:InfoItem: Difference between revisions

From IdleOn MMO Wiki
m (Blanked the page)
Tag: Blanking
Line 1: Line 1:
==Cargo Store==
I notice that this table is intermittently triggering errors, I also notice that the <code><nowiki>{{{type}}}</nowiki></code> param is missing a pipe (it is the only one in the cargo store statement missing a pipe), perhaps it should be <code><nowiki>{{{type|}}}</nowiki></code>? Per this section:
<pre>
|SellPrice={{#switch:{{{type}}}|Circle Obol|Square Obol|Hexagon Obol|Sparkle Obol=|#default={{{sellprice|1}}}}}
</pre>


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)
== 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 15:05, 12 April 2024