Template:Link Label

From Zombie Panic! Official Wiki
Jump to navigation Jump to search
Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.
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