Template:For Sale: Difference between revisions

From WikiDemocracy
Jump to navigation Jump to search
No edit summary
(Undo revision 1494 by Kirk (talk))
Tag: Undo
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.

Error: table name "For Sale" contains whitespaces. Whitespaces of any kind are not allowed; consider using underscores ("_") instead.