Difference between revisions of "User:Thadius856/sandbox2"

From Captain of Industry Wiki
Jump to: navigation, search
(Creation)
(more tests)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly>{{#if: {{{1|}}} | <!--
--><div style="position: relative; min-height: 75px; font-size: 14px; font-weight: bold;"><!--
--><templatestyles src="Template:Infoicon/styles.css" /><!--


   -->{{#if:{{{Building|}}}|<!--
   ** Blank variables from previous runs on the same page **
    --><div style="max-width:65px; max-height:65px; text-align:center; vertical-align:top; display:inline-block; position:relative;"><!--
 
      -->[[File:{{{Building}}}.png|link={{{Building}}}|65x65px]]<!--
-->{{#vardefine: article}}<!--
    --></div><!--
-->{{#vardefine: nolink}}<!--
   --><div style="font-size:18px; width:15px; text-align:center; vertical-align:text-top; display:inline-block; position: relative;">:</div><!--
 
  ** This section is list of input parameters where the desired image filename should link to a differently-named article **
 
-->{{#vardefine: article | {{#switch: {{lc:{{{1|}}}}}
| bulldozer      = Deconstruction
| clock          = Time
| message        = Messages
| population big = Population <!-- Both Population.png and Population Big.png exist for different use cases -->
| sailor        = Sailors
| stats          = Statistics
| unity large    = Unity
| worker        = Workers <!-- Both Worker.png and Workers.png exist for different use cases -->
| #default      = {{{1|}}}<!--
-->}} }}<!--
 
  ** Allow the user to manually override the link, including the above table. **
  ** Detect if provided "no" (case insensitive). **
 
-->{{#if: {{{link|}}} |<!--
   -->{{#ifeq: {{lc:{{{link}}}}} | no |<!--
    -->{{#vardefine: nolink | yes }}|<!--
    -->{{#vardefine: article | {{{link}}} }}<!--
   -->}}<!--
   -->}}<!--
-->}}<!--
  ** This section prevents line wrapping between the icon and any subsequent text, fixes icon **
  **  vertical alignment, and adds a slight glow for accessibility (unless specified not to). **


  -->{{#if:{{{Input1Name|}}}|<!--
--><span class="nowrap infoicon {{#if: {{{ui|}}} || iconglow }}"><!--
    --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block; position:relative;"><!--
 
      -->[[File:{{{Input1Name}}}.png|link={{{Input1Name}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{Input1Qty}}}</div><!--
     ** Check if the user is wanting to use an icon as an individual image instead of a sprite sheet **
     --></div><!--
 
  -->}}<!--
   -->{{#if: {{{new|}}} | <!--
   -->{{#if:{{{Input2Name|}}}|<!--
     -->[[File:{{{1}}}.png|{{#varexists:mainpage|24px|16px}}|link={{#if: {{#var: nolink}} || {{#var: article}} }}]]&#32;<!--
     --><div style="font-size:18px; width:20px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!--
     -->|<!--
    --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block;  position:relative;"><!--
     --><div class="sprite-{{#varexists: mainpage | 24 | 16}}-{{#replace: {{#replace: {{#replace: {{#replace: {{{1}}} || }} | (}} | )}} | & | And}} iconglow"></div>&#32;<!--
      -->[[File:{{{Input2Name}}}.png|link={{{Input2Name}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{Input2Qty}}}</div><!--
    --></div><!--
  -->}}<!--
  -->{{#if:{{{Input3Name|}}}|<!--
    --><div style="font-size:18px; width:20px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!--
    --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block;  position:relative;"><!--
      -->[[File:{{{Input3Name}}}.png|link={{{Input3Name}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{Input3Qty}}}</div><!--
     --></div><!--
  -->}}<!--
  -->{{#if:{{{Input4Name|}}}|<!--
     --><div style="font-size:18px; width:20px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!--
    --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block;  position:relative;"><!--
      -->[[File:{{{Input4Name}}}.png|link={{{Input4Name}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{Input4Qty}}}</div><!--
    --></div><!--
  -->}}<!--
  -->{{#if:{{{Input5Name|}}}|<!--
    --><div style="font-size:18px; width:20px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!--
    --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block;  position:relative;"><!--
      -->[[File:{{{Input5Name}}}.png|link={{{Input5Name}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{Input5Qty}}}</div><!--
    --></div><!--
  -->}}<!--
  -->{{#if:{{{Input6Name|}}}|<!--
    --><div style="font-size:18px; width:20px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!--
    --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block;  position:relative;"><!--
      -->[[File:{{{Input6Name}}}.png|link={{{Input6Name}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{Input6Qty}}}</div><!--
    --></div><!--
   -->}}<!--
   -->}}<!--


  -->{{#if:{{{Time|}}}|<div style="display: inline-block; margin-top: 15px; width: 50px; text-align:center;"><div style="height:45px; text-align:center; display:inline-block; font-size:10pt;"><div>{{{Time}}}&nbsp;🕓</div><div>[[File:Icon arrow right.svg|30x45px]]</div></div></div>}}<!--
    ** Note that the nested #replace ParserFunctions are used to strip out: **
    ** any spaces, left/right parenthesis, and ampersands (illegal in CSS class names) **


   -->{{#if:{{{Output1Name|}}}|<!--
   -->{{#if: {{{icononly|}}} || <!--
     --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block;  position:relative;"><!--
     -->{{#if: {{#var:nolink}} | <!--
       -->[[File:{{{Output1Name}}}.png|link={{{Output1Name}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{Output1Qty}}}</div><!--
      -->{{{1}}}{{{plural|}}} | <!--
     --></div><!--
       -->[[{{#var: article}}|{{{text|{{{1}}}}}}{{{plural|}}}]]<!--
     -->}}<!--
   -->}}<!--
   -->}}<!--
  -->{{#if:{{{Output2Name|}}}|<!--
--></span> | <!--
    --><div style="font-size:18px; width:20px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!--
--><span style="color: red;">Infoicon: parameter {{{1}}} was not provided</span>}}</includeonly><noinclude>
    --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block;  position:relative;"><!--
'''Copper Ore''' is a natural resource obtained through [[mining]]. It is combined with {{User:Thadius856/sandbox2|Coal}} in a [[Blast Furnace]] to process into {{User:Thadius856/sandbox2|Molten Copper}}. In later stages of the game, Copper Ore can be processed into {{User:Thadius856/sandbox2|Copper Ore Crushed}} in the [[Crusher]] before smelting to increase material efficiency. Smelting of Copper Ore, along with {{User:Thadius856/sandbox2|Iron Ore}}, are the primary sources of {{User:Thadius856/sandbox2|Slag}}.
      -->[[File:{{{Output2Name}}}.png|link={{{Output2Name}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{Output2Qty}}}</div><!--
{{documentation}}
    --></div><!--
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->
  -->}}<!--
</noinclude>
  -->{{#if:{{{Output3Name|}}}|<!--
    --><div style="font-size:18px; width:20px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!--
    --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block;  position:relative;"><!--
      -->[[File:{{{Output3Name}}}.png|link={{{Output3Name}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{Output3Qty}}}</div><!--
    --></div><!--
  -->}}<!--
  -->{{#if:{{{Output4Name|}}}|<!--
    --><div style="font-size:18px; width:20px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!--
    --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block;  position:relative;"><!--
      -->[[File:{{{Output4Name}}}.png|link={{{Output4Name}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{Output4Qty}}}</div><!--
    --></div><!--
  -->}}<!--
  -->{{#if:{{{Output5Name|}}}|<!--
    --><div style="font-size:18px; width:20px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!--
    --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block;  position:relative;"><!--
      -->[[File:{{{Output5Name}}}.png|link={{{Output5Name}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{Output5Qty}}}</div><!--
    --></div><!--
  -->}}<!--
  -->{{#if:{{{Output6Name|}}}|<!--
    --><div style="font-size:18px; width:20px; text-align:center; vertical-align:bottom; display:inline-block; position: relative;">+</div><!--
    --><div style="max-width:45px; max-height:45px; text-align:center; vertical-align:top; display:inline-block;  position:relative;"><!--
      -->[[File:{{{Output6Name}}}.png|link={{{Output6Name}}}|45x45px]]<div style="display: inline-block; margin-top: 5px;">{{{Output6Qty}}}</div><!--
    --></div><!--
  -->}}<!--
 
--></div></includeonly><!--
--><noinclude>{{documentation}}</noinclude>

Latest revision as of 01:11, 29 January 2022

Copper Ore is a natural resource obtained through mining. It is combined with

Coal

in a Blast Furnace to process into

Molten Copper

. In later stages of the game, Copper Ore can be processed into

Copper Ore Crushed

in the Crusher before smelting to increase material efficiency. Smelting of Copper Ore, along with

Iron Ore

, are the primary sources of

Slag

.

Template documentation (for the above template, sometimes hidden or invisible) [create]
This template doesn't have any documentation yet! Help out by writing some.
This template currently doesn't have any documentation; you can create it if you know how the template is used. (What is this?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror ) and testcases (create) pages.
Please add categories and interwikis to User:Thadius856/sandbox2/doc. (View all subpages of this page.)