Template:Forge Object

From Halopedia, the Halo wiki

Revision as of 17:03, September 20, 2022 by PorpleBot (talk | contribs) (Text replacement - "#FFF" to "#fff")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

For the Forge objects page.

  • {{{name}}}

    {{{description}}}
    Assembly Avalanche Blackout Citadel Cold Storage Construct Epitaph Foundry
    Cost ${{{AssemblyCost}}} ${{{AvalancheCost}}} ${{{BlackoutCost}}} ${{{CitadelCost}}} ${{{ColdStorageCost}}} ${{{ConstructCost}}} ${{{EpitaphCost}}} ${{{FoundryCost}}}
    Max {{{AssemblyMax}}} {{{AvalancheMax}}} {{{BlackoutMax}}} {{{CitadelMax}}} {{{ColdStorageMax}}} {{{ConstructMax}}} {{{EpitaphMax}}} {{{FoundryMax}}}
    Ghost Town Guardian Heretic High Ground Isolation Last Resort Longshore Narrows
    Cost ${{{GhostTownCost}}} ${{{GuardianCost}}} ${{{HereticCost}}} ${{{HighGroundCost}}} ${{{IsolationCost}}} ${{{LastResortCost}}} ${{{LongshoreCost}}} ${{{NarrowsCost}}}
    Max {{{GhostTownMax}}} {{{GuardianMax}}} {{{HereticMax}}} {{{HighGroundMax}}} {{{IsolationMax}}} {{{LastResortMax}}} {{{LongshoreMax}}} {{{NarrowsMax}}}
    Orbital The Pit Rat's Nest Sandbox Sandtrap Snowbound Standoff Valhalla
    Cost ${{{OrbitalCost}}} ${{{ThePitCost}}} ${{{RatsNestCost}}} ${{{SandboxCost}}} ${{{SandtrapCost}}} ${{{SnowboundCost}}} ${{{StandoffCost}}} ${{{ValhallaCost}}}
    Max {{{OrbitalMax}}} {{{ThePitMax}}} {{{RatsNestMax}}} {{{SandboxMax}}} {{{SandtrapMax}}} {{{SnowboundMax}}} {{{StandoffMax}}} {{{ValhallaMax}}}
    {{{protip}}}
{{Forge Object
|name={{{name}}}
|description={{{description}}}
|protip={{{protip}}}
|AssemblyCost={{{AssemblyCost}}}
|AssemblyMax={{{AssemblyMax}}}
|AvalancheCost={{{AvalancheCost}}}
|AvalancheMax={{{AvalancheMax}}}
|BlackoutCost={{{BlackoutCost}}}
|BlackoutMax={{{BlackoutMax}}}
|CitadelCost={{{CitadelCost}}}
|CitadelMax={{{CitadelMax}}}
|ColdStorageCost={{{ColdStorageCost}}}
|ColdStorageMax={{{ColdStorageMax}}}
|ConstructCost={{{ConstructCost}}}
|ConstructMax={{{ConstructMax}}}
|EpitaphCost={{{EpitaphCost}}}
|EpitaphMax={{{EpitaphMax}}}
|FoundryCost={{{FoundryCost}}}
|FoundryMax={{{FoundryMax}}}
|GhostTownCost={{{GhostTownCost}}}
|GhostTownMax={{{GhostTownMax}}}
|GuardianCost={{{GuardianCost}}}
|GuardianMax={{{GuardianMax}}}
|HereticCost={{{HereticCost}}}
|HereticMax={{{HereticMax}}}
|HighGroundCost={{{HighGroundCost}}}
|HighGroundMax={{{HighGroundMax}}}
|IsolationCost={{{IsolationCost}}}
|IsolationMax={{{IsolationMax}}}
|LastResortCost={{{LastResortCost}}}
|LastResortMax={{{LastResortMax}}}
|LongshoreCost={{{LongshoreCost}}}
|LongshoreMax={{{LongshoreMax}}}
|NarrowsCost={{{NarrowsCost}}}
|NarrowsMax={{{NarrowsMax}}}
|OrbitalCost={{{OrbitalCost}}}
|OrbitalMax={{{OrbitalMax}}}
|ThePitCost={{{ThePitCost}}}
|ThePitMax={{{ThePitMax}}}
|RatsNestCost={{{RatsNestCost}}}
|RatsNestMax={{{RatsNestMax}}}
|SandboxCost={{{SandboxCost}}}
|SandboxMax={{{SandboxMax}}}
|SandtrapCost={{{SandtrapCost}}}
|SandtrapMax={{{SandtrapMax}}}
|SnowboundCost={{{SnowboundCost}}}
|SnowboundMax={{{SnowboundMax}}}
|StandoffCost={{{StandoffCost}}}
|StandoffMax={{{StandoffMax}}}
|ValhallaCost={{{ValhallaCost}}}
|ValhallaMax={{{ValhallaMax}}}
}}

The name variable should be the item's name as it shows up in-game: for example, "Column, Damaged Small" rather than "Damaged Small Column". If there is an article for the item, feel free to make the name variable link to the article.

The default value for the Cost and Max variables is ?. You can change the default values by specifying the DefaultCost and DefaultMax variables. When editing a Cost variable, do not prefix the value with "$" -- if a value is specified, it will automatically be prefixed with "$". If you don't know the cost or max, don't specify it, but leave the variable code in (|AssemblyCost=).

The default value of the protip variable is Grey Cost/Max cells indicate that the item is not available on a specific map.

If an item cannot be placed on a particular map, set the appropriate Max variable to 0. If DefaultMax has been set to 0, then simply don't specify the Max variable for the map.

As you may notice with the preview above, if you type anything too long for the cost or max, the box will overflow and stretch the page, so please do take care to just use numbers.

And finally, put the template inside of an HTML UL tag. You can group these things by putting multiple boxes in a single UL, but each box MUST be inside a UL. (I tried to make it use semantic markup by making the template an LI (List Item) since it'll be used in an Unordered List of Forge objects. On reflection, I don't see why I went to the trouble -- MediaWiki's HTML is anything but semantic...)