User talk:TK-421: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(→‎Template:Critter: new section)
Line 15: Line 15:


Self: go look at Template:Critter. <code><nowiki> [[rare source::false| ]][[rare::false| ]]</nowiki></code> not populating on some location selections, which excludes for Hunting Ladders. What’s up with that? —[[User:TK-421|TK-421]] ([[User talk:TK-421|talk]]) 02:18, 5 April 2021 (CDT)
Self: go look at Template:Critter. <code><nowiki> [[rare source::false| ]][[rare::false| ]]</nowiki></code> not populating on some location selections, which excludes for Hunting Ladders. What’s up with that? —[[User:TK-421|TK-421]] ([[User talk:TK-421|talk]]) 02:18, 5 April 2021 (CDT)
: Self, I figured it out. If the City isn’t populated the Critter template doesn’t populate these two properties. I (unsuccessfully) tried fiddling with the template, but populating a default to set those proved infuriating. And <code>#Ask</code> won’t query for the ''absence'' of a property. Joy. I’ve settled on just putting a disclaimer/note on the Critter Form. For now. —[[User:TK-421|TK-421]] ([[User talk:TK-421|talk]]) 02:14, 6 April 2021 (CDT)

Revision as of 01:14, 6 April 2021

Wiki Question - Item Form, Advanced Options Item Type Proper Usage?

Hoping you can help me. What is the proper usage for the Item Type field under Advanced Options in the Item Form? Specifically, do all crafting tools need to have their tool type placed in this field or only ones that have multi-word types like mixing stick? Or, is neither the case? --VMPHNTRD (talk) 18:22, 28 October 2020 (CDT)

I don't personally engage with the crafting system at all, so I'm not quite as familiar with how all the tools are setup. It appears the standard folks have adopted is to have their tool type placed in this field, yes.
  • Item Types can be, and usually are, multi-word. The primary way we use itype is for semantic queries. You can have a bunch of items that do the same basic thing and, when tagged with an Item Type, we can set up dynamic tables (e.g. all the tables on the Regeneration Items page) to find/list them all (even if they don't share a common noun).
  • Not all item lists are setup using Item Types. In your specific example, Mixing stick, that last table — the one that actually shows the variants — is actually using an older query (Template:TSearch) and it's literally looking for items with the "mixing stick" in the tap. So if there's a mixing stick that isn't named with that exact phrase the page won't show it. Item Types are superior, but they require extra effort on our parts to setup.
    TK-421 (talk) 19:33, 28 October 2020 (CDT)
  • Wow! Now that is a thorough explanation. Thank you! --VMPHNTRD (talk) 19:54, 28 October 2020 (CDT)

prefix index bug?

It looks like Special:PrefixIndex doesn't trigger properly if you use {{FULLPAGENAME}} when there is an apostrophe in the page's name (aka: Akigwe's Legacy: Secrets of the Tower). Entering the name manually into the code vs using {{FULLPAGENAME}} works out fine, though. No major problem, but just so it's on your radar, if that's a thing that can even get resolved. --TEVESHSZAT (talk) 23:16, 13 December 2020 (CST)

Yeah, it's apparently a known bug with MediaWiki. I noticed it when trying to setup that query on Duskruin. As you noted, just hard-linking it (without the "magic word") works just fine, though. There might be another solution, but I haven't delved too deeply into it. -- TK-421 (talk) 00:16, 14 December 2020 (CST)

Template:Critter

Self: go look at Template:Critter. [[rare source::false| ]][[rare::false| ]] not populating on some location selections, which excludes for Hunting Ladders. What’s up with that? —TK-421 (talk) 02:18, 5 April 2021 (CDT)

Self, I figured it out. If the City isn’t populated the Critter template doesn’t populate these two properties. I (unsuccessfully) tried fiddling with the template, but populating a default to set those proved infuriating. And #Ask won’t query for the absence of a property. Joy. I’ve settled on just putting a disclaimer/note on the Critter Form. For now. —TK-421 (talk) 02:14, 6 April 2021 (CDT)