Template:For Sale: Difference between revisions

From WikiDemocracy
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
|Price=
|Price=
|Description=
|Description=
|Zip code=
|Zip_code=
|Contact=
|Contact=
|Image=
|Image=
Line 13: Line 13:
</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|Zip code=String|Contact=Text|Image=File}}
{{#cargo_declare:_table=For_Sale|Items=List (,) of Text|Price=List (,) of Float|Description=Text|Zip_code=String|Contact=Text|Image=File}}
</noinclude><includeonly>{{#cargo_store:_table=For_Sale|Items={{{Items|}}}|Price={{{Price|}}}|Description={{{Description|}}}|Zip code={{{Zip code|}}}|Contact={{{Contact|}}}|Image={{{Image|}}} }}{| class="wikitable"
</noinclude><includeonly>{{#cargo_store:_table=For_Sale|Items={{{Items|}}}|Price={{{Price|}}}|Description={{{Description|}}}|Zip_code={{{Zip_code|}}}|Contact={{{Contact|}}}|Image={{{Image|}}} }}{| class="wikitable"
! Item/s for sale
! Item/s for sale
| {{#arraymap:{{{Items|}}}|,|x|[[x]]}}
| {{#arraymap:{{{Items|}}}|,|x|[[x]]}}
Line 27: Line 27:
|-
|-
! Zip code
! Zip code
| {{{Zip code|}}}
| {{{Zip_code|}}}
|-
|-
! Method of contact
! Method of contact

Revision as of 14:45, 12 July 2019

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

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

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