Difference between revisions of "Template:Familiar link"
Jump to navigation
Jump to search
m |
m |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | {{#if:{{{icon|}}}|[[File:{{{icon|}}}|12px|baseline|link=|alt=]]}}{{#if:{{{prefix|}}}|{{{prefix}}}}}[{{{base url|}}}{{{page|}}} {{#if:{{{description|}}}|{{{description}}}|{{#if:{{{page|}}}|{{{page}}}|{{{base url}}}}}}}]<noinclude>{{documentation}}</noinclude> | + | {{#if:{{{icon|}}}|[[File:{{{icon|}}}|12px|baseline|link=|alt=]] }}{{#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}}}]
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
{{Familiar link|base url=https://ru.nl/|icon=Gitlab-logo-500-rgb.png|page=index.php|description=This is a link}}
{{Familiar link|base url=https://ru.nl/|prefix=⬇️|page=index.php|description=Download me}}
ℹ️Actually, for download links, you can best use Template:Download link.
| The above documentation is transcluded from Template:Familiar link/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |