Template:Link Label/doc

From Zombie Panic! Official Wiki
Jump to navigation Jump to search
This is the documentation page for Link Label.
It contains usage information, categories, and other content not part of the original template page.
This template uses Module:Link Label, a script written in Lua.

Creates a link from the input text in first argument.

If the input is already a link and has a label ([[link|label]]), then the unmodified input is returned.

If the input contains multiple links, then the unmodified input is returned.

If the input text contains any of the following, then a label is added with the text removed.

  • (Weapon)
  • (Item)

Examples

{{Link Label}}


{{Link Label|Zombie Panic! Source}}

Zombie Panic! Source

{{Link Label|[[Zombie Panic! Source]]}}

Zombie Panic! Source

{{Link Label|[[Main Page|Main Page]]}}

Main Page

{{Link Label|[[Survivors]], [[Weapons]], and [[Maps]]}}

Survivors, Weapons, and Maps

Template Data

Template parameters

ParameterDescriptionTypeStatus
No parameters specified