FANDOM

A FANDOM user
  Loading editor
  • I just noticed this after anonymous user reported the issue. However I can’t seem to see it. Under Desktop version there isn’t any error. See Image 1. But under Mobile version, it seem there is. See image 2.

    Now I can’t work out why it not showing any issue at Desktop but it is at Mobile version, where is it coming from and how to resolve it?

    01ABC13B-69CA-4501-8719-E0917C703DF2

    Image 1 - Desktop version.

    2A4CE7CE-D27D-4B7D-A01A-E2DB86D12351

    Image 2 - mobile version

    Page link https://trainstation.fandom.com/wiki/Adore_(Set)

      Loading editor
    • View all 9 replies
    • Okay, seem like got to do it, even though I’m starting to hate mobile version. Sigh.

      Okay, shall we start on, infobox set u mention (the draft)? Then work by each infobox template to improve them for mobile side (even though pc side is working fine). Since I see each one have it (mobile) working most, just some section of that template seem to not be working under template.

        Loading editor
    • Had look round on my mobile, although I’m used to PC version, it seem like EN Wiki (as other language wiki also follow how EN wiki is done, so over those pages is going to be having same issue as EN wiki having) will need revamp to new version to suit the mobile version, which is a lots of work to do. (Most is under the templates) I would be saying at this point to forget it, mobile version is going to be very annoying and wouldn't do new revamp version. Also, I don't know how new version will affect DPL side.

      I even found the new version I did with your help Maximum Passengers Per Hour, Contractor Station Street Sizes, Contractor Extra Resources Required seem to be shown in error state under Mobile version. Why man.... like Mobile version need a special treatment. Sigh 😑😑😑.

      This would explain as u saw from set template (which i didn't start on but only modified a few line only) has given up mobile side, just focus on pc only, what past and current admin editors done, I just carry on maintaining the wiki (especially on Mondays, where each new items get added to wiki from PF).

      So now at this point, I am currently feeling mixed view for mobile version side. But with your helps, my view may change for mobile improvement (although I’m favour PC side more, but since u say 25% come from mobile, sound like I am force do so otherwise I can join current admin and past admin who has ignored and given up mobile version).

      Can we go step by step for each templates version to improve them and suited them to mobile version/(will include this although it is already working fine) PC version?

      If we start with Draft for new version of sets page, I will say for this as u mention....

      An infobox should not be the only content on a page; at a minimum there should be a paragraph or two describing the page's topic
      I will say this, since there is a lots of set pages, I will not recommend this at all, just keep it set items information only (as it is currently), no introduction text.

      Finally, I wonder if you really need to list all the offers in the infobox. Wouldn't it make more sense to just show the current offer(s)? It seems to me that the most important info for a player is "can I get it now?" Again, a list of all current & expired offers could be added outside the infobox as a section or table.
      I will have look at ur draft, if we start with set page (going step by step to each template for mobile special treatment (apologies Sensei for my pissed humour as I’m like meh toward mobile as u said got to do it) so players is able to see it either on mobile (although if they was view the layout in mobile they can change it to desktop version) or pc side.

      Firstly, all items is always constant been updated every time when PF make the change, so it was done as this way to keep up with PF, what ever they do, we can keep up with them.

      Also, as this is wiki page, it is better to list all historical information for it (as I’m historical supporter person). As it would be nice to know, rather than just current offer only (although, not related but u making me think of fail DPL Offer template (since it is currently using two templates version), if they can be done for current offer page, so far it hasn’t work so, what u see currently is how it was done), also, we have explains it as requested by PF, as player used our site for reference to do Support Orders if they want that set/loco etc (after that expire time limit).

      I think it'd be sufficient to show just the engine and perhaps one car; that'd be enough to illustrate the set's general style. A separate gallery can be added to the page to show all the cars.

      Lastly, I don’t know how new draft will affect this template, as I know TT is trying template as u heard (Template:Amt using DPL version to replace this page Material Overview) which used set page for that, so all items as part of set, have to be there, not half or one, all.

      (Apologies Sensei, for big message, as I just noticed amount of typing I just did, apologies)

      Also, if u don’t mind, could I add u to my discord account?

        Loading editor
    • A FANDOM user
        Loading editor
  • Hi Flanqer, just wondering from this page: Contractor Station Street Sizes is it possible to create final total spaces? As what I done so far has work as it will automatically calculate the maths side.

    Just Total Contractor Spaces Available part didn’t work, as I’m wondering if it is possible to do it?

    🤔

      Loading editor
    • View all 13 replies
    • Hi Flanqer, I kept myself busy doing other wiki work, but thanks for replying back 😊.

      On br part, I actually did that before I shift it at end, thinking it doesn’t matter, it seem it does 🙈, should kept it as what I did in first place.

      I have updated list to what u suggested to me, what I just noticed some show error and some doesn’t. 🤔 what just happened? As I am puzzled to see it work if there is up to Street 2, but doesn’t to Street 3, 4 and 5 🤔.

        Loading editor
    • While I'm still waiting for reply above.

      I did another test page Test3, where this time I decided to create many Template {{MPPHPoBTest1}} (for Street 2), {{MPPHPoBTest2}} (for Street 3), {{MPPHPoBTest3}} (for Street 4) and {{MPPHPoBTest4}} (for Street 5) in order show Street and other correctly, without additional column given.

      Only way I can see it going to work. But to other editors might find me being crazy to do this way... just wondering if it is ideal?

        Loading editor
    • A FANDOM user
        Loading editor
  • Hi Flanqer, just want ask when u are renaming the pages/images.

    Is it alway restricted to three limit? Just want to double check this.

    As I noticed this then I have wait for a bit before re-allowing to rename page/image until next three limit.

    So yeah, just want to double check this to be sure.

      Loading editor
    • Yes, there's a limit on how many edits/moves you can do in a certain amount of time. I'm not sure of the exact rate limit, but it's basically a few edits every few minutes, and I think admins get a slightly higher rate.

        Loading editor
    • Ah I see, that would explain it, I know in past I did a lot of rename more than 3 time, so hitting 3 limit, really annoyed me. As far I know it always been 3 limit and break for 10 minutes.

        Loading editor
    • A FANDOM user
        Loading editor
  • Hi Flanqer, just wondering if it possible to make one page (not all page) to have no comment section for players to comment on?

    As TrashTerrier would like do that to this page, if it is possible, if yes, making this page https://trainstation.fandom.com/wiki/Trainstation_2 to be informative about this game and make player see that page for further details, rather than commenting on TS1.

    If this is possible though? 🤔

      Loading editor
    • View all 5 replies
    • I followed the advice from
      https://community.fandom.com/wiki/Thread:1106127#8

      and renamed the page to Help:Trainstation_2.

      That advice was specifically about a wiki rules page and is not approriate for your situation. The "Help:" namespace should only be used for "help" articles that explain how to do wiki tasks, and the "Project:" ("TrainStation Wiki:") namespace should only be used for pages that are about the wiki (policies, list of admins, etc). Your Trainstation 2 page is about a game, so it should be in the main namespace.

      Unfortunately there is no way to disable comments on just one page without violating the Terms of Use. The best you can do is add a notice at the bottom of the page asking people to not post comments on that page.


      also the first game, is this wiki 🙈, as it known as TrainStation (2D game)

      I know the entire wiki is about the first game. I meant one specific page that gives an overview of what the game is. For example there's an Undertale page on the Undertale wiki, and an Overwatch page on the Overwatch wiki.

      You have a TrainStation page and a Train Station page, but the first one is about a special train car, and the second has no text, plus the two page names are confusingly similar.

        Loading editor
    • On first point, I see and bummer. Thanks for help though and explanation.

      On second point, I might check with admin to see what they suggested on that, as it didn’t seem to cause issues though.

        Loading editor
    • 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
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.