Library of Formatting Examples:Example image

From DPWiki
Jump to navigation Jump to search
Library of Formatting Examples (Work in Progress--full version here)DP Links: Activity Hub · Wiki · Forums

Using the Example image template

Call this template on every LOFE example page, after the LOFE:Navbar template and before the line numbers:

{{LOFE:Example image|image-filename=101-00A.png|iw=30|tw=30|}}

For more on how to use these templates to create an example for the Library of Formatting Examples, see LOFE:How To Make an Example.

Arguments

This template takes three arguments, all of which are required:

image-filename
The filename of the proofing image, which must be in the File: namespace. Do not include "File:" in the image name.
iw
The width of the proofing image, in ems. The text in the image should be clearly readable and slightly larger than the correctly formatted text that follows.
tw
The width of the correctly formatted text, in ems. This should be set wide enough that the correctly formatted example text does not word wrap in a standard browser.

For more on how to use these templates to create an example for the Library of Formatting Examples, see LOFE:How To Make an Example.

To comment or request edits to this page, please visit the LOFE discussion thread.