Template:Link: Difference between revisions
Jump to navigation
Jump to search
m (Still being used on tons of page, it might be even useful in case if the link (such as open with app) isn't working properly.) |
mNo edit summary |
||
Line 1: | Line 1: | ||
< | {{link|button|target=web|wikipedia.com|}} | ||
|#default=[{{{1}}} {{#If:{{{2|}}}|< | {{doc}} | ||
|plain=<span class="plainlinks">[{{{2}}} {{# | <includeonly> | ||
}}</ | |||
<onlyinclude>{{#switch:{{{1|}}} | |||
| #default = [https://{{{1}}} {{#If:{{{2|}}}|<span style="color:{{{color|}}};">{{{2}}}</span>|{{{1}}}}}] | |||
| plain = <span class="plainlinks">[https://{{{1}}} {{#If:{{{2|}}}|<span style="color:{{{color|}}};">{{{2}}}</span>|{{{1}}}}}]</span> | |||
| button = {{#switch:{{{target|}}} | |||
| #default = <span class="plainlinks"> [[{{{2}}}|{{#if:{{{3|}}}| <span style="background-image:linear-gradient(135deg, rgba(255 255 255 / 5%), rgba(255 255 255 / 2%)); border:1px solid rgba(255, 255, 255, 0.1); border-radius: .8em; {{#if:{{{color|}}}|color:{{{color}}};|}} padding:.3em .6em"> {{{3}}} </span> | {{{2}}}} }}]] </span> | |||
| web = <span class="plainlinks"> [https://{{{2}}} {{#if:{{{3|}}}| <span style="background-image:linear-gradient(135deg, rgba(255 255 255 / 5%), rgba(255 255 255 / 2%)); border:1px solid rgba(255, 255, 255, 0.1); border-radius: .8em; {{#if:{{{color|}}}|color:{{{color}}};|}} padding:.3em .6em"> {{{3}}} </span> | {{{2}}}} }}] </span> }} | |||
}}</onlyinclude> | |||
</includeonly> |
Revision as of 23:07, 4 May 2024
The above documentation is transcluded from Template:Link/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.