Template:Forge Object Reach: Difference between revisions
From Halopedia, the Halo wiki
(can't see changes without saving unfortunately) |
m (Text replacement - "#FFF" to "#fff") |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><li style="border:.08em solid #000; | <includeonly><li style="border:.08em solid #000;border-radius:1em;width:694px;margin-bottom:1.5em"> | ||
<h3 style="margin:0;padding:.25em .5em;background:#DEF;border-bottom:1px solid #ABC; | <h3 class="darker" style="margin:0;padding:.25em .5em;background:#DEF;border-bottom:1px solid #ABC;border-radius:.7em .7em 0 0">{{{name}}}</h3> | ||
<div style="padding:.25em .5em">{{{description}}}</div> | <div class="darker" style="padding:.25em .5em">{{{description}}}</div> | ||
<table style="background:#F4F4F4;empty-cells:hide;border-collapse:collapse;border-color:#666 #000; | <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:# | <tr style="background:#fff"> | ||
<th style="background:# | <th style="background:#fff;border:.08em solid #666;border-left-width:0"></th> | ||
<th style="border:.08em solid #666;min-width: | <th style="border:.08em solid #666;min-width:81px;max-width:81px">Anchor 9</th> | ||
<th style="border:.08em solid #666;min-width: | <th style="border:.08em solid #666;min-width:81px;max-width:81px">Boardwalk</th> | ||
<th style="border:.08em solid #666;min-width: | <th style="border:.08em solid #666;min-width:81px;max-width:81px">Boneyard</th> | ||
<th style="border:.08em solid #666;min-width: | <th style="border:.08em solid #666;min-width:81px;max-width:81px">Breakpoint</th> | ||
<th style="border:.08em solid #666;min-width: | <th style="border:.08em solid #666;min-width:81px;max-width:81px">Countdown</th> | ||
<th style="border:.08em solid #666;min-width: | <th style="border:.08em solid #666;min-width:81px;max-width:81px">Forge World</th> | ||
<th style="border:.08em solid #666;min-width: | <th style="border:.08em solid #666;min-width:81px;max-width:81px">Powerhouse</th> | ||
<th style="border:.08em solid #666;min-width: | <th style="border:.08em solid #666;min-width:81px;border-right-width:0;max-width:81px">Reflection</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th style="background:# | <th style="background:#fff;border:.08em solid #666;border-left-width:0;min-width:3em">Cost</th> | ||
<td style="{{#ifeq:{{{Anchor9Max|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{Anchor9Max|{{{DefaultMax|?}}}}}}|0||{{#ifeq:{{{Anchor9Cost|{{{DefaultCost}}}}}}|?||$}}{{{Anchor9Cost|{{{DefaultCost|?}}}}}}}}</td> | <td style="{{#ifeq:{{{Anchor9Max|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{Anchor9Max|{{{DefaultMax|?}}}}}}|0||{{#ifeq:{{{Anchor9Cost|{{{DefaultCost}}}}}}|?||$}}{{{Anchor9Cost|{{{DefaultCost|?}}}}}}}}</td> | ||
<td style="{{#ifeq:{{{BoardwalkMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{BoardwalkMax|{{{DefaultMax|?}}}}}}|0||{{#ifeq:{{{BoardwalkCost|{{{DefaultCost}}}}}}|?||$}}{{{BoardwalkCost|{{{DefaultCost|?}}}}}}}}</td> | <td style="{{#ifeq:{{{BoardwalkMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{BoardwalkMax|{{{DefaultMax|?}}}}}}|0||{{#ifeq:{{{BoardwalkCost|{{{DefaultCost}}}}}}|?||$}}{{{BoardwalkCost|{{{DefaultCost|?}}}}}}}}</td> | ||
Line 26: | Line 26: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th style="background:# | <th style="background:#fff;border:.08em solid #666;border-left-width:0;min-width:3em">Max</th> | ||
<td style="{{#ifeq:{{{Anchor9Max|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{Anchor9Max|{{{DefaultMax|?}}}}}}|0||{{{Anchor9Max|{{{DefaultMax|?}}}}}}}}</td> | <td style="{{#ifeq:{{{Anchor9Max|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{Anchor9Max|{{{DefaultMax|?}}}}}}|0||{{{Anchor9Max|{{{DefaultMax|?}}}}}}}}</td> | ||
<td style="{{#ifeq:{{{BoardwalkMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{BoardwalkMax|{{{DefaultMax|?}}}}}}|0||{{{BoardwalkMax|{{{DefaultMax|?}}}}}}}}</td> | <td style="{{#ifeq:{{{BoardwalkMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{BoardwalkMax|{{{DefaultMax|?}}}}}}|0||{{{BoardwalkMax|{{{DefaultMax|?}}}}}}}}</td> | ||
Line 36: | Line 36: | ||
<td style="{{#ifeq:{{{ReflectionMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;border-right-width:0;text-align:right;padding:0 .5em}}">{{#ifeq:{{{ReflectionMax|{{{DefaultMax|?}}}}}}|0||{{{ReflectionMax|{{{DefaultMax|?}}}}}}}}</td> | <td style="{{#ifeq:{{{ReflectionMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;border-right-width:0;text-align:right;padding:0 .5em}}">{{#ifeq:{{{ReflectionMax|{{{DefaultMax|?}}}}}}|0||{{{ReflectionMax|{{{DefaultMax|?}}}}}}}}</td> | ||
</tr> | </tr> | ||
<tr style="background:# | <tr style="background:#fff"> | ||
<th style="background:# | <th style="background:#fff;border:.08em solid #666;border-left-width:0"></th> | ||
<th style="border:.08em solid #666;min-width: | <th style="border:.08em solid #666;min-width:81px;max-width:81px">Spire</th> | ||
<th style="border:.08em solid #666;min-width: | <th style="border:.08em solid #666;min-width:81px;max-width:81px">Sword Base</th> | ||
<th style="border:.08em solid #666;min-width: | <th style="border:.08em solid #666;min-width:81px;max-width:81px">Tempest</th> | ||
<th style="border:.08em solid #666;min-width: | <th style="border:.08em solid #666;min-width:81px;max-width:81px">Zealot</th> | ||
<th style="border:.08em solid #666; | <th style="border:.08em solid #666;border-radius-bottomright:1em;border-right-width:0;" colSpan="4" rowSpan="3"><!-- account for irregular row size --></th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th style="background:# | <th style="background:#fff;border:.08em solid #666;border-left-width:0;min-width:3em">Cost</th> | ||
<td style="{{#ifeq:{{{SpireMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{SpireMax|{{{DefaultMax|?}}}}}}|0||{{#ifeq:{{{SpireCost|{{{DefaultCost}}}}}}|?||$}}{{{SpireCost|{{{DefaultCost|?}}}}}}}}</td> | <td style="{{#ifeq:{{{SpireMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{SpireMax|{{{DefaultMax|?}}}}}}|0||{{#ifeq:{{{SpireCost|{{{DefaultCost}}}}}}|?||$}}{{{SpireCost|{{{DefaultCost|?}}}}}}}}</td> | ||
<td style="{{#ifeq:{{{SwordBaseMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{SwordBaseMax|{{{DefaultMax|?}}}}}}|0||{{#ifeq:{{{SwordBaseCost|{{{DefaultCost}}}}}}|?||$}}{{{SwordBaseCost|{{{DefaultCost|?}}}}}}}}</td> | <td style="{{#ifeq:{{{SwordBaseMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{SwordBaseMax|{{{DefaultMax|?}}}}}}|0||{{#ifeq:{{{SwordBaseCost|{{{DefaultCost}}}}}}|?||$}}{{{SwordBaseCost|{{{DefaultCost|?}}}}}}}}</td> | ||
Line 52: | Line 52: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th style="background:# | <th style="background:#fff;border:.08em solid #666;border-left-width:0;min-width:3em">Max</th> | ||
<td style="{{#ifeq:{{{SpireMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{SpireMax|{{{DefaultMax|?}}}}}}|0||{{{SpireMax|{{{DefaultMax|?}}}}}}}}</td> | <td style="{{#ifeq:{{{SpireMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{SpireMax|{{{DefaultMax|?}}}}}}|0||{{{SpireMax|{{{DefaultMax|?}}}}}}}}</td> | ||
<td style="{{#ifeq:{{{SwordBaseMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{SwordBaseMax|{{{DefaultMax|?}}}}}}|0||{{{SwordBaseMax|{{{DefaultMax|?}}}}}}}}</td> | <td style="{{#ifeq:{{{SwordBaseMax|{{{DefaultMax|?}}}}}}|0|padding:0 .5em;background:#AAA|border:.08em solid #666;text-align:right;padding:0 .5em}}">{{#ifeq:{{{SwordBaseMax|{{{DefaultMax|?}}}}}}|0||{{{SwordBaseMax|{{{DefaultMax|?}}}}}}}}</td> | ||
Line 59: | Line 59: | ||
</tr> | </tr> | ||
</table> | </table> | ||
<div style="padding:.25em .5em; | <div class="darker" style="padding:.25em .5em;border-radius:0 0 1em 1em">{{{protip|Grey Cost/Max cells indicate that the item is not available on a specific map.}}}</div> | ||
</li></includeonly><noinclude>For the [[Forge | </li></includeonly><noinclude>For the [[Forge objects]] page. | ||
<ul> | <ul> | ||
{{ | {{Forge Object Reach | ||
|name={{{name}}} | |name={{{name}}} | ||
|description={{{description}}} | |description={{{description}}} | ||
Line 94: | Line 94: | ||
</ul> | </ul> | ||
<pre> | <pre> | ||
{{ | {{Forge Object Reach | ||
|name={{{name}}} | |name={{{name}}} | ||
|description={{{description}}} | |description={{{description}}} |
Latest revision as of 17:05, September 20, 2022
For the Forge objects page.
-
{{{name}}}
{{{description}}}Anchor 9 Boardwalk Boneyard Breakpoint Countdown Forge World Powerhouse Reflection Cost ${{{Anchor9Cost}}} ${{{BoardwalkCost}}} ${{{BoneyardCost}}} ${{{BreakpointCost}}} ${{{CountdownCost}}} ${{{ForgeWorldCost}}} ${{{PowerhouseCost}}} ${{{ReflectionCost}}} Max {{{Anchor9Max}}} {{{BoardwalkMax}}} {{{BoneyardMax}}} {{{BreakpointMax}}} {{{CountdownMax}}} {{{ForgeWorldMax}}} {{{PowerhouseMax}}} {{{ReflectionMax}}} Spire Sword Base Tempest Zealot Cost ${{{SpireCost}}} ${{{SwordBaseCost}}} ${{{TempestCost}}} ${{{ZealotCost}}} Max {{{SpireMax}}} {{{SwordBaseMax}}} {{{TempestMax}}} {{{ZealotMax}}} {{{protip}}}
{{Forge Object Reach |name={{{name}}} |description={{{description}}} |protip={{{protip}}} |Anchor9Cost={{{Anchor9Cost}}} |Anchor9Max={{{Anchor9Max}}} |BoardwalkCost={{{BoardwalkCost}}} |BoardwalkMax={{{BoardwalkMax}}} |BoneyardCost={{{BoneyardCost}}} |BoneyardMax={{{BoneyardMax}}} |BreakpointCost={{{BreakpointCost}}} |BreakpointMax={{{BreakpointMax}}} |CountdownCost={{{CountdownCost}}} |CountdownMax={{{CountdownMax}}} |ForgeWorldCost={{{ForgeWorldCost}}} |ForgeWorldMax={{{ForgeWorldMax}}} |PowerhouseCost={{{PowerhouseCost}}} |PowerhouseMax={{{PowerhouseMax}}} |ReflectionCost={{{ReflectionCost}}} |ReflectionMax={{{ReflectionMax}}} |SpireCost={{{SpireCost}}} |SpireMax={{{SpireMax}}} |SwordBaseCost={{{SwordBaseCost}}} |SwordBaseMax={{{SwordBaseMax}}} |TempestCost={{{TempestCost}}} |TempestMax={{{TempestMax}}} |ZealotCost={{{ZealotCost}}} |ZealotMax={{{ZealotMax}}} }}} }}
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 (|Anchor9Cost=
).
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...)