Template:Links

From Sheltered 2 Wiki
Jump to navigation Jump to search
Template-info.svg Documentation

Provide centralised pre-generated markup for common links.

{{Links|type|text|format=ext}}

Parameters
Param Description
1 link type
2 text (optional) OR notext for a plain link
f or format shorthand format type to add (or not) relevant link markup
Format options
Param Name Result
i or int internal link [[ link | text ]]
e or ext external link [ link text ]
s or side sidebar link link | text
0 or none no markup link text
Examples
Input Output
{{Links|style}} Style Guide
{{Links|style|Style Guide|f=0}} Sheltered 2 Wiki:Style guide Style Guide
{{Links|FAQ}} Frequently Asked Questions
{{Links|FAQ|notext}} F.A.Q.
{{Links|FAQ|Frequently Asked Questions}} Frequently Asked Questions
{{Links|DevBlog|Developer Blog|format=e}} Developer Blog
{{Links|DevBlog|Developer Blog|format=s}} https://unicube.net/development-blog/ | Developer Blog