Template:CSS crop/doc
![]() | This is a documentation subpage for Template:CSS crop. It may contain usage information, categories and other content that is not part of the original template page. |
{{CSS crop}} creates a crop of a graphics object (like a location map) which cannot be cropped with {{CSS image crop}}. The syntax and code are derivative of {{CSS image crop}}.
Usage
<syntaxhighlight lang="wikitext"> </syntaxhighlight>
Examples
Consider the following uncropped location map
Destinations of flights out of Malacca International Airport
Passenger (including Seasonal Charter)
Cargo
<syntaxhighlight lang="wikitext">
Destinations of flights out of Malacca International Airport
Passenger (including Seasonal Charter)
Cargo
</syntaxhighlight>
Using the {{CSS crop}}
template, we can crop this map by (1) adding |border=infobox
to the location map and (2) passing to the {{CSS crop}}
template through the |Content=
parameter.
<syntaxhighlight lang="wikitext">
</syntaxhighlight>
See also
- {{CSS image crop}}