More actions
→top: <noinclude> unnecessary now, standardize |
m 1 revision imported |
(No difference)
|
Latest revision as of 07:07, 7 June 2024
This template uses Lua: |
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|Xiao}} yields [[Xiao]]
- With Link Label
{{L|Xiao|Alatus}} yields [[Xiao|Alatus]]
Template Data
Template for displaying fake inwiki links as they would show in source editor mode.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text | text 1 | 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 | label 2 | 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 |