Template:Test: Difference between revisions

From IdleOn MMO Wiki
imported>Grzib
mNo edit summary
No edit summary
 
(30 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{#if: {{{head|}}}
<noinclude><!--
|<tr style="{{#switch: {{{head}}}
 
  |orange=background-color: #ff9933;
### Cargo Declare ###
   |green=background-color: #34cb34;
-->{{#cargo_declare:_table=Tests
   |purple=background-color: #e066ff;
   |Name=String
  |yellow=background-color: #e6e600;}}">
   |Source=Text
  <th style="border-radius:0.6em 0 0 0; padding:15px 0 15px 0;">Icon</th>
}}</noinclude><!--
  <th>Name</th> 
 
  <th style="border-radius:0 0.6em 0 0;">Materials</th>
### Cargo Store ###
  <th style="width:100%; white-space:nowrap;">Effect</th>
--><includeonly>{{#cargo_store:_table=Tests
  <th style="width:80%;">Description</th>
  |Name={{{1|{{{name|{{PAGENAME}}}}}}}}
</tr>
   |Source={{#invoke:SourcesQuery|Main|item={{{1|{{{name|{{PAGENAME}}}}}}}}}}
|<tr style="{{#switch: {{{big}}}
}}<!--
  |orange=background-color: #ff993370;
 
  |green=background-color: #34cb3470;
--><div class="Infobox">
  |purple=background-color: #e066ff70;
 
  |yellow=background-color: #e6e60070;}}">
{{#if:{{{1|{{{name|}}}}}}|<dt>Name</dt><dd>{{{1|{{{name|}}}}}}</dd>}}
  <th style="{{#if: {{{end|}}}|border-radius:0 0 0 0.6em;|}}">[[File:{{{icon}}}.png|{{#if: {{{big|}}}|64px|48px}}]]</th>
 
  <th class="name">{{{name}}}</th>
<dt>Source</dt><dd style="display:inline;">{{#invoke:LuaVar|var|name=Sources}}</dd>
   <td style="font-size:15px; line-height:0%; white-space:nowrap;">
 
  <ul style="list-style-type:none; line-height:0; margin:0 5px 0 0;>
</div>
  <li>{{#if: {{{mat1|}}}|{{CraftReq|{{{mat1}}}}}|}}</li>
</includeonly><noinclude><pre>This is a test!</pre>
  <li>{{#if: {{{mat2|}}}|{{CraftReq|{{{mat2}}}}}|}}</li>
</noinclude>
  <li>{{#if: {{{mat3|}}}|{{CraftReq|{{{mat3}}}}}|}}</li>
  <li>{{#if: {{{mat4|}}}|{{CraftReq|{{{mat4}}}}}|}}</li>
  <li>{{#if: {{{liq1|}}}|{{Liquid|{{{liq1}}}}}|}}</li>
  <li>{{#if: {{{liq2|}}}|{{Liquid|{{{liq2}}}}}|}}</li>
  <li>{{#if: {{{liq3|}}}|{{Liquid|{{{liq3}}}}}|}}</li>
  <li>{{#if: {{{liq4|}}}|{{Liquid|{{{liq4}}}}}|}}</li></ul></td>
  <td> {{{effect}}} </td>
  <td style="{{#if: {{{end|}}}|border-radius:0 0 0.6em 0;|}}">{{{desc}}}</td>
  </tr>
}}

Latest revision as of 15:31, 29 December 2022

This template defines the table "Tests". This table has not been created yet.

This is a test!