Template:Test: Difference between revisions

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


### Cargo Store ###
### Cargo Store ###
--><includeonly>{{Sources|{{{name|}}}}}{{#cargo_store:_table=Tests
--><includeonly>{{#invoke:LuaVar|varDefine|name=Sources|value={{Sources}}}}{{#cargo_store:_table=Tests
   |Name={{{name|Null}}}
   |Name={{{name|Null}}}
   |Source={{#var:sources | Variable sources not defined in Template:Test (cargo_store)}}
   |Source={{#ifeq:{{#invoke:LuaVar|var|name=Sources}}|Sources is undefined (cargo store).|{{{source|Unobtainable (cargo_store)}}}|{{#invoke:LuaVar|var|name=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;">{{#var:sources | Variable sources not defined in Template:Test (in Table)}}</dd>
<dt>Source</dt><dd style="display:inline;">{{#ifeq:{{#invoke:LuaVar|var|name=Sources}}|Sources is undefined. (in table)|{{{source|Unobtainable (in table)}}}|{{#invoke:LuaVar|var|name=Sources}}}}</dd>


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

Revision as of 14:23, 28 December 2022

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

This is a test!