LOFE:X: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 17: | Line 17: | ||
;style=custom | ;style=custom | ||
:Shows custom text, which must be passed as a separate "text" argument. | :Shows custom text, which must be passed as a separate "text" argument. | ||
The style and text arguments MUST appear in the third or later position--the first two arguments are always the category and page. | |||
</noinclude> | </noinclude> | ||
Revision as of 06:02, 29 December 2025
[[Library of Formatting Examples:{{{1}}}/{{{2}}}|{{{2}}}]]
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 Wiki to an LOFE page.
The first two arguments to the call are always the name of an LOFE category and the number of a page in that category. For example:
{{LOFE:X|Italics|00A}}
will create a link to Library of Formatting Examples:Italics/00A.
You can also include an optional "style" argument. The supported values are:
- style=short
- Shows the page number only: 00A
- style=long
- Shows the category name and page number: Italics/00A
- style=custom
- Shows custom text, which must be passed as a separate "text" argument.
The style and text arguments MUST appear in the third or later position--the first two arguments are always the category and page.