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 edit summary |
||
| Line 8: | Line 8: | ||
If the input text contains any of the following, then a label is added with the text removed. | If the input text contains any of the following, then a label is added with the text removed. | ||
* <code> ( | * <code> (Weapon)</code> | ||
* <code> (Item)</code> | * <code> (Item)</code> | ||
Latest revision as of 12:01, 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.
(Weapon)(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 | ||||||