Template:Fruit: Difference between revisions
Jump to navigation
Jump to search
Yaron Koren (talk | contribs) No edit summary |
Yaron Koren (talk | contribs) (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.