Difference between revisions of "Template:Fruit"

From Discourse DB
Jump to navigation Jump to search
(Created page with "<noinclude>This is the "Fruit" template; it should be called with the following structure: <pre>{{Fruit |name= |color= |shape= }} </pre> {{#cargo_declare:_table=Fruits|Name=Pa...")
 
 
(11 intermediate revisions by the same user not shown)
Line 6: Line 6:
}}
}}
</pre>
</pre>
{{#cargo_declare:_table=Fruits|Name=Page|Color=Text|Shape=Text}}
{{#cargo_declare:_table=Fruits
</noinclude><includeonly>{{#cargo_store:_table=Fruits|Name={{{name|}}}|Color={{{color|}}}|Shape={{{shape|}}} }}
|Name=Page|Color=String|Shape=String}}
{{!}}-
</noinclude><includeonly>{{!}}-
{{!}} {{{name}}}
{{!}} [[{{{name}}}]]
{{!}} {{{color}}}
{{!}} {{{color}}}
{{!}} {{{shape}}}
{{!}} {{{shape}}}{{#cargo_store:_table=Fruits|Name={{{name|}}}|Color={{{color|}}}|Shape={{{shape|}}} }}</includeonly>
</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.