Template:Test: Difference between revisions

From IdleOn MMO Wiki
No edit summary
No edit summary
Line 8: Line 8:


### Cargo Store ###
### Cargo Store ###
--><includeonly>{{#cargo_store:_table=Tests
--><includeonly>{{Sources|{{{name}}}}}{{#cargo_store:_table=Tests
   |Name={{{name|Null}}}
   |Name={{{name|Null}}}
   |Source={{Sources|{{{name}}}}}{{#var:sources}}
   |Source={{#var:sources}}
}}<!--
}}<!--


Line 17: Line 17:
{{#if:{{{name|}}}|<dt>Name</dt><dd>{{{name|}}}</dd>}}
{{#if:{{{name|}}}|<dt>Name</dt><dd>{{{name|}}}</dd>}}


<dt>Source</dt><dd style="display:inline;">{{#ifeq:{{#invoke:LuaVar|var|name=Sources}}|Sources is undefined.|{{{source|Unobtainable (in table)}}}|{{#invoke:LuaVar|var|name=Sources}}}}</dd>
<dt>Source</dt><dd style="display:inline;">{{#var:sources | Unobtainable}}</dd>


</div>
</div>
</includeonly><noinclude><pre>This is a test!</pre>
</includeonly><noinclude><pre>This is a test!</pre>
</noinclude>
</noinclude>

Revision as of 16:09, 28 December 2022

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

This is a test!