Template:For Sale: Difference between revisions

From WikiDemocracy
Jump to navigation Jump to search
(Undo revision 1495 by Kirk (talk))
Tag: Undo
No edit summary
Line 7: Line 7:
|Price=
|Price=
|Description=
|Description=
|Zip code=
|Contact=
|Contact=
|Image=
|Image=
Line 12: 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|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|}}}|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 24: Line 25:
! Description
! Description
| {{{Description|}}}
| {{{Description|}}}
|-
! Zip code
| {{{Zip code|}}}
|-
|-
! Method of contact
! Method of contact

Revision as of 13: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.

Error: field name "Zip code" contains whitespaces. Whitespaces of any kind are not allowed; consider using underscores ("_") instead.