FANDOM

A FANDOM user
  Loading editor
  • Hi Flanqer, got a question is it possible to trigger the cost to goes red when removed (removed template) is shown/trigger in notes section? At moment what I see is it only work if parameter is given. Let me know if u need further information on this.

      Loading editor
    • View all 5 replies
    • The intention is to let the infobox pick up a #var (or whatever) from the Removed template in the notes, without the use of a parameter

        Loading editor
    • That might work, but if an item may be re-added after it's removed,both the Added and Removed templates will have to set the variable: Added sets availability to "yes", Removed sets it to "no".

        Loading editor
    • A FANDOM user
        Loading editor
  • Hi, I'm wondering if this is possible? Is there a way where I can pull all image file to one page, so I can run through them for Licensing code correction. https://trainstation.fandom.com/wiki/File:HZ_2132_Double.png <-- Image file, Licensing code under About section.

    As I know i can for Template (Infobox Items), but wondering if it is possible to do it with image file.

      Loading editor
    • View all 6 replies
    • This reply has been removed
    • Thanks for this feature, as this was very helpful 😎👌🏽. Finish looking through all images yesterday, for images licensing correction.

        Loading editor
    • A FANDOM user
        Loading editor
  • Hi, I’m wondering is it possible to move Discord Chat more lower, i.e. new place location?

      Loading editor
    • Unfortunately no. The DiscordIntegrator module is designed to load below ads and above everything else, and doesn't have any configuration options to change the load order. There's a javascript snippet to move it to the bottom, but that placement causes unwanted overlap with the Popular Pages module.

      An alternative is to replace DiscordIntegrator with the DiscordChat widget which loads in the same place but is much smaller. It also matches the wiki's color theme. You can see an example of it in use here.

        Loading editor
    • Ah cool, I will ask admin for alternative solution, as I like alternative more than current version. Also ah I see, was wondering if it possible, but it seem nope.

        Loading editor
    • A FANDOM user
        Loading editor
  • Hi Flanqer, got a question to ask. From this code:
    {{#dpl:
    |namespace = Category
    |category = {{PAGENAME}}
    |titlematch = {{PAGENAME}} %
    |notcategorymatch = Offer Box
    |format=,\n*[[%PAGE%|%TITLE%]]
    |order = descending
    }}

    I noticed and can’t think a way to override it or get it to show it (otherthan doing it manual way), but noticed that DPL isn’t displayed it up due to ‘. Via Seasonal Category page, only three of them got an error.

    To give one of them as example to u ——> Category:Valentine's Day. Whereas I expected it to work, like: Category:Christmas.

    Any idea on this?

      Loading editor
    • View all 9 replies
    • You could rename the categories to use ISO dates, e.g. "Added to the Shop 2011-04-28".

      Or you could drop the DPL and instead add sort keys to those category pages to control their sort order within the subcategory list. For example on the Category:Added to the Shop at 28 Apr 2011 page, add {{DEFAULTSORT:Added 2011-04-28}}. (If you still want to use DPL, I think ordermethod = sortkey would use the sort keys for sorting.)

        Loading editor
    • Thanks, that did the trick, as I was looking for something easier, this work perfectly. Now I need find all of it to get full picture 🙈.

      Thanks Sensei! 😊

        Loading editor
    • A FANDOM user
        Loading editor
  • Hi, i've added Tooltips to the wiki (see here), but all i get is bright text against a white background (1st line), Advanced Tooltips (2nd line) allow html, but changing the text color to black with the use of html shouldn't be the solution. also Custom Tooltips (3rd & 4th lines) don't even work at all, i know i'm probably forgetting something or doing something wrong, but i don't know what, can you help me on this please?

      Loading editor
    • View all 24 replies
    • Silly me, i knew i forgot something, but i couldn't figure out what it was, thanks! lol

      Currently {{Tip}} is included in {{Infobox stationItem}} which put a Tooltip on buildings (like Arboretum) and flags to display some explanatory text on Limit, Income and Ratio
      But the IE11 mystery is solved already, it was indeed the disabled JavaScript

      Btw, is there a way to disable the standard tooltip on links?
      As you can see with the building, the Ratio in the infobox is a link, and the standard tooltip is partially covering the Tooltip text

        Loading editor
    • No, there's no way to disable the standard tooltip on links. You'll have to either remove the link, or remove the custom tooltip. (I'd suggest removing the link; it links to a non-existent section on Category:Buildings, which doesn't even mention the word Ratio.)

        Loading editor
    • A FANDOM user
        Loading editor
  • Hi Flanqer, I was asked by TT to ask you on this.

    TT has been trying to workout how to resolve this issue but haven’t had any luck on it. So, he was wondering if you can see where problem is, coming from, so it can be fixed.

    Take this page ---> Superflare

    00C52EBC-7CDF-48D6-A237-57BF8F5F6A76

    Error version

    Coding side (prefer this one):
    {{Offer|type=L|date={{LO|2019|6|10|2019|6|24}}|cost={{gems|390}}|cost2={{gold|2600000000}}|buyxp=26000000|level=430|limit=4|limit2=2}}

    As you can see error (Error Version) from this image show cost, buyxp and level section has been increase, so there is blank area which shouldn’t be there.

    EC197036-177B-4B09-B7A4-B8BF56CD6D9E

    Non-error Version

    Code side:
    {{Offer|type=L|date={{LO|2019|6|10|2019|6|24}}|cost={{gems|390}}|cost2={{gold|2600000000}}|buyxp=26000000|level=430|level2=430|limit=4|limit2=2}}

    Whereas, this image (Non-error Version) show what it should be as. However, if it can be corrected as this with one level given for both cost. 🤔

    0E28D0C7-03B5-4AB0-9152-2B976CF6DA0B

    Test this too

    Code side:
    {{Offer|type=L|date={{LO|2019|6|10|2019|6|24}}|cost={{gems|390}}|cost2={{gold|2600000000}}|buyxp=26000000|level=430}}

    I even try this too (Test this too - image name), to see if give error, but it didn’t when I didn’t include limit... lol 🙈.

    TT side

    TT side

    This what TT point out to me when he was trying workout where issue coming from (TT side - image name).

    So if it possible, can this be done and solve issue where the error coming from? 🤔 Also, for code side is done by this template -—-> Template:Offer.

      Loading editor
    • View all 6 replies
    • Looks like i've fixed it
      I had to remove the linebreak between cost2 and the start of buyxp2

      {{#if:{{{cost2|}}}|{{!}}-
      {{!}} style="width:{{#var:COL3_WIDTH}}; text-align:right; border-top:1px solid #606060;" colspan="1" {{!}} {{#if:{{#var:bk1}}|Bulk {{#var:bk1}}x:}} {{#if:{{{cost2|}}}|{{nowrap|{{{cost2}}}}}| }}{{
      #if:{{{buyxp2|}}}|
      

      But that broke the table if buyxp2 was present

      Fixed that by making buyxp2 start with a double-pipe

      {{!!}}style="width:{{#var:COL4_WIDTH}}; text-align:right; border-top:1px solid #606060;" colspan="1"{{!}}{{#if:{{{buyxp2|}}}|{{XP|{{{buyxp2}}}}}| }}
      }}
      

      All in all, not as obvious as i thought it would be lol

        Loading editor
    • Glad you found a solution. I was about to suggest rewriting it to use Lua, but that would require some familiarity with programming.

        Loading editor
    • A FANDOM user
        Loading editor
  • Hi, I notice ur message to help out via this wiki.... I can think of one thing at moment.... Can you help out on DPL side?

    Just wondering.

      Loading editor
    • I haven't used DPL myself (yet) but I can figure it out. What would you like to use it for?

        Loading editor
    • A FANDOM user
        Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message
Community content is available under CC-BY-SA unless otherwise noted.