Template:For Sale: Difference between revisions

From WikiDemocracy
Jump to navigation Jump to search
(Created page with "<noinclude> This is the "For Sale" template. It should be called in the following format: <pre> {{For Sale |Items= |Price= |Description= |Contact= |Image= }} </pre> Edit the p...")
 
No edit summary
Line 12: Line 12:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
{{#cargo_declare:_table=For Sale|Items=List (,) of Text|Price=List (,) of Float|Description=Text|Contact=Text|Image=File}}
{{#cargo_declare:_table=For_Sale|Items=List (,) of Text|Price=List (,) of Float|Description=Text|Contact=Text|Image=File}}
</noinclude><includeonly>{{#cargo_store:_table=For Sale|Items={{{Items|}}}|Price={{{Price|}}}|Description={{{Description|}}}|Contact={{{Contact|}}}|Image={{{Image|}}} }}{| class="wikitable"
</noinclude><includeonly>{{#cargo_store:_table=For_Sale|Items={{{Items|}}}|Price={{{Price|}}}|Description={{{Description|}}}|Contact={{{Contact|}}}|Image={{{Image|}}} }}{| class="wikitable"
! Item/s for sale
! Item/s for sale
| {{#arraymap:{{{Items|}}}|,|x|[[x]]}}
| {{#arraymap:{{{Items|}}}|,|x|[[x]]}}

Revision as of 13:16, 12 July 2019

This is the "For Sale" template. It should be called in the following format:

{{For Sale
|Items=
|Price=
|Description=
|Contact=
|Image=
}}

Edit the page to see the template text. This template defines the table "For_Sale". This table has not been created yet.