Template:SmallLink: Difference between revisions

Template page
mNo edit summary
m test
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span class="small-link">[[{{{2|{{{1|}}}}}}|→ {{{1|}}}]]</span>
<noinclude>{{SmallLink/doc}}</noinclude>
<includeonly><span class="small-link">[[{{#if:{{{link|}}}|{{{link}}}{{!}}|{{{1}}}{{!}} }}→ {{{1}}}]]</span>{{#if:{{{hr|}}}|{{#tag:hr||class="small-link"}}|{{#tag:br}}}}</includeonly>

Latest revision as of 19:00, 13 March 2024

Usage

{{Spell
|
}}

Optional

|link= override the link, to point to this instead.

|hr=1 adds a line beneath the link and add appropriate styling to the line.

Example

Example 1:

{{SmallLink
|small link beep boop
}}

Output:

→ small link beep boop

Example 2:

{{SmallLink
|this is the name, but not the actual link
|link=this is the actual link
|hr=1
}}

Output:

→ this is the name, but not the actual link