Template:Forge Object: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "{{Template:" to "{{")
m (Text replacement - "#FFF" to "#fff")
 
Line 3: Line 3:
<div class="darker" style="padding:.25em .5em">{{{description}}}</div>
<div class="darker" style="padding:.25em .5em">{{{description}}}</div>
<table class="darker" style="background:#F4F4F4;empty-cells:hide;border-collapse:collapse;border-color:#666 #000;border-radius:0 0 1em 1em" cellspacing="0" cellpadding="0">
<table class="darker" style="background:#F4F4F4;empty-cells:hide;border-collapse:collapse;border-color:#666 #000;border-radius:0 0 1em 1em" cellspacing="0" cellpadding="0">
   <tr style="background:#FFF">
   <tr style="background:#fff">
       <th style="background:#FFF;border:.08em solid #666;border-left-width:0"></th>
       <th style="background:#fff;border:.08em solid #666;border-left-width:0"></th>
       <th style="border:.08em solid #666;min-width:6em;max-width:6em">Assembly</th>
       <th style="border:.08em solid #666;min-width:6em;max-width:6em">Assembly</th>
       <th style="border:.08em solid #666;min-width:6em;max-width:6em">Avalanche</th>
       <th style="border:.08em solid #666;min-width:6em;max-width:6em">Avalanche</th>
Line 15: Line 15:
   </tr>
   </tr>
   <tr>
   <tr>
       <th style="background:#FFF;border:.08em solid #666;border-left-width:0;min-width:3em">Cost</th>
       <th style="background:#fff;border:.08em solid #666;border-left-width:0;min-width:3em">Cost</th>
       <td style="{{#ifeq:{{{AssemblyMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{AssemblyMax|{{{DefaultMax|?}}}}}}|0||{{#ifeq:{{{AssemblyCost|{{{DefaultCost}}}}}}|?||$}}{{{AssemblyCost|{{{DefaultCost|?}}}}}}}}</td>
       <td style="{{#ifeq:{{{AssemblyMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{AssemblyMax|{{{DefaultMax|?}}}}}}|0||{{#ifeq:{{{AssemblyCost|{{{DefaultCost}}}}}}|?||$}}{{{AssemblyCost|{{{DefaultCost|?}}}}}}}}</td>
       <td style="{{#ifeq:{{{AvalancheMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{AvalancheMax|{{{DefaultMax|?}}}}}}|0||{{#ifeq:{{{AvalancheCost|{{{DefaultCost}}}}}}|?||$}}{{{AvalancheCost|{{{DefaultCost|?}}}}}}}}</td>
       <td style="{{#ifeq:{{{AvalancheMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{AvalancheMax|{{{DefaultMax|?}}}}}}|0||{{#ifeq:{{{AvalancheCost|{{{DefaultCost}}}}}}|?||$}}{{{AvalancheCost|{{{DefaultCost|?}}}}}}}}</td>
Line 26: Line 26:
   </tr>
   </tr>
   <tr>
   <tr>
       <th style="background:#FFF;border:.08em solid #666;border-left-width:0;min-width:3em">Max</th>
       <th style="background:#fff;border:.08em solid #666;border-left-width:0;min-width:3em">Max</th>
       <td style="{{#ifeq:{{{AssemblyMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{AssemblyMax|{{{DefaultMax|?}}}}}}|0||{{{AssemblyMax|{{{DefaultMax|?}}}}}}}}</td>
       <td style="{{#ifeq:{{{AssemblyMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{AssemblyMax|{{{DefaultMax|?}}}}}}|0||{{{AssemblyMax|{{{DefaultMax|?}}}}}}}}</td>
       <td style="{{#ifeq:{{{AvalancheMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{AvalancheMax|{{{DefaultMax|?}}}}}}|0||{{{AvalancheMax|{{{DefaultMax|?}}}}}}}}</td>
       <td style="{{#ifeq:{{{AvalancheMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{AvalancheMax|{{{DefaultMax|?}}}}}}|0||{{{AvalancheMax|{{{DefaultMax|?}}}}}}}}</td>
Line 36: Line 36:
       <td style="{{#ifeq:{{{FoundryMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;border-right-width:0;text-align:right;padding:0 .5em}}">{{#ifeq:{{{FoundryMax|{{{DefaultMax|?}}}}}}|0||{{{FoundryMax|{{{DefaultMax|?}}}}}}}}</td>
       <td style="{{#ifeq:{{{FoundryMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;border-right-width:0;text-align:right;padding:0 .5em}}">{{#ifeq:{{{FoundryMax|{{{DefaultMax|?}}}}}}|0||{{{FoundryMax|{{{DefaultMax|?}}}}}}}}</td>
   </tr>
   </tr>
   <tr style="background:#FFF">
   <tr style="background:#fff">
       <th style="background:#FFF;border:.08em solid #666;border-left-width:0"></th>
       <th style="background:#fff;border:.08em solid #666;border-left-width:0"></th>
       <th style="border:.08em solid #666;min-width:6em;max-width:6em">Ghost Town</th>
       <th style="border:.08em solid #666;min-width:6em;max-width:6em">Ghost Town</th>
       <th style="border:.08em solid #666;min-width:6em;max-width:6em">Guardian</th>
       <th style="border:.08em solid #666;min-width:6em;max-width:6em">Guardian</th>
Line 48: Line 48:
   </tr>
   </tr>
   <tr>
   <tr>
       <th style="background:#FFF;border:.08em solid #666;border-left-width:0;min-width:3em">Cost</th>
       <th style="background:#fff;border:.08em solid #666;border-left-width:0;min-width:3em">Cost</th>
       <td style="{{#ifeq:{{{GhostTownMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{GhostTownMax|{{{DefaultMax|?}}}}}}|0||{{#ifeq:{{{GhostTownCost|{{{DefaultCost}}}}}}|?||$}}{{{GhostTownCost|{{{DefaultCost|?}}}}}}}}</td>
       <td style="{{#ifeq:{{{GhostTownMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{GhostTownMax|{{{DefaultMax|?}}}}}}|0||{{#ifeq:{{{GhostTownCost|{{{DefaultCost}}}}}}|?||$}}{{{GhostTownCost|{{{DefaultCost|?}}}}}}}}</td>
       <td style="{{#ifeq:{{{GuardianMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{GuardianMax|{{{DefaultMax|?}}}}}}|0||{{#ifeq:{{{GuardianCost|{{{DefaultCost}}}}}}|?||$}}{{{GuardianCost|{{{DefaultCost|?}}}}}}}}</td>
       <td style="{{#ifeq:{{{GuardianMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{GuardianMax|{{{DefaultMax|?}}}}}}|0||{{#ifeq:{{{GuardianCost|{{{DefaultCost}}}}}}|?||$}}{{{GuardianCost|{{{DefaultCost|?}}}}}}}}</td>
Line 59: Line 59:
   </tr>
   </tr>
   <tr>
   <tr>
       <th style="background:#FFF;border:.08em solid #666;border-left-width:0;min-width:3em">Max</th>
       <th style="background:#fff;border:.08em solid #666;border-left-width:0;min-width:3em">Max</th>
       <td style="{{#ifeq:{{{GhostTownMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{GhostTownMax|{{{DefaultMax|?}}}}}}|0||{{{GhostTownMax|{{{DefaultMax|?}}}}}}}}</td>
       <td style="{{#ifeq:{{{GhostTownMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{GhostTownMax|{{{DefaultMax|?}}}}}}|0||{{{GhostTownMax|{{{DefaultMax|?}}}}}}}}</td>
       <td style="{{#ifeq:{{{GuardianMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{GuardianMax|{{{DefaultMax|?}}}}}}|0||{{{GuardianMax|{{{DefaultMax|?}}}}}}}}</td>
       <td style="{{#ifeq:{{{GuardianMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{GuardianMax|{{{DefaultMax|?}}}}}}|0||{{{GuardianMax|{{{DefaultMax|?}}}}}}}}</td>
Line 69: Line 69:
       <td style="{{#ifeq:{{{NarrowsMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;border-right-width:0;text-align:right;padding:0 .5em}}">{{#ifeq:{{{NarrowsMax|{{{DefaultMax|?}}}}}}|0||{{{NarrowsMax|{{{DefaultMax|?}}}}}}}}</td>
       <td style="{{#ifeq:{{{NarrowsMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;border-right-width:0;text-align:right;padding:0 .5em}}">{{#ifeq:{{{NarrowsMax|{{{DefaultMax|?}}}}}}|0||{{{NarrowsMax|{{{DefaultMax|?}}}}}}}}</td>
   </tr>
   </tr>
   <tr style="background:#FFF">
   <tr style="background:#fff">
       <th style="background:#FFF;border:.08em solid #666;border-left-width:0"></th>
       <th style="background:#fff;border:.08em solid #666;border-left-width:0"></th>
       <th style="border:.08em solid #666;min-width:6em;max-width:6em">Orbital</th>
       <th style="border:.08em solid #666;min-width:6em;max-width:6em">Orbital</th>
       <th style="border:.08em solid #666;min-width:6em;max-width:6em">The Pit</th>
       <th style="border:.08em solid #666;min-width:6em;max-width:6em">The Pit</th>
Line 81: Line 81:
   </tr>
   </tr>
   <tr>
   <tr>
       <th style="background:#FFF;border:.08em solid #666;border-left-width:0;min-width:3em">Cost</th>
       <th style="background:#fff;border:.08em solid #666;border-left-width:0;min-width:3em">Cost</th>
       <td style="{{#ifeq:{{{OrbitalMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{OrbitalMax|{{{DefaultMax|?}}}}}}|0||{{#ifeq:{{{OrbitalCost|{{{DefaultCost}}}}}}|?||$}}{{{OrbitalCost|{{{DefaultCost|?}}}}}}}}</td>
       <td style="{{#ifeq:{{{OrbitalMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{OrbitalMax|{{{DefaultMax|?}}}}}}|0||{{#ifeq:{{{OrbitalCost|{{{DefaultCost}}}}}}|?||$}}{{{OrbitalCost|{{{DefaultCost|?}}}}}}}}</td>
       <td style="{{#ifeq:{{{ThePitMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{ThePitMax|{{{DefaultMax|?}}}}}}|0||{{#ifeq:{{{ThePitCost|{{{DefaultCost}}}}}}|?||$}}{{{ThePitCost|{{{DefaultCost|?}}}}}}}}</td>
       <td style="{{#ifeq:{{{ThePitMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{ThePitMax|{{{DefaultMax|?}}}}}}|0||{{#ifeq:{{{ThePitCost|{{{DefaultCost}}}}}}|?||$}}{{{ThePitCost|{{{DefaultCost|?}}}}}}}}</td>
Line 92: Line 92:
   </tr>
   </tr>
   <tr>
   <tr>
       <th style="background:#FFF;border:.08em solid #666;border-left-width:0;min-width:3em">Max</th>
       <th style="background:#fff;border:.08em solid #666;border-left-width:0;min-width:3em">Max</th>
       <td style="{{#ifeq:{{{OrbitalMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{OrbitalMax|{{{DefaultMax|?}}}}}}|0||{{{OrbitalMax|{{{DefaultMax|?}}}}}}}}</td>
       <td style="{{#ifeq:{{{OrbitalMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{OrbitalMax|{{{DefaultMax|?}}}}}}|0||{{{OrbitalMax|{{{DefaultMax|?}}}}}}}}</td>
       <td style="{{#ifeq:{{{ThePitMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{ThePitMax|{{{DefaultMax|?}}}}}}|0||{{{ThePitMax|{{{DefaultMax|?}}}}}}}}</td>
       <td style="{{#ifeq:{{{ThePitMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{ThePitMax|{{{DefaultMax|?}}}}}}|0||{{{ThePitMax|{{{DefaultMax|?}}}}}}}}</td>

Latest revision as of 17:03, September 20, 2022

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...)