Template:Chamber infobox/doc: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
(Rough doc)
 
No edit summary
 
(16 intermediate revisions by 8 users not shown)
Line 1: Line 1:
== Attributes ==
== Attributes ==
* {{code|title}} {{n}} The title of the chamber.  It should be the same as the page name, with the "game" identifier removed.
* {{code|title}} {{n}} The title of the chamber.  It should be the same as the page name, with the "game" identifier removed.
* {{code|valve-title}} {{n}} '''Optional''': The Valve-assigned title of the chamber, as seen in the challenge mode of single player.
* {{code|map}} {{n}} The .bsp map file in which the test chamber resides.
* {{code|map}} {{n}} The .bsp map file in which the test chamber resides.
* {{code|dirty}} {{n}} If set, will use the "dirty" style of the test chamber panel.
* {{code|number}} {{n}} The numerical identifier of the test chamber.
* {{code|number}} {{n}} The numerical identifier of the test chamber.
* {{code|previous}} {{n}} The name of the previous test chamber's page.
* {{code|previous}} {{n}} The name of the previous test chamber's page.
Line 7: Line 9:
* {{code|total}} {{n}} The total amount of test chambers as reported by the in-game test chamber signs.
* {{code|total}} {{n}} The total amount of test chambers as reported by the in-game test chamber signs.
* {{code|screenshot}} {{n}} The name of an uploaded screenshot to be used within the infobox.
* {{code|screenshot}} {{n}} The name of an uploaded screenshot to be used within the infobox.
* {{code|icon1}} {{n}} {{code|icon10}} {{n}} Set these to the icons as shown on the in-game signs. You can see a full list of the available icons [[:Category:Test Chamber Infobox icons|here]].
* {{code|noprogress}} {{n}} If set, will hide the progress bar.
* {{code|icon1}} {{n}} {{code|icon15}} {{n}} 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 {{code|icon1}} is not set, the icons will be hidden. Available icons:
<gallery widths=75px heights=75px perrow=7>
File:Chamber icon blades hazard on.png|blades hazard
File:Chamber icon bridge shield on.png|bridge shield
File:Chamber icon cake on.png|cake
File:Chamber icon conversion gel on.png|conversion gel
File:Chamber icon crusher hazard on.png|crusher hazard
File:Chamber icon cube button on.png|cube button
File:Chamber icon cube dispenser on.png|cube dispenser
File:Chamber icon cube hazard on.png|cube hazard
File:Chamber icon dirty water on.png|dirty water
File:Chamber icon empty on.png|empty
File:Chamber icon excursion funnel on.png|excursion funnel
File:Chamber icon excursion switch on.png|excursion switch
File:Chamber icon faith plate on.png|faith plate
File:Chamber icon fling enter on.png|fling enter
File:Chamber icon fling exit on.png|fling exit
File:Chamber icon laser field on.png|laser field
File:Chamber icon laser hazard on.png|laser hazard
File:Chamber icon laser redirection on.png|laser redirection
File:Chamber icon laser sensor on.png|laser sensor
File:Chamber icon light bridge on.png|light bridge
File:Chamber icon pass cube on.png|pass cube
File:Chamber icon pellet catcher on.png|pellet catcher
File:Chamber icon pellet hazard on.png|pellet hazard
File:Chamber icon player button on.png|player button
File:Chamber icon propulsion gel on.png|propulsion gel
File:Chamber icon repulsion gel on.png|repulsion gel
File:Chamber icon turret hazard on.png|turret hazard
File:Chamber icon water hazard on.png|water hazard
File:Chamber icon walking on double on.png|walking on double (will be in better quality soon)
File:Chamber icon placing portal on.png|placing portal (ditto)
File:Chamber_icon_put_a_portal_bellow_on.png|put a portal below
File:Chamber_icon_zap_camp_on.png|zap camp
File:Chamber_icon_still_alive_laser_field_on.png|laser field (Portal: Still Alive)
</gallery>
* {{code|gelindic1/gelindic2}} {{n}} The state of the gel indicators, left and right respectively. If {{code|gelindic1}} is not set, the indicators will be hidden. {{code|gelindic1}} must be set to {{code|off}} if it's disabled but the other is enabled. {{code|gelindic2}} defaults to {{code|off.}} Available states:
<gallery widths=75px heights=75px perrow=3>
File:Chamber_gel_indicator_off.png|off
File:Chamber_gel_indicator_blue.png|blue ([[Repulsion Gel]])
File:Chamber_gel_indicator_orange.png|orange ([[Propulsion Gel]])
</gallery>

Latest revision as of 22:55, 13 November 2021

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: