Template:Test: Difference between revisions
From IdleOn MMO Wiki
No edit summary |
Kiokurashi (talk | contribs) No edit summary |
||
Line 10: | Line 10: | ||
--><includeonly>{{#invoke:LuaVar|varDefine|name=Sources|value={{Sources}}}}{{#cargo_store:_table=Tests | --><includeonly>{{#invoke:LuaVar|varDefine|name=Sources|value={{Sources}}}}{{#cargo_store:_table=Tests | ||
|Name={{{name|Null}}} | |Name={{{name|Null}}} | ||
|Source={{#ifeq:{{#invoke:LuaVar|var|name=Sources}}|Sources is undefined | |Source={{#ifeq:{{#invoke:LuaVar|var|name=Sources}}|Sources is undefined.|{{{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;">{{#ifeq:{{#invoke:LuaVar|var|name=Sources}}|Sources is undefined. | <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> | ||
</div> | </div> | ||
</includeonly><noinclude><pre>This is a test!</pre> | </includeonly><noinclude><pre>This is a test!</pre> | ||
</noinclude> | </noinclude> |
Revision as of 14:32, 28 December 2022
This template defines the table "Tests". This table has not been created yet.
This is a test!