Template:Addlink/doc

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search

File:Lua-logo-nolabel.svg
This template uses Lua

Description[edit source]

This template adds [[ ]] around text given to it, thus linking it. It will ignore text if it sees that [[ ]] is already present.

Usage[edit source]

{{Addlink|[[Foo]]}}
{{Addlink|Foo}}

Both produce:

Foo

Piped links also work:

{{Addlink|[[Foo|Bar]]}}
{{Addlink|Foo{{!}}Bar}}

Both produce:

Bar