Template:maybelink: Difference between revisions

From diffies' wiki
Jump to navigationJump to search
Created page with "<onlyinclude>{{#if: {{{href|}}}{{{link|}}} | {{page or url|{{{href|{{{link}}}}}}| {{{1}}}{{#if: {{{title|}}} | ¦title={{{title}}} }}}} |<{{maybelink/elem|link={{{link|}}}|href={{{href|}}}|title={{{title|}}}}} {{#if: {{{title|}}} | title="{{{title}}}" }} {{#if: {{{link|}}}{{{href|}}} | href="{{fullurl:{{{href|{{{link|}}}}}} }}" }} >{{{1}}}</{{maybelink/elem|link={{{link|}}}|href={{{href|}}}|title={{{title|}}}}}>}}</onlyinclude> == Examples == {{maybelink|not a link}}..."
 
No edit summary
 
Line 3: Line 3:
|<{{maybelink/elem|link={{{link|}}}|href={{{href|}}}|title={{{title|}}}}}
|<{{maybelink/elem|link={{{link|}}}|href={{{href|}}}|title={{{title|}}}}}
{{#if: {{{title|}}} | title="{{{title}}}" }}
{{#if: {{{title|}}} | title="{{{title}}}" }}
{{#if: {{{link|}}}{{{href|}}} | href="{{fullurl:{{{href|{{{link|}}}}}} }}" }}
>{{{1}}}</{{maybelink/elem|link={{{link|}}}|href={{{href|}}}|title={{{title|}}}}}>}}</onlyinclude>
>{{{1}}}</{{maybelink/elem|link={{{link|}}}|href={{{href|}}}|title={{{title|}}}}}>}}</onlyinclude>


Line 19: Line 18:
{{maybelink|link=http://diffie.eu|link with tooltip|title=tooltip}}
{{maybelink|link=http://diffie.eu|link with tooltip|title=tooltip}}


{{maybelink|href=meow|<html><img src="https://arimelody.space/img/buttons/misc/smokepowered.gif" width=88></html>}}


[[Category:Link templates]]
[[Category:Link templates]]

Latest revision as of 06:50, 19 October 2026

{{{1}}}


Examples

not a link

link attr

href attr

just a tooltip

link with tooltip