Template:Alignedcrop

From Erfwiki
Jump to navigation Jump to search
Documentation is at Template:Alignedcrop/doc. edit

Supplements the crop template. Alignedcrop is bulkier, but allows alignment of individual cropped images on the page.

Usage

{{alignedcrop
|Image = name of the image file
|bSize = 'base size' for the image; essentially sets the 'zoom' being used.
     **Affects parameter sensitivity of oTop and oLeft.  
     **Set to 1000 if unsure, then adjust along with oTop and oLeft.
|cWidth = crop width in pixels
|cHeight = crop height in pixels
|oTop = y-coordinate of top left crop point, uses bSize as a reference.
|oLeft = x-coordinate of top left crop point, uses bSize as a reference.
|Location = how the image is justified on the page layout.  
     **Accepts 'right', 'left', 'center' and 'none'.
     **Determines placement of the image on the page
     **Defaults to 'right' when description is provided (as is default for thumb images)
     **When description is blank, location on left (as is default for non-thumbs)
|Description = an added description.  This turns the image into a thumbnail.
|Link = name of an article to be linked by clicking on the image.
|Alt = The alt-text for the image.
}}

Fields listed after 'oLeft' are optional, though 'Location' is the primary reason to use this Template over the much simpler crop template. You may need to include <br> tags after descriptive text if you want to keep sub-headings looking organized.

Single Image Examples

Full Image

TBFGK 1-1.jpg

Left Aligned Crop

{{alignedcrop
|Image = TBFGK_1-1.jpg
|bSize = 1000
|cWidth = 400
|cHeight = 400
|oTop = 100
|oLeft = 400
|Location = left
}}
TBFGK_1-1.jpg

Here we see Mr. Titan forming a volcano. You can just barely make out the details of a Dwagon flying overhead in the upper left edge of the cropped image. Nice rhinestone details on his cape.













Right Aligned Crop

{{alignedcrop
|Image = TBFGK_1-1.jpg
|bSize = 1000
|cWidth = 400
|cHeight = 400
|oTop = 100
|oLeft = 400
|Location = right
}}
TBFGK_1-1.jpg

Here we see Mr. Titan forming a volcano. You can just barely make out the details of a Dwagon flying overhead in the upper left edge of the cropped image. Nice rhinestone details on his cape.













Center Aligned Crop

{{alignedcrop
|Image = TBFGK_1-1.jpg
|bSize = 1000
|cWidth = 400
|cHeight = 400
|oTop = 100
|oLeft = 400
|Location = center
}}
TBFGK_1-1.jpg

Here we see Mr. Titan forming a volcano. You can just barely make out the details of a Dwagon flying overhead in the upper left edge of the cropped image. Nice rhinestone details on his cape.

Multiple Image Example

{{alignedcrop
|Image = TBFGK_1-1.jpg
|bSize = 1000
|cWidth = 400
|cHeight = 400
|oTop = 100
|oLeft = 400
|Location = left
}}

The Titans of Ark are godlike beings who created Erfworld. At least three in number 
-- although there may be more --- and apparently serving as some kind of pantheon 
for the folk of Erfworld both for purposes of iconography (since they seemed to be 
depicted in every throne room or command centre we've seen so far) and for purposes 
of blasphemy ("Titan's Testes!").

{{alignedcrop
|Image = TBFGK_1-1.jpg
|bSize = 1000
|cWidth = 200
|cHeight = 260
|oTop = 80
|oLeft = 100
|Location = right
}}

They are also responsible for the creation of the Artifacts that play such a crucial 
role in the realpolitik of the world they created. To the left, we see Mr. Titan 
forming a volcano. Over to the right you can see one of his buddies walking over to 
help him. 
TBFGK_1-1.jpg

The Titans of Ark are godlike beings who created Erfworld. At least three in number -- although there may be more --- and apparently serving as some kind of pantheon for the folk of Erfworld both for purposes of iconography (since they seemed to be depicted in every throne room or command centre we've seen so far) and for purposes of blasphemy ("Titan's Testes!").

TBFGK_1-1.jpg

They are also responsible for the genesis of the Artifacts that play such a crucial role in the realpolitik of the world they created. To the left, we see Mr. Titan forming a volcano. Over to the right you can see one of his buddies walking over to help him.




Difficulties

There are no strict guidelines for setting the crop's bSize or oTop/oLeft coordinates. You'll need to preview the cropped image and micro-adjust these parameters until it looks the way you want it to.