Template:Fruit: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
(Test)
No edit summary
Line 7: Line 7:
</pre>
</pre>
{{#cargo_declare:_table=Fruits
{{#cargo_declare:_table=Fruits
Table|Name=Page|Color=String|Shape=String}}
Table 2|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:43, 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 2" contains whitespaces. Whitespaces of any kind are not allowed; consider using underscores ("_") instead.