Template:Test: Difference between revisions

From IdleOn MMO Wiki
imported>Grzib
mNo edit summary
No edit summary
 
(57 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{#if: {{{head|}}}|<tr style="{{#switch: {{{color}}}
<noinclude><!--
|orange=background-color: #ff9933;
 
|green=background-color: #34cb34;
### Cargo Declare ###
|purple=background-color: #e066ff;
-->{{#cargo_declare:_table=Tests
|yellow=background-color: #e6e600;}}">
  |Name=String
<th style="border-radius:0.6em 0 0 0; padding:15px 0 15px 0;">Icon</th>
  |Source=Text
<th>Name</th>
}}</noinclude><!--
<th style="width:100%;">Description</th>
 
<th style="border-radius:0 0.6em 0 0;">Materials</th>
### Cargo Store ###
</tr>|<tr style="{{#switch: {{{color}}}
--><includeonly>{{#cargo_store:_table=Tests
|orange=background-color: #ff993370;
  |Name={{{1|{{{name|{{PAGENAME}}}}}}}}
|green=background-color: #34cb3470;
  |Source={{#invoke:SourcesQuery|Main|item={{{1|{{{name|{{PAGENAME}}}}}}}}}}
|purple=background-color: #e066ff70;
}}<!--
|yellow=background-color: #e6e60070;}}">
 
  <th style="{{#if: {{{end|}}}|border-radius:0 0 0 0.6em;|}}">[[File:{{{icon}}}.png|
--><div class="Infobox">
          {{#if: {{{orange|}}}|64px|
 
          {{#if: {{{green|}}}|64px|
{{#if:{{{1|{{{name|}}}}}}|<dt>Name</dt><dd>{{{1|{{{name|}}}}}}</dd>}}
          {{#if: {{{purple|}}}|64px|
 
          {{#if: {{{yellow|}}}|64px|48px}} }} }} }}]]</th>
<dt>Source</dt><dd style="display:inline;">{{#invoke:LuaVar|var|name=Sources}}</dd>
  <th class="name">{{{name}}}</th>
 
  <td>{{{description}}}</td>
</div>
  <td style="{{#if: {{{end|}}}|border-radius:0 0 0.6em 0;|}}">{{{materials}}}</td>
</includeonly><noinclude><pre>This is a test!</pre>
</tr>}}
</noinclude>

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!