Template:Section: Difference between revisions
From Inkipedia, the Splatoon wiki
(Template will no longer link to the Salmon Run page if 'nl' is passed into it) |
m (Changing parameter name) |
||
Line 1: | Line 1: | ||
{{#ifeq:{{{1|}}}|nl|Salmon Run|[[Salmon Run#{{#if:{{{1|}}}|{{{1|}}}}}|{{{ | {{#ifeq:{{{1|}}}|nl|Salmon Run|[[Salmon Run#{{#if:{{{1|}}}|{{{1|}}}}}|{{{text|Salmon Run}}}{{#if:{{{1|}}} | § {{{1|}}}}}]]}}<noinclude> | ||
==Notes== | ==Notes== | ||
* Passing the template a value will allow you to link to subsections of the page. | * Passing the template a value will allow you to link to subsections of the page. | ||
** Passing the template a value of <code>nl</code> will result in plaintext rather than a link. | ** Passing the template a value of <code>nl</code> will result in plaintext rather than a link. | ||
* You can use the <code> | * You can use the <code>text</code> parameter to change the link text. Otherwise the default text is Salmon Run. | ||
** If you link to a subsection of the page, the link text will update accordingly. | ** If you link to a subsection of the page, the link text will update accordingly. | ||
[[Category:Boilerplate Templates]]</noinclude> | [[Category:Boilerplate Templates]]</noinclude> |
Revision as of 02:07, 6 August 2021
Notes
- Passing the template a value will allow you to link to subsections of the page.
- Passing the template a value of
nl
will result in plaintext rather than a link.
- Passing the template a value of
- You can use the
text
parameter to change the link text. Otherwise the default text is Salmon Run.- If you link to a subsection of the page, the link text will update accordingly.