Template:Link Label/doc: Difference between revisions
Jump to navigation
Jump to search
Created page with "{{Documentation/Header}} {{Lua|Link Label}} Creates a link from the input text in first argument. If the input is already a link and has a label (<nowiki>label</nowiki>), 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. * <code> (Commission)</code> * <code> (Act)</code> * <code> (Chapter)</code> * <co..." |
(No difference)
|
Revision as of 12:00, 11 June 2025
This is the documentation page for Link Label. It contains usage information, categories, and other content not part of the original template page. | ||
|---|---|---|
| Main | Documentation | Usage |
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.
(Commission)(Act)(Chapter)(Soundtrack)(Event)(NPC)(Item)
Examples
{{Link Label}}
{{Link Label|Zombie Panic! Source}}
{{Link Label|[[Zombie Panic! Source]]}}
{{Link Label|[[Main Page|Main Page]]}}
{{Link Label|[[Survivors]], [[Weapons]], and [[Maps]]}}
Template Data
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||