×
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

    Template:Infobox Building2 Portable/doc: Difference between revisions

    Content added Content deleted
    (adding 5tree)
    (fixing inaccurate image ID)
     
    Line 62: Line 62:
    {{Infobox_Building2_Portable
    {{Infobox_Building2_Portable
    |name1=Market
    |name1=Market
    |image1=[[File:Building_Market_T2.png|200px]]
    |image1=[[File:Building_Market_T1.png|200px]]
    |category1=Amenities and Services
    |category1=Amenities and Services
    |tier1=1
    |tier1=1
    Line 107: Line 107:
    {{Infobox_Building2_Portable
    {{Infobox_Building2_Portable
    |name1=Market
    |name1=Market
    |image1=[[File:Building_Market_T2.png|200px]]
    |image1=[[File:Building_Market_T1.png|200px]]
    |category1=Amenities and Services
    |category1=Amenities and Services
    |tier1=1
    |tier1=1

    Latest revision as of 21:02, 7 April 2023

    This template creates a Portable Infobox leveraging the extension sourced from MediaWiki, allowing for quick setup of an infobox side panel for a building with a baseline and a single upgrade.

    Using this template or one of its sister templates is highly recommended for standardization of building infobox templates.

    Usage

    {{Infobox_Building4_Portable
    |name1=
    |image1=
    |category1=
    |tier1=
    |prereq1=
    |size1=
    |cost1=
    |upkeep1=
    |consumes1=
    |produces1=
    |occupancy1=
    |upgrade_name1=
    |upgrade_cost1=
    |desirability1=
    <!--TAB 1 COMPLETE-->
    |name2=
    |image2=
    |category2=
    |tier2=
    |prereq2=
    |size2=
    |cost2=
    |upkeep2=
    |consumes2=
    |produces2=
    |occupancy2=
    |upgrade_name2=
    |upgrade_cost2=
    |desirability2=
    <!--TAB 2 COMPLETE-->
    }}
    

    Parameter list

    Parameters used in this template's execution are as follows, with a suffixed 1 or 2 depending on assigned tab (e.g. name1, name2):

    • name = name displayed at top of infobox
    • image = Image to use in main Infobox pane, use parameters to set to 200px
    • category = The category the building belongs to (e.g. Amenities & Services, Food, Defense, etc.)
    • tier = The corresponding tier this building is found at in the build menu (1,2,3,4)
    • prereq = Any building/gamestate prerequisites for this building to be unlocked to build
    • size = Footprint of the building, formatted as SmallValue x BigValue (e.g. 2x3, 5x10)
    • cost = Resource cost to construct the building, use Template:InfoboxCost to format output
    • upkeep = Ongoing cost of building operation, in gold. Use {{Icon|Gold}} to supply images
    • consumes = Any resources produced by the building. Use Template:Icon as a base to supply images
    • produces = Any resources produced by the building. Use Template:Icon as a base to supply images
    • occupancy = count of employable workers and class of workers, if any (e.g. 1-2x Grocers)
    • upgrade_name = name of building that will be upgraded to from current tier, if any
    • upgrade_cost = Resource cost to upgrade the building, use Template:InfoboxCost to format output
    • desirability = Any desirability impact of this building on Shelters (e.g. very negative, negative, neutral, positive, very positive)

    Examples

    {{Infobox_Building2_Portable
    |name1=Market
    |image1=[[File:Building_Market_T1.png|200px]]
    |category1=Amenities and Services
    |tier1=1
    |prereq1=[[Saw Pit]]<br/>[[Storehouse]]
    |size1=6x6
    |cost1={{InfoboxCost
    | logs = 16
    }}
    |upkeep1=N/A
    |consumes1=None
    |produces1={{Icon|Gold}}
    |occupancy1=1x [[Grocer]]
    |upgrade_name1=Market Square
    |upgrade_cost1={{InfoboxCost
    | planks = 50
    | bricks = 50
    | gold = 250
    }} 
    |desirability1=Positive
    <!--TAB 1 COMPLETE-->
    |name2=Market Square
    |image2=[[File:Building_Market_T2.png|200px]]
    |category2=Amenities and Services
    |tier2=(upgrade)
    |prereq2=none
    |size2=4x4
    |cost2={{InfoboxCost
    | planks = 50
    | bricks = 50
    | gold = 250
    }}
    |upkeep2=N/A
    |consumes2=None
    |produces2={{Icon|Gold}}
    |occupancy2=1-2x [[Grocer]]
    |upgrade_name2=N/A
    |upgrade_cost2=N/A
    |desirability2=Positive
    <!--TAB 2 COMPLETE-->
    }}
    



    PortableInfobox Documentation

    See Also

    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.