Template talk:InfoItem: Difference between revisions

From IdleOn MMO Wiki
imported>FrozenPlum
(Add a comment about potentially missing pipe in Cargo store)
 
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Cargo Store==
== Type formatting pluralizer ==
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?
[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.
[[User:FrozenPlum|FrozenPlum]] ([[User talk:FrozenPlum|talk]]) 06:04, 24 March 2022 (UTC)
 
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)

Latest revision as of 18:13, 12 April 2024

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)