FrontPage
RecentChanges
SandBox
MessageBoard

Search
Members
Projects
Folders
Index

Preferences

Edit




NEW:






Cdml Image

From: AdvancedTextFormatting, CdmlElements


Description

This CmdlElement allows to place images together with a text (e.g. a description of the image) on a highlighted background. Format, placement and alignment of image and text can be chosen, as well as the background color.


Example

The text flows around the image. Golden Gate, strait in western California, at the entrance to San Francisco Bay, separating the bay from the Pacific Ocean. The strait is 8 km (5 mi) long and narrows to 1 km (0.6 mi) in width. The famous Golden Gate Bridge crosses the strait to connect San Francisco, on the south, with Marin County, on the north. Although the English explorer Sir Francis Drake visited the region of San Francisco Bay in 1579 and a scout for the Spanish colonial governor Gaspar de Portolá may have explored as far as the Golden Gate in 1769, the first Europeans known with certainty to have seen it were a party of soldiers sent by Portolá in 1772. The American explorer John Charles Frémont gave the strait the name Golden Gate in 1846. (from: Encarta Online)

is generated from the following input:

[[image]http://www.wikiservice.at/image/golden_gate.jpg 
[text='''The text flows around the image.''' Golden Gate, ...]


Parameters

  • distance: allows horizontal positioning (default: centered); e.g. [distance=50]
  • background: defines the background color (default: white); e.g. [background=lightgray] (c.f. HtmlColorCodes, CdmlColorNames)
  • width: defines the total width for text and image; e.g. [width=600]
  • padding: creates additional empty space around image and text, res. between image and text; e.g. [padding=10]
  • align: aligns the image either to the left or to the right (default=left); e.g. [align=right]
  • type: can be chosen either "column" or "surround" (default=surround); e.g. [type=column]

More Examples

The text flows around the image. Golden Gate, strait in western California, at the entrance to San Francisco Bay, separating the bay from the Pacific Ocean. The strait is 8 km (5 mi) long and narrows to 1 km (0.6 mi) in width. The famous Golden Gate Bridge crosses the strait to connect San Francisco, on the south, with Marin County, on the north. Although the English explorer Sir Francis Drake visited the region of San Francisco Bay in 1579 and a scout for the Spanish colonial governor Gaspar de Portolá may have explored as far as the Golden Gate in 1769, the first Europeans known with certainty to have seen it were a party of soldiers sent by Portolá in 1772. The American explorer John Charles Frémont gave the strait the name Golden Gate in 1846. (from: Encarta Online)

The text flows around the image. Golden Gate, strait in western California, at the entrance to San Francisco Bay, separating the bay from the Pacific Ocean. The strait is 8 km (5 mi) long and narrows to 1 km (0.6 mi) in width. The famous Golden Gate Bridge crosses the strait to connect San Francisco, on the south, with Marin County, on the north. Although the English explorer Sir Francis Drake visited the region of San Francisco Bay in 1579 and a scout for the Spanish colonial governor Gaspar de Portolá may have explored as far as the Golden Gate in 1769, the first Europeans known with certainty to have seen it were a party of soldiers sent by Portolá in 1772. The American explorer John Charles Frémont gave the strait the name Golden Gate in 1846. (from: Encarta Online)

The text is displayed in a column to the right of the image. Golden Gate, strait in western California, at the entrance to San Francisco Bay, separating the bay from the Pacific Ocean. The strait is 8 km (5 mi) long and narrows to 1 km (0.6 mi) in width. The famous Golden Gate Bridge crosses the strait to connect San Francisco, on the south, with Marin County, on the north. Although the English explorer Sir Francis Drake visited the region of San Francisco Bay in 1579 and a scout for the Spanish colonial governor Gaspar de Portolá may have explored as far as the Golden Gate in 1769, the first Europeans known with certainty to have seen it were a party of soldiers sent by Portolá in 1772. The American explorer John Charles Frémont gave the strait the name Golden Gate in 1846. (from: Encarta Online)

The text is displayed in a column to the left of the image. Golden Gate, strait in western California, at the entrance to San Francisco Bay, separating the bay from the Pacific Ocean. The strait is 8 km (5 mi) long and narrows to 1 km (0.6 mi) in width. The famous Golden Gate Bridge crosses the strait to connect San Francisco, on the south, with Marin County, on the north. Although the English explorer Sir Francis Drake visited the region of San Francisco Bay in 1579 and a scout for the Spanish colonial governor Gaspar de Portolá may have explored as far as the Golden Gate in 1769, the first Europeans known with certainty to have seen it were a party of soldiers sent by Portolá in 1772. The American explorer John Charles Frémont gave the strait the name Golden Gate in 1846. (from: Encarta Online)


FolderWikiTechniques FolderWiki

 
(C) The Tolkien Wiki Community Page last changed: August 2, 2002