Template:CSS image crop
- English
- español
- 日本語
- Deutsch
- français
- 中文
- русский
- italiano
- português
- Nederlands
- العربية
- аԥсшәа
- Afrikaans
- авар
- azərbaycanca
- تۆرکجه
- Basa Bali
- беларуская
- беларуская (тарашкевіца)
- български
- বাংলা
- bosanski
- буряад
- català
- нохчийн
- corsu
- čeština
- Cymraeg
- dansk
- eesti
- فارسی
- suomi
- Gaeilge
- galego
- Gaelg
- Hausa
- עברית
- हिन्दी
- hrvatski
- Kreyòl ayisyen
- magyar
- հայերեն
- Արեւմտահայերէն
- interlingua
- Bahasa Indonesia
- Ilokano
- Ido
- íslenska
- Jawa
- ქართული
- қазақша
- ಕನ್ನಡ
- 한국어
- Latina
- lietuvių
- latviešu
- मैथिली
- македонски
- монгол
- मराठी
- Bahasa Melayu
- Mirandés
- မြန်မာဘာသာ
- नेपाली
- norsk nynorsk
- occitan
- ଓଡ଼ିଆ
- ਪੰਜਾਬੀ
- română
- संस्कृतम्
- Scots
- srpskohrvatski / српскохрватски
- တႆး
- Simple English
- slovenščina
- shqip
- српски / srpski
- Sunda
- svenska
- தமிழ்
- తెలుగు
- тоҷикӣ
- ไทย
- Tagalog
- Türkçe
- українська
- اردو
- oʻzbekcha / ўзбекча
- Tiếng Việt
- 閩南語 / Bân-lâm-gí
- 粵語
This documentation is transcluded from Template:CSS image crop/doc.
lets you create a crop of an image inline for previewing the look and feel of a page. If the edit is committed these crops should be replaced with server side cropped images to avoid sending extra image data to people.
Usage
{{CSS image crop |Image= |bSize= |cWidth= |cHeight= |oTop= |oLeft= }}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
Image | The Name of the image. | empty | optional | |
bSize | The Base Image size (the image we are cropping on) | empty | optional | |
cWidth | Crop Image Width in pixels | empty | optional | |
cHeight | Crop image Height in pixels | empty | optional | |
oTop | Offset Top in pixels | empty | optional | |
oLeft | Offset Left in pixels | empty | optional | |
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
Localization
This template is not intended to be localized.
Category:Templates not requiring internationalizationExample
{{CSS image crop
|Image = Dew on grass Luc Viatour.jpg
|bSize = 400
|cWidth = 100
|cHeight = 100
|oTop = 180
|oLeft = 60
}}