(Created page with "The '''{{tl|rellink}}''' meta-template styles notes that direct users to related articles. The {{tl|See}} and {{tl|Main}} templates employ {[tl|rellink}}. == Usage == <pre> {{rellink | 1 = | extraclasses = }} </pre> The <code>1=</code> parameter is unnecessary unless you use equals signs (<code>=</code>) anywhere in the provided text. You can add additional CSS classes by providing the '''extraclasses''' parameter. == Example == <pre> {{rellink | 1 = Your text here |...") |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="rellink mw-tpl-rellink{{#if:{{{extraclasses|}}}|<nowiki> </nowiki>{{{extraclasses}}}}}">{{{1}}}</div><noinclude> | |||
{{Documentation}} | |||
[[Category:Utility templates]] | |||
< | </noinclude> | ||
{{ | |||
}} | |||
{{ | |||
}} | |||
</ | |||
{{ | |||
}} | |||
Latest revision as of 16:31, 11 May 2025
{{{1}}}
Template documentation (for the above template, sometimes hidden or invisible)
Template:Tocright
The {{rellink}} meta-template styles notes that direct users to related articles. The {{See}} and {{Main}} templates employ {[tl|rellink}}.
Usage
{{rellink | 1 = | extraclasses = }}
The 1=
parameter is unnecessary unless you use equals signs (=
) anywhere in the provided text.
You can add additional CSS classes by providing the extraclasses parameter.
Example
{{rellink | 1 = Your text here | extraclasses = sample-class }}
produces
Your text here
Visit Template:Rellink/doc to edit this text! (How does this work?)