Difference between revisions of "Template:Rellink"

From CWCki
Jump to navigation Jump to search
m (Added documentation.)
(Added usage, recategorized as a metatemplate.)
Line 1: Line 1:
<div class="rellink{{#if:{{{extraclasses|}}}|<nowiki> </nowiki>{{{extraclasses}}}}}">{{{1}}}</div><noinclude>
<div class="rellink{{#if:{{{extraclasses|}}}|<nowiki> </nowiki>{{{extraclasses}}}}}">{{{1}}}</div><noinclude>{usage|1=This is a metatemplate used to style section hatnotes which direct users to related articles.
{{documentation}}
 
</noinclude>
Hatnotes are short notes placed at the top of an article (hence the name "hat"), normally to provide links to other similarly named articles or disambiguation pages.
 
The template indents the text you put in it and displays it in italics. 
 
The format for using this template is as follows:<br />
 
'''<pre>{{Rellink|1=This article is about the seven magic crystal spheres.  For information on Sonichu's testicles, see [[Sonichu 8|''Sonichu'' #8]].}}</pre>'''
 
- Displays:{{Rellink|1=This article is about the seven magic crystal spheres.  For information on Sonichu's testicles, see [[Sonichu 8|''Sonichu'' #8]].}}
}}
 
[[Category:Metatemplates|{{PAGENAME}}]]</noinclude>

Revision as of 19:03, 30 November 2010

{usage|1=This is a metatemplate used to style section hatnotes which direct users to related articles.

Hatnotes are short notes placed at the top of an article (hence the name "hat"), normally to provide links to other similarly named articles or disambiguation pages.

The template indents the text you put in it and displays it in italics.

The format for using this template is as follows:

{{Rellink|1=This article is about the seven magic crystal spheres.  For information on Sonichu's testicles, see [[Sonichu 8|''Sonichu'' #8]].}}

- Displays:

}}