LOFE:X: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<onlyinclude>[[Library of Formatting Examples:{{{1}}}/{{{2}}}|{{#ifeq:{{{style|short}}}|short|{{{2}}}|{{ifeq:{{{style}}}|custom|{{{text|ERROR:Custom text not specified}}}|{{{1}}}/{{{2}}}}}}}]]</onlyinclude> | <onlyinclude>[[Library of Formatting Examples:{{{1}}}/{{{2}}}|{{#ifeq:{{{style|short}}}|short|{{{2}}}|{{#ifeq:{{{style}}}|custom|{{{text|ERROR:Custom text not specified}}}|{{{1}}}/{{{2}}}}}}}]]</onlyinclude> | ||
<noinclude>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. | <noinclude>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. | ||
Revision as of 05:56, 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.