Templet:Rellink: Difference between revisions
Appearance
Content deleted Content added
imported>Nihiltres Creating meta-template with same basic setup as {{dablink}} for section hatnotes |
BarkingFish (toktok | wok) m 5 revisions from en:Template:Rellink: bring in SPA template from enwp |
||
(5 intermediate revisions by 3 users not shown) | |||
Lain 1: | Lain 1: | ||
<div class="rellink |
<div class="rellink{{#if:{{{extraclasses|}}}|<nowiki> </nowiki>{{{extraclasses}}}}}">{{{1}}}</div><noinclude> |
||
{{pp-template|small=yes}} |
|||
{{documentation}} |
{{documentation}} |
||
</noinclude> |
</noinclude> |
Latest revision as of 21:17, 7 Ogas 2012
{{{1}}}
This meta-template is used to style section hatnotes which direct users to related articles.
Usage
[edit source]{{rellink|1=Your text here}}
produces
Your text here
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.
See also
[edit source] The above documentation is transcluded from Templet:Rellink/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |