Template:L/doc

From Zombie Panic! Official Wiki
Jump to navigation Jump to search
This is the documentation page for L.
It contains usage information, categories, and other content not part of the original template page.
This template uses Module:Formatting, a script written in 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|Satchels}} yields [[Satchels]]

With Link Label

{{L|Satchels|Satchel}} yields [[Satchels|Satchel]]

Template Data

Template for displaying fake inwiki links as they would show in source editor mode.

Template parameters

ParameterDescriptionTypeStatus
Texttext 1

Main input to display, represents the page to link in link format and the url to link to in external link format.

Stringrequired
Labellabel 2

Text to add as label in the link and external link formats.

Stringoptional
Boldbold b

Option for bold formatting.

Booleanoptional
Italicitalic i

Option for italic formatting.

Booleanoptional
Underlineunderline u

Option for underline formatting.

Booleanoptional
Ref Tagref r

Option for adding <ref></ref> tags.

Booleanoptional
NoWikinowiki nw

Option for adding <nowiki></nowiki> tags.

Booleanoptional