Link/Internal – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
(Template creation)
 
m (Text replacement - "‎" to "")
Line 5: Line 5:
| {{Link/Hash|{{{link}}}|{{{text|}}}}}
| {{Link/Hash|{{{link}}}|{{{text|}}}}}
}}
}}
| -no link provided-{{TemplateCase||[[Category:Link template usage error‎]]}}
| -no link provided-{{TemplateCase||[[Category:Link template usage error]]}}
}}</includeonly><noinclude>{{Doc/Template
}}</includeonly><noinclude>{{Doc/Template
|descr= This template creates an internal link (within the BIKI). It uses {{Template|Link/Hash}}.
|descr= This template creates an internal link (within the BIKI). It uses {{Template|Link/Hash}}.

Revision as of 11:54, 26 April 2023

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