Module:Addlink/doc
This is the documentation page for Module:Addlink
This module sanitizies link input. It will add [[ ]]
around text given to it, but will ignore it if it sees that square brackets are already present.
Examples
{{#invoke:InfoboxLink|wrapInLink|[[Foo]]}}
{{#invoke:InfoboxLink|wrapInLink|Foo}}
Both produce the following output:
- Script error: No such module "InfoboxLink".
Piped links also work.
{{#invoke:InfoboxLink|wrapInLink|[[Foo|Bar]]}}
{{#invoke:InfoboxLink|wrapInLink|Foo{{!}}Bar}}
Both produce:
- Script error: No such module "InfoboxLink".