Template:SmallLink/doc: Difference between revisions

Template page
No edit summary
 
Line 15: Line 15:
::<code><nowiki>}}</nowiki></code>
::<code><nowiki>}}</nowiki></code>
'''Output:'''
'''Output:'''
::{{SmallLink|small link beep boop}}
{{SmallLink|small link beep boop}}
 


'''Example 2:'''<br>
'''Example 2:'''<br>
Line 25: Line 24:
::<code><nowiki>}}</nowiki></code>
::<code><nowiki>}}</nowiki></code>
'''Output:'''
'''Output:'''
|{{SmallLink|this is the name, but not the actual link|link=this is the actual link|hr=1}}
{{SmallLink|this is the name, but not the actual link|link=this is the actual link|hr=1}}

Latest revision as of 18:36, 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