Library of Formatting Examples:X
Jump to navigation
Jump to search
Library of Formatting Examples (Work in Progress--full version here)DP Links: Activity Hub · Wiki · Forums
Using the X (cross-reference) template
This is a template for a cross-reference (X) from one page in the LOFE to another. It can also be used to create a reference from elsewhere in the DP Wiki to an LOFE page.
To use it, call the template in the text
{{LOFE:X|Italics|00A}}
The output should look like this:
Arguments
The first two arguments to the call are always the name of an LOFE category and the number of a page in that category, as seen above.
You can also include an optional "style" argument. The supported values are:
- style=short (the default)
- Shows the page number only:
{{LOFE:X|Italics|00A}}→ 00A - style=long
- Shows the category name and page number:
{{LOFE:X|Italics|00A|style=long}}→ Italics/00A - style=custom
- Shows custom text, which must be passed as a separate "text" argument:
{{LOFE:X|Italics|00A|style=custom|text=Italics 00A}}→ Italics 00A
To comment or request edits to this page, please visit the LOFE discussion thread.