Template:For Sale: Difference between revisions

From WikiDemocracy
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:
</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}}


|-
|-
! Asking price
! Asking price
| {{#arraymap:{{{Price|}}}|,|x|[[x]]}}
| {{#arraymap:{{{Price|}}}|,|x|x}}


|-
|-
Line 34: Line 34:
! Photo
! Photo
| {{#if:{{{Image|}}}|[[File:{{{Image|}}}]]}}
| {{#if:{{{Image|}}}|[[File:{{{Image|}}}]]}}
|}
|}[[Category:Classified]][[Category:For Sale]]
</includeonly>
</includeonly>

Latest revision as of 15:17, 26 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.