Template:TechInfo: Difference between revisions

Template page
imported>76561198045853337
(update the look and add some features for closer resemblance to in-game infoboxes)
imported>76561198045853337
(Undo revision 6292 by 76561198045853337 (talk): revert for the time being as it spawns problems in some infoboxes)
Line 1: Line 1:
<includeonly><templatestyles src="TechInfo/style.css" /><div class="tech_panel"><div class="tech_header"><div class="tt_glow">{{{Name|Unknown Tech}}}</div><div style="font-size: 11pt;">[{{fullurl:{{FULLPAGENAME}}/TechInfo|action=edit}} edit]</div></div><div class="tech_unlocks">{{TechIcon|{{{Name|Unknown}}}}}{{#if:{{{UnlockItem1|}}}|<div class="tech_unlock_text">Unlocks:</div> {{#if:{{{UnlockItem1|}}}|<div class="tech_unlock_items"><div class="tech_unlock_item">[[File:Icon_{{{UnlockItem1}}}.png|{{{UnlockItem1}}}|link={{{UnlockItem1}}}]]</div>{{#if:{{{UnlockItem2|}}}|<div class="tech_unlock_item">[[File:Icon_{{{UnlockItem2}}}.png|{{{UnlockItem2}}}|link={{{UnlockItem2}}}]]</div>}}{{#if:{{{UnlockItem3|}}}|<div class="tech_unlock_item">[[File:Icon_{{{UnlockItem3}}}.png|{{{UnlockItem3}}}|link={{{UnlockItem3}}}]]</div>}}{{#if:{{{UnlockItem4|}}}|<div class="tech_unlock_item">[[File:Icon_{{{UnlockItem4}}}.png|{{{UnlockItem4}}}|link={{{UnlockItem4}}}]]</div>}}</div>}}}}{{#if:{{{UnlockText|}}}|<div style="flex-shrink: 0"><div class="tech_unlock_text">Unlocks:</div><div class="tt_unlock_text">{{{UnlockText}}}</div></div>}}</div>{{#if:{{{Cost1Type|}}}|<div class="tech_consumption">
<templatestyles src="TechInfo/style.css" /><div class="tech_panel"><div class="tech_header"><div class="tt_glow">{{{Name|Unknown Tech}}}</div><div style="font-size: 11pt;">[{{fullurl:{{FULLPAGENAME}}/TechInfo|action=edit}} edit]</div></div><div class="tech_unlocks">[[File:Tech_{{{Name|Unknown}}}.png|link={{{Name|}}}_(Tech)]]Unlocks: {{#if:{{{UnlockItem1|}}}|<div class="tech_unlock_item">[[File:Icon_{{{UnlockItem1}}}.png|{{{UnlockItem1}}}|link={{{UnlockItem1}}}]]</div>}}{{#if:{{{UnlockItem2|}}}|<div class="tech_unlock_item">[[File:Icon_{{{UnlockItem2}}}.png|{{{UnlockItem2}}}|link={{{UnlockItem2}}}]]</div>}}{{#if:{{{UnlockItem3|}}}|<div class="tech_unlock_item">[[File:Icon_{{{UnlockItem3}}}.png|{{{UnlockItem3}}}|link={{{UnlockItem3}}}]]</div>}}{{#if:{{{UnlockItem4|}}}|<div class="tech_unlock_item">[[File:Icon_{{{UnlockItem4}}}.png|{{{UnlockItem4}}}|link={{{UnlockItem4}}}]]</div>}}</div><div class="tech_consumption">
  <span class="tech_inner_header">Research Consumption</span><br><div class="tech_research_cost"><div class="tt_recipe_item">[[File:Icon_{{{Cost1Type}}}.png|link={{{Cost1Type}}}|45x45px]]<div>{{{Cost1Qty}}}</div></div>{{#if:{{{Cost2Type|}}}|<div class="tt_recipe_item">[[File:Icon_{{{Cost2Type}}}.png|link={{{Cost2Type}}}|45x45px]]<div>{{{Cost2Qty}}}</div></div>}}{{#if:{{{Cost3Type|}}}|<div class="tt_recipe_item">[[File:Icon_{{{Cost3Type}}}.png|link={{{Cost3Type}}}|45x45px]]<div>{{{Cost3Qty}}}</div></div>}}{{#if:{{{Cost4Type|}}}|<div class="tt_recipe_item">[[File:Icon_{{{Cost4Type}}}.png|link={{{Cost4Type}}}|45x45px]]<div>{{{Cost4Qty}}}</div></div>}}{{#if:{{{Cost5Type|}}}|<div class="tt_recipe_item">[[File:Icon_{{{Cost5Type}}}.png|link={{{Cost5Type}}}|45x45px]]<div>{{{Cost5Qty}}}</div></div>}}</div></div>}}{{#if:{{{Hashes|}}}|<div class="tech_hashes"><span class="tech_inner_header">Data Volume</span><br><span class="hash_count">{{{Hashes}}}</span> Hashes</div>}}{{#if:{{{Description|}}}|<hr class="tt_bar"><div class="tt_desc">{{{Description}}}</div>}}</div></includeonly><noinclude>{{documentation}}[[Category:Template]]</noinclude>
  <span class="tech_inner_header">Research Consumption</span><br>{{#if:{{{Cost1Type|}}}|<div class="tt_recipe_item">[[File:Icon_{{{Cost1Type}}}.png|link={{{Cost1Type}}}|45x45px]]<div>{{{Cost1Qty}}}</div></div>}}{{#if:{{{Cost2Type|}}}|<div class="tt_recipe_item">[[File:Icon_{{{Cost2Type}}}.png|link={{{Cost2Type}}}|45x45px]]<div>{{{Cost2Qty}}}</div></div>}}{{#if:{{{Cost3Type|}}}|<div class="tt_recipe_item">[[File:Icon_{{{Cost3Type}}}.png|link={{{Cost3Type}}}|45x45px]]<div>{{{Cost3Qty}}}</div></div>}}{{#if:{{{Cost4Type|}}}|<div class="tt_recipe_item">[[File:Icon_{{{Cost4Type}}}.png|link={{{Cost4Type}}}|45x45px]]<div>{{{Cost4Qty}}}</div></div>}}{{#if:{{{Cost5Type|}}}|<div class="tt_recipe_item">[[File:Icon_{{{Cost5Type}}}.png|link={{{Cost5Type}}}|45x45px]]<div>{{{Cost5Qty}}}</div></div>}}</div><div class="tech_hashes"><span class="tech_inner_header">Data Volume</span><br>{{#if:{{{Hashes|}}}|<span class="hash_count">{{{Hashes}}}</span> Hashes}}</div><hr class="tt_bar"><div class="tt_desc">{{{Description|A description was not supplied to the template.}}}</div></div><noinclude>{{documentation}}[[Category:Template]]</noinclude>

Revision as of 23:58, 15 June 2021

Unknown Tech
Research Consumption
Data Volume

A description was not supplied to the template.
Template documentation[view][edit][history][purge]
This documentation is transcluded from Template:TechInfo/doc. Changes can be proposed in the talk page.
🍪 We use cookies to keep session information to provide you a better experience.