Template:Test: Difference between revisions

From IdleOn MMO Wiki
imported>Bluejello
No edit summary
No edit summary
 
(24 intermediate revisions by 4 users not shown)
Line 1: Line 1:
  <includeonly>|-
<noinclude><!--
{{!}}align="center"{{!}}[[File:{{{1}}}.png|50px]]
 
{{!}}align="center"{{!}}{{{1}}}
### Cargo Declare ###
{{!}}align="center"{{!}}{{{2}}}
-->{{#cargo_declare:_table=Tests
{{!}}align="center"{{!}}{{{3}}}
  |Name=String
{{!}}align="center"{{!}}{{{4}}}
  |Source=Text
{{!}}align="center"{{!}}{{#Switch: {{{5}}}|None=|#Default={{{5}}}}}
}}</noinclude><!--
{{!}}align="center"{{!}}{{#Switch: {{{6}}}|None=|#Default={{{6}}}}}</includeonly><noinclude>
 
<pre>
### Cargo Store ###
Usage:
--><includeonly>{{#cargo_store:_table=Tests
{{Gemshop/row|<Name>|<Description>|<Gem Cost>|<Price>|<Optional Maximum Amount, otherwise enter None>|<Optional Max Purchases, otherwise enter None>}}
  |Name={{{1|{{{name|{{PAGENAME}}}}}}}}
</pre>
  |Source={{#invoke:SourcesQuery|Main|item={{{1|{{{name|{{PAGENAME}}}}}}}}}}
[[category:Table templates]]
}}<!--
 
--><div class="Infobox">
 
{{#if:{{{1|{{{name|}}}}}}|<dt>Name</dt><dd>{{{1|{{{name|}}}}}}</dd>}}
 
<dt>Source</dt><dd style="display:inline;">{{#invoke:LuaVar|var|name=Sources}}</dd>
 
</div>
</includeonly><noinclude><pre>This is a test!</pre>
</noinclude>
</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!