Template:Test: Difference between revisions

From IdleOn MMO Wiki
imported>Grzib
mNo edit summary
No edit summary
 
(46 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="width:100%;">Description</th>
### Cargo Store ###
  <th style="border-radius:0 0.6em 0 0;">Materials</th>
--><includeonly>{{#cargo_store:_table=Tests
</tr>
  |Name={{{1|{{{name|{{PAGENAME}}}}}}}}
|<tr style="{{#switch: {{{big}}}
   |Source={{#invoke:SourcesQuery|Main|item={{{1|{{{name|{{PAGENAME}}}}}}}}}}
   |orange=background-color: #ff993370;
}}<!--
  |green=background-color: #34cb3470;
 
  |purple=background-color: #e066ff70;
--><div class="Infobox">
  |yellow=background-color: #e6e60070;}}">
 
  <th style="{{#if: {{{end|}}}|border-radius:0 0 0 0.6em;|}}">[[File:{{{icon}}}.png|{{#if: {{{big|}}}|64px|48px}}]]</th>
{{#if:{{{1|{{{name|}}}}}}|<dt>Name</dt><dd>{{{1|{{{name|}}}}}}</dd>}}
  <th class="name">{{{name}}}</th>
 
  <td>{{{desc}}}</td>
<dt>Source</dt><dd style="display:inline;">{{#invoke:LuaVar|var|name=Sources}}</dd>
  <td style="font-size:15px; vertical-align:center; {{#if: {{{end|}}}|border-radius:0 0 0.6em 0;|}}">
 
  {{CraftReq|{{{mat1}}}}}
</div>
  {{CraftReq|{{{mat2}}}}}
</includeonly><noinclude><pre>This is a test!</pre>
  {{CraftReq|{{{mat3}}}}}</td>
</noinclude>
</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!