Template:Addlink

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

[[{{{1}}}]]

Template documentation (View · Edit · History · Purge)

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

Visit Template:Addlink/doc to edit this text! (How does this work?) (Refresh this text - why?)