Template:L: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly>{{#invoke:Formatting|main|link=1}}</includeonly><noinclude>{{Documentation}}</noinclude>" |
m Protected "Template:L" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
(No difference)
| |
Latest revision as of 20:22, 29 August 2025
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |
This template uses Module:Formatting, a script written in Lua.
Main page: Template:F
This template creates a fake link in the form of how a link would be added in wikitext in source editor.
Syntax
See Template Data for extra functions.
{{L|Page Name|Link Label}}
Examples
- No Link Label
{{L|Kiana}} yields: [[Kiana]]
- With Link Label
{{L|Kiana|Kiana Kaslana}} yields: [[Kiana|Kiana Kaslana]]
Template Data
Template for displaying fake inwiki links as they would show in source editor mode.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | 1 text | Main input to display, represents the page to link in link format and the url to link to in external link format. | String | required |
| Label | 2 label | Text to add as label in the link and external link formats. | String | optional |
| Bold | bold b | Option for bold formatting. | Boolean | optional |
| Italic | italic i | Option for italic formatting. | Boolean | optional |
| Underline | underline u | Option for underline formatting. | Boolean | optional |
| Ref Tag | ref r | Option for adding <ref></ref> tags. | Boolean | optional |
| NoWiki | nowiki nw | Option for adding <nowiki></nowiki> tags. | Boolean | optional |