Template:Fruit: Difference between revisions

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...")
 
No edit summary
Line 7: Line 7:
</pre>
</pre>
{{#cargo_declare:_table=Fruits|Name=Page|Color=Text|Shape=Text}}
{{#cargo_declare:_table=Fruits|Name=Page|Color=Text|Shape=Text}}
</noinclude><includeonly>{{#cargo_store:_table=Fruits|Name={{{name|}}}|Color={{{color|}}}|Shape={{{shape|}}} }}
</noinclude><includeonly>{{!}}-
{{!}}-
{{!}} {{{name}}}
{{!}} {{{name}}}
{{!}} {{{color}}}
{{!}} {{{color}}}
{{!}} {{{shape}}}
{{!}} {{{shape}}}{{#cargo_store:_table=Fruits|Name={{{name|}}}|Color={{{color|}}}|Shape={{{shape|}}} }}
</includeonly>
</includeonly>

Revision as of 02:58, January 9, 2015

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.