Template:Lsw

From Wikiversity
Jump to navigation Jump to search

[[w:{{{1}}}]]

Template documentation[view] [edit] [history] [purge]

This template creates conditional Wikiversity / Wikipedia links. If the given Wikiversity subpage article exists, the link will appear as a link to the subpage article. Otherwise, if the given Wikiversity article exists, the link will appear as a link to the native Wikiversity article. If the given Wikiversity article does not exist, the template displays a Wikipedia link with the same name instead.

Usage[edit source]

One parameter format displays the Wikipedia link with a leading w:


Two parameter format displays the Wikipedia link as a native link (no leading w: displayed):

  • {{lsw|Colloquium|}} generates Wikiversity link Colloquium
  • {{lsw|Unknown|}} generates Wikipedia link Unknown
  • If the Wikiversity page "Unknown" were to be created, Wikipedia Unknown was {{lsw|Unknown|}}'s previous function.

See Also[edit source]