Difference between revisions of "Template:Deals"
Jump to navigation
Jump to search
m |
|||
| (21 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{#switch:{{{1}}} | {{#switch:{{{1}}} | ||
| − | |Arrow-Left={{img|Arrow-Left | + | |All-Change={{img|Deals-All-Change.svg|20|20}} |
| − | |Arrow-Right={{img|Arrow-Right | + | |AllChange=[[File:Deals-All-Change.svg|20x20px]] |
| − | |Cross={{img|Cross | + | |Arrow-Left={{img|Deals-Arrow-Left.svg|15|20}} |
| − | |Plus= | + | |ArrowL=[[File:Deals-Arrow-Left.svg|15x20px]] |
| − | | | + | |Arrow-Right={{img|Deals-Arrow-Right.svg|15|20px}} |
| + | |ArrowR=[[File:Deals-Arrow-Right.svg|15x20px]] | ||
| + | |Cross={{img|Deals-Cross.svg|21|20}} | ||
| + | |Plus=[[File:Deals-Plus.svg|21x20px]] | ||
| + | |Equals=[[File:Deals-Equals.svg|22x13px]] | ||
| + | |Query=[[File:Deals-Query.svg|13x20px]] | ||
| + | |Heart=[[File:Deals-Heart.svg|22x20px]] | ||
| + | |Tick=[[File:Deals-Tick.svg|22x20px]] | ||
| + | |From=[[File:Deals-PartialFrom.svg|36x18px]] | ||
| + | |To=[[File:Deals-PartialTo.svg|36x18px]] | ||
|#default={{tc|No such option "{{{1}}}" in [[Template:Deals]]}} | |#default={{tc|No such option "{{{1}}}" in [[Template:Deals]]}} | ||
}}<noinclude>{{doc2}}</noinclude> | }}<noinclude>{{doc2}}</noinclude> | ||
Latest revision as of 17:49, 17 December 2020
No such option "{{{1}}}" in Template:Deals
[edit] Documentation
ToDo: Combine Template:Checkmark with this one, upload all image files, and rm all calls to {{img...}}
The images are (slowly) being uploaded, and all new instances should use the uploaded files. The template has been modified to take a/c of this - see below "Call Thusly". The bold calls are to the uploaded files.
When using this template with two uploaded images, where they should float side-by-side, it is necessary to wrap them in a div, due to MediaWiki's implementation of the [[File:xxx]] call for images.
Small template to generate the following pics:
- {{img|Deals-Arrow-Left.svg|15|20}}
- {{img|Deals-Arrow-Right.svg|15|20}}
- {{img|Deals-Cross.svg|21|20}}
- [[File:Deals-Plus.svg|21x20px]]

- [[File:Deals-Equals.svg|21x20px]]

- [[File:Deals-Query.svg|13x20px]]

- [[File:Deals-Heart.svg|22x20px]]

- [[File:Deals-Tick.svg|22x20px]]

- {{img|Deals-All-Change.svg|20|20}}
- [[File:Deals-PartialFrom.svg|36x18px]]

- [[File:Deals-PartialTo.svg|36x18px]]

Call Thusly
- {{Deals|Arrow-Left}} or {{Deals|ArrowL}}
- {{Deals|Arrow-Right}} or {{Deals|ArrowR}}
- {{Deals|Cross}}
- {{Deals|Plus}}
- {{Deals|Equals}}
- {{Deals|Query}}
- {{Deals|Heart}}
- {{Deals|Tick.svg}}
- {{Deals|All-Change}} or {{Deals|AllChange}}
- {{Deals|From}}
- {{Deals|To}}