×
Create a new article
Write your page title here:
We currently have 230 articles on Farthest Frontier. Type your article name above or create one of the articles listed here!



    Farthest Frontier

    User:Jamespapp/sandbox/Infobox Building Tabbed/doc

    Revision as of 17:41, 12 August 2023 by WT_FFWiki>Jamespapp (Created page with "''Note: As this is just a proof of concept, I haven't implemented ALL of the data fields.'' Below, I'm demonstrating how the template reacts to a different number of tiers being included in the call. If there are exactly two tiers for which details are provided, the second panel has the title "Upgraded". If there's only one tier specified, "No upgrade", etc. I also put in a single header (above the panels) with optional subheaders (in the panels). And I also pulled st...")
    (diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

    Note: As this is just a proof of concept, I haven't implemented ALL of the data fields.

    Below, I'm demonstrating how the template reacts to a different number of tiers being included in the call. If there are exactly two tiers for which details are provided, the second panel has the title "Upgraded". If there's only one tier specified, "No upgrade", etc.

    I also put in a single header (above the panels) with optional subheaders (in the panels).

    And I also pulled static properties (those that don't change through upgrades) up, above the panels.

    I'm also defaulting the "Upgrades To" to the name provided for the next upgrade.

    DEBUG
    tier1→1←
    tier2→2←
    tier3→←
    tier4→←

    DEBUG
    tier1→1←
    tier2→←
    tier3→←
    tier4→←

    DEBUG
    tier1→1←
    tier2→2←
    tier3→3←
    tier4→←

    DEBUG
    tier1→1←
    tier2→2←
    tier3→3←
    tier4→4←

    The Healer's House is a little different because it doesn't become available until Tier 2 and it's name actually changes when upgraded.

    I also experimented with using a × instead of an "x" for the size (and I think it looks nicer but do accept that it's WAY more typing.) I tried automating this with a {{#replace:6x6|x|×}} but even though we have Extension:ParserFunctions installed, it seems to be getting ignored and just rendered verbatim.

    DEBUG
    tier1→2←
    tier2→3←
    tier3→←
    tier4→←

    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.