18,975
edits
m (docs: wording, fixed fictitious link that was setting off my section link-checking script) |
m (formatting on docs) |
||
Line 1: | Line 1: | ||
<includeonly>[[{{{1|{{FULLPAGENAME}}}}}#{{{2|}}}|{{#if:{{{nopage|}}}||{{{1|{{FULLPAGENAME}}}}} }}§ {{{2|}}}]]</includeonly><noinclude>Call this template to nicely display a section link (because "[[Muro#Added value]]" is ugly). The first parameter should be the article and the second should be the section. | <includeonly>[[{{{1|{{FULLPAGENAME}}}}}#{{{2|}}}|{{#if:{{{nopage|}}}||{{{1|{{FULLPAGENAME}}}}} }}§ {{{2|}}}]]</includeonly><noinclude>Call this template to nicely display a section link (because "[[Muro#Added value]]" is ugly). The first parameter should be the article and the second should be the section. | ||
<nowiki>{{SectionLink|Muro|Added value}}</nowiki><br> | <tt><nowiki>{{SectionLink|Muro|Added value}}</nowiki></tt><br> | ||
yields<br> | yields<br> | ||
{{SectionLink|Muro|Added value}} | {{SectionLink|Muro|Added value}} | ||
Line 7: | Line 7: | ||
The first parameter is actually optional since you might want to link to a section on the same page. If you leave the first parameter blank, only the section name is displayed with a § before it (see [[BSL:Manual]] for many sample usages). | The first parameter is actually optional since you might want to link to a section on the same page. If you leave the first parameter blank, only the section name is displayed with a § before it (see [[BSL:Manual]] for many sample usages). | ||
There's no need | There's no need for this template unless you want to have a prettily-displayed raw section link; if you are providing your own label for a section link – <tt><nowiki>[[Muro#Added value|fan speculation]]</nowiki></tt> – there's no benefit in it. | ||
[[Category:Basic formatting templates]]</noinclude> | [[Category:Basic formatting templates]]</noinclude> |