Template:Chamber infobox: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
No edit summary
(UPDATE - Gel indicators! Feature exclusive to ApTag levels, shows which gels can be activated for the Gun on the Activation Fields in the level.)
Line 41: Line 41:
  -->[[File:Chamber icon {{{icon13|empty}}}.png|48px|link=]]<!--
  -->[[File:Chamber icon {{{icon13|empty}}}.png|48px|link=]]<!--
  -->[[File:Chamber icon {{{icon14|empty}}}.png|48px|link=]]<!--
  -->[[File:Chamber icon {{{icon14|empty}}}.png|48px|link=]]<!--
  -->[[File:Chamber icon {{{icon15|empty}}}.png|48px|link=]]}}</div>}}
  -->[[File:Chamber icon {{{icon15|empty}}}.png|48px|link=]]}}</div>}}<!--
-->{{#if:{{{gelindic1|}}}|<hr /><div class="testchamber-gels testchamber-display2"><!--
-->[[File:Chamber gel indicator {{{gelindic1|off}}}.png|x48px|link=]][[File:Chamber gel indicator {{{gelindic2|off}}}.png|x48px|link=]]</div>}}
</div>
</div>
<div class="testchamber-footer"></div>
<div class="testchamber-footer"></div>

Revision as of 05:39, 20 September 2021


Chamber number ?.pngChamber number ?.png


Test Chamber Infobox previous disabled.png
Test Chamber Infobox next disabled.png
Test Chamber Infobox Portal Guy.png
Chamber progress 0.pngChamber progress 0.pngChamber progress slash.pngChamber progress 0.pngChamber progress 0.png


Screenshot needed.png
Note: portions of the template sample may not be visible without values provided. This is normal.

Documentation for Chamber infobox

Attributes

  • title – The title of the chamber. It should be the same as the page name, with the "game" identifier removed.
  • valve-titleOptional: The Valve-assigned title of the chamber, as seen in the challenge mode of single player.
  • map – The .bsp map file in which the test chamber resides.
  • dirty – If set, will use the "dirty" style of the test chamber panel.
  • number – The numerical identifier of the test chamber.
  • previous – The name of the previous test chamber's page.
  • next – The name of the next test chamber's page.
  • total – The total amount of test chambers as reported by the in-game test chamber signs.
  • screenshot – The name of an uploaded screenshot to be used within the infobox.
  • noprogress – If set, will hide the progress bar.
  • icon1icon15 – Set these to the icons as shown on the in-game signs. Add "on" to the end to make them fully opaque, otherwise they default to semitransparent. If icon1 is not set, the icons will be hidden. Available icons:
  • gelindic1/gelindic2 – The state of the gel indicators, left and right respectively. If gelindic1 is not set, the indicators will be hidden. gelindic1 must be set to off if it's disabled but the other is enabled. gelindic2 defaults to off. Available states:
Template info.png This documentation is transcluded from Template:Chamber infobox/doc.