Template:Test: Difference between revisions

From IdleOn MMO Wiki
imported>Grzib
mNo edit summary
No edit summary
 
(81 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<div style="
<noinclude><!--
    border: 1px solid #000;
 
    background: #e6e6e6;
### Cargo Declare ###
    border-radius: 0.7em;
-->{{#cargo_declare:_table=Tests
    font-size: 120%;
  |Name=String
    color: #000;
  |Source=Text
    width: 100%;
}}</noinclude><!--
    margin: auto;
 
    overflow:hidden;">
### Cargo Store ###
<table>
--><includeonly>{{#cargo_store:_table=Tests
  <tr border:1px solid #000;"><th>[[File:{{{icon}}}.png|64px]]</th>
  |Name={{{1|{{{name|{{PAGENAME}}}}}}}}
   <th style="width:15%; padding:3px; text-align:center; font-weight:bold;">{{{name}}}</th>
   |Source={{#invoke:SourcesQuery|Main|item={{{1|{{{name|{{PAGENAME}}}}}}}}}}
  <td style="padding:0 5px 0 5px;">{{{description}}}</td></tr>
}}<!--
 
 
  <tr><th>[[File:{{{icon2}}}.png|48px]]</th>
--><div class="Infobox">
  <th style="width:15%; text-align:center; font-weight:bold;">{{{name2}}}</th>
 
  <td>{{{description2}}}</td></tr>
{{#if:{{{1|{{{name|}}}}}}|<dt>Name</dt><dd>{{{1|{{{name|}}}}}}</dd>}}
</table>
 
<dt>Source</dt><dd style="display:inline;">{{#invoke:LuaVar|var|name=Sources}}</dd>
 
</div>
</div>
</includeonly><noinclude><pre>This is a test!</pre>
</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!