Template:TwTM Chamber infobox: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<div class="testchamber {{#if: {{{dirty|}}}|dirty}}">
<div class="testchamber-twtm {{#if: {{{dirty|}}}|dirty}}">
<div class="testchamber-header"></div>
<div class="testchamber-twtm-header"></div>
<div class="testchamber-content">
<div class="testchamber-twtm-content">
<div class="testchamber-title testchamber-display1">{{{title|}}}</div>
<div class="testchamber-twtm-title testchamber-display1">{{{title|}}}</div>
<div class="testchamber-map testchamber-display1"><code>{{{map|}}}</code> {{#if:{{{valve-title|}}}|<span class="testchamber-valvetitle">{{{valve-title|}}}</span>}}</div>
<div class="testchamber-twtm-map testchamber-display1"><code>{{{map|}}}</code> {{#if:{{{valve-title|}}}|<span class="testchamber-valvetitle">{{{valve-title|}}}</span>}}</div>
<hr />
<hr />
<div class="testchamber-number testchamber-display1"><!--  
<div class="testchamber-twtm-number testchamber-display1"><!--  
  -->[[File:Chamber number {{#substring:{{{number|??}}}|0|1}}.png|92px|link=]]<!--  
  -->[[File:Chamber number {{#substring:{{{number|??}}}|0|1}}.png|92px|link=]]<!--  
  -->[[File:Chamber number {{#substring:{{{number|??}}}|1|1}}.png|92px|link=]]</div>
  -->[[File:Chamber number {{#substring:{{{number|??}}}|1|1}}.png|92px|link=]]</div>
<br />
<br />
<div class="testchamber-arrows testchamber-display1"><!--  
<div class="testchamber-twtm-arrows testchamber-display1"><!--  
  -->[[File:Test Chamber Infobox {{#if:{{{previous|}}}|previous|previous disabled}}.png|x36px|left|link={{{previous|}}}]]<!--  
  -->[[File:Test Chamber Infobox {{#if:{{{previous|}}}|previous|previous disabled}}.png|x36px|left|link={{{previous|}}}]]<!--  
  -->[[File:Test Chamber Infobox {{#if:{{{next|}}}|next|next disabled}}.png|x36px|right|link={{{next|}}}]]<!--  
  -->[[File:Test Chamber Infobox {{#if:{{{next|}}}|next|next disabled}}.png|x36px|right|link={{{next|}}}]]<!--  
  -->[[File:Test Chamber Infobox Portal Guy.png|x36px|center|link=]]</div><!--
  -->[[File:Test Chamber Infobox Portal Guy.png|x36px|center|link=]]</div><!--
  -->{{#if: {{{stripes|}}}|<hr />
  -->{{#if: {{{stripes|}}}|<hr />
<div class="testchamber-meter testchamber-display1" style="height:18px; max-width:104%; width:{{#expr:({{{stripes|0}}}/53)*100}}%;"></div>}}
<div class="testchamber-twtm-meter testchamber-display1" style="height:18px; max-width:104%; width:{{#expr:({{{stripes|0}}}/53)*100}}%;"></div>}}
<hr />
<hr />
<div class="testchamber-screenshot testchamber-display2"><!--  
<div class="testchamber-twtm-screenshot testchamber-display2"><!--  
  -->[[File:{{{screenshot|Screenshot needed.png}}}|264px]]</div><!--
  -->[[File:{{{screenshot|Screenshot needed.png}}}|264px]]</div><!--
  -->{{#if:{{{icon1|}}}|<div class="testchamber-icons testchamber-display2"><!--  
  -->{{#if:{{{icon1|}}}|<div class="testchamber-icons testchamber-display2"><!--  
Line 29: Line 29:
  -->[[File:Chamber icon {{{icon8|empty}}}.png|60px|link=]]</div>}}
  -->[[File:Chamber icon {{{icon8|empty}}}.png|60px|link=]]</div>}}
</div>
</div>
<div class="testchamber-footer"></div>
<div class="testchamber-twtm-footer"></div>
</div><noinclude>
</div><noinclude>
{{doc begin}}
{{doc begin}}
That only matters with [[Template:Chamber infobox]] in that there are 4 icons per row. And use <code><nowiki>stripes=</nowiki></code> to make the stripes under testchamber number
Use <code><nowiki>stripes=</nowiki></code> to make the stripes under testchamber number. Only 8 icons.
Full doc [[Template:Chamber infobox|here]]
Full doc [[Template:Chamber infobox|here]]
</noinclude>
</noinclude>

Revision as of 14:28, 5 September 2020


Chamber number ?.pngChamber number ?.png


Test Chamber Infobox previous disabled.png
Test Chamber Infobox next disabled.png
Test Chamber Infobox Portal Guy.png

Screenshot needed.png
The template above may be partially or fully invisible or glitched due to the respected strings aren't entered.
This is normal.

Documentation for TwTM Chamber infobox

Use stripes= to make the stripes under testchamber number. Only 8 icons. Full doc here