Library of Formatting Examples:Example text

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 text template

Call this template to show text output or a second example, with only text content and no image.

{{LoFE:Example text|tw=30|lines=20|text=
 Example text
 Example text
}}

Arguments

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

tw
The width of the text, in ems. This should be set wide enough that the text does not word wrap in a standard browser.
lines
The number of lines of the text. This can be up to 90.
text
The actual text to be displayed alongside the line numbers. If your text includes the pipe character (|), use {{!}} in place of any instances.
To comment or request edits to this page, please visit the LoFE discussion thread.