Link/Internal – Template

From Bohemia Interactive Community
< Template:Link
Revision as of 16:37, 7 March 2023 by Lou Montana (talk | contribs) (Template creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template creates an internal link (within the BIKI). It uses {{Link/Hash}}.

This template is used on these pages.

Usage

{{Link/Internal|link|text}}

  • link: the internal link
  • text: (Optional) the text to display
Examples
Code Result
{{Link/Internal}} -no link provided-
{{Link/Internal|link= setDir}} setDir
{{Link/Internal|text= setDir's page}} -no link provided-
{{Link/Internal|link= setDir|text= setDir's page}} setDir's page
{{Link/Internal|link= setDir#Example 1}} setDir - Example 1
{{Link/Internal|link= Category:Scripting Commands}}
Sets the page to said category - bad! The : prefix is unfortunately required, see below (no workaround found (yet?)).
{{Link/Internal|link= :Category:Scripting Commands}} Category:Scripting Commands
{{Link/Internal|link= :Category:Scripting Commands|text= All Commands}} All Commands