Difference between revisions of "Template:Familiar link"

From TSG Doc
Jump to navigation Jump to search
m
m
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[File:{{{icon|}}}|20px|link=|alt=]][{{{base url|}}}/{{{1}}} {{{2|{{{1|{{{base url|}}}}}}}}}]<noinclude>{{documentation}}</noinclude>
+
{{#if:{{{icon|}}}|[[File:{{{icon|}}}|12px|baseline|link=|alt=]]&nbsp;}}{{#if:{{{prefix|}}}|{{{prefix}}}}}[{{{base url|}}}{{{page|}}} {{#if:{{{description|}}}|{{{description}}}|{{#if:{{{page|}}}|{{{page}}}|{{{base url}}}}}}}]<noinclude>{{documentation}}</noinclude>

Latest revision as of 16:33, 5 August 2026

[ {{{base url}}}]

Template documentation[view] [edit] [history] [purge]

Abstract template for creating shorthands to often referenced websites. An icon can be placed in front of the link to better show users where they're headed.

Example

 This is a link

{{Familiar link|base url=https://ru.nl/|icon=Gitlab-logo-500-rgb.png|page=index.php|description=This is a link}}

⬇️Download me

{{Familiar link|base url=https://ru.nl/|prefix=⬇️|page=index.php|description=Download me}}