Template:LinkWrap

From Bohemia Interactive Community
Jump to navigation Jump to search

Wrap with a link if the link is provided.

This template is used on these pages.

Usage

{{LinkWrap|text|link}}

  • text: shown text
  • link: (Optional) link
Examples
Code Result
{{LinkWrap}} -no text nor link provided-
{{LinkWrap|Hello there!}} Hello there!
{{LinkWrap||Main Page}} Main Page
{{LinkWrap|Hello there!|Main Page}} Hello there!