「テンプレート:Rellink」の版間の差分

提供: ひつじ小屋別館2代目
移動先: 案内検索
(1版)
1行目: 1行目:
<div class="rellink{{#if:{{{extraclasses|}}}|<nowiki> </nowiki>{{{extraclasses}}}}}">{{{1}}}</div><noinclude>
+
<div class="rellink mw-tpl-rellink{{#if:{{{extraclasses|}}}|<nowiki> </nowiki>{{{extraclasses}}}}}">{{{1}}}</div><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

2013年6月22日 (土) 15:36時点における版

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

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

Usage

{{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.