Difference between revisions of "Template:Rellink"

From RimWorld Wiki
Jump to navigation Jump to search
m (The wiki version lacks mw-tpl-rellink. It seems that extra bit acts as a tabulation. Do note that this particular type of tabulation fails to load under some cases (Some pages I edited have an extra ":" for tabulation because that tab simply didn't load for me at the time))
 
Line 1: Line 1:
<div class="rellink mw-tpl-rellink{{#if:{{{extraclasses|}}}|<nowiki> </nowiki>{{{extraclasses}}}}}">{{{1}}}</div><noinclude>{{Documentation wanted}}
+
<div class="rellink mw-tpl-rellink{{#if:{{{extraclasses|}}}|<nowiki> </nowiki>{{{extraclasses}}}}}">{{{1}}}</div><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 14:38, 28 August 2024

Documentation icon Template documentation[view] [edit] [history] [purge]

This meta-template is used to style section hatnotes which direct users to related articles.

Usage[edit]

{{rellink|1=Your text here}}

produces

In most cases one won't need the 1=, but if there's an = anywhere in the text provided, it is necessary.

Adding an extraclasses parameter allows extra CSS classes to be specified.

Related pages[edit]