LinkWrap – Template

From Bohemia Interactive Community
Revision as of 18:24, 27 February 2021 by Lou Montana (talk | contribs) (Template creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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!