Template:CSS crop
Appearance
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
{{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[change]
<syntaxhighlight lang="wikitext"> </syntaxhighlight>
Examples[change]
Consider the following uncropped location map
Lua error in Module:Location_map at line 411: Malformed coordinates value.
<syntaxhighlight lang="wikitext">Lua error in Module:Location_map at line 411: Malformed coordinates value.</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.
See also[change]
- {{CSS image crop}}