Template:Fruit: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
(Test)
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 7: Line 7:
</pre>
</pre>
{{#cargo_declare:_table=Fruits
{{#cargo_declare:_table=Fruits
Table|Name=Page|Color=String|Shape=String}}
|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>

Latest revision as of 21:50, March 1, 2018

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

{{Fruit
|name=
|color=
|shape=
}}

This template defines the table "Fruits". View table.