Template:Fruit: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
No edit summary
(Test)
Line 6: Line 6:
}}
}}
</pre>
</pre>
{{#cargo_declare:_table=Fruits|Name=Page|Color=String|Shape=String}}
{{#cargo_declare:_table=Fruits
Table|Name=Page|Color=String|Shape=String}}
</noinclude><includeonly>{{!}}-
</noinclude><includeonly>{{!}}-
{{!}} [[{{{name}}}]]
{{!}} [[{{{name}}}]]
{{!}} {{{color}}}
{{!}} {{{color}}}
{{!}} {{{shape}}}{{#cargo_store:_table=Fruits|Name={{{name|}}}|Color={{{color|}}}|Shape={{{shape|}}} }}</includeonly>
{{!}} {{{shape}}}{{#cargo_store:_table=Fruits|Name={{{name|}}}|Color={{{color|}}}|Shape={{{shape|}}} }}</includeonly>

Revision as of 21:39, March 1, 2018

This is the "Fruit" template; it should be called with the following structure:

{{Fruit
|name=
|color=
|shape=
}}
Error: table name "Fruits Table" contains whitespaces. Whitespaces of any kind are not allowed; consider using underscores ("_") instead.