Difference between revisions of "Template:Trinkets"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This template will create a link to Trinkets page, top of current page | This template will create a link to Trinkets page, top of current page, categorize current page to Trinkets, and add <nowiki>__NOEDITSECTION__</nowiki>. | ||
Simple paste the following below in the page:<pre>{{Trinkets}}</pre> | Simple paste the following below in the page:<pre>{{Trinkets}}</pre> | ||
There are 3 parameters by default that would control the execution of | There are 3 parameters by default that would control the execution of 1 magic words and 2 links. | ||
<pre>{{{ | <pre> | ||
{{{zs|[[Trinkets]]}}} | |||
{{{back2top|[{{fullurl:{{FULLPAGENAME}}}} Back to Top]}}} | |||
{{{noeditsection|__NOEDITSECTION__}}} | {{{noeditsection|__NOEDITSECTION__}}} | ||
</pre> | |||
To disable a parameter, simple assign nothing to it. Example: To disable the <nowiki>"__NOEDITSECTION__"</nowiki>, | To disable a parameter, simple assign nothing to it. Example: To disable the <nowiki>"__NOEDITSECTION__"</nowiki> magic word,<pre>{{Trinkets|nes=}}</pre> | ||
<pre>{{Trinkets| | Example: To disable the links,<pre>{{Trinkets|zs=}}</pre><pre>{{Trinkets|b2t=}}</pre> | ||
<pre>{{Trinkets| | |||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
{{{ | <br> | ||
{{{zs|[[Trinkets]]}}} | |||
{{{ | {{{b2t|[{{fullurl:{{FULLPAGENAME}}}} Back to Top]}}} | ||
[[Category:Trinkets]] | [[Category:Trinkets]] | ||
{{{nes|__NOEDITSECTION__}}} | |||
</includeonly> | </includeonly> | ||
<!-- | |||
zs = zombie survival | |||
b2t = back to top | |||
nes = no edit section | |||
--> |
Revision as of 19:00, 12 September 2021
This template will create a link to Trinkets page, top of current page, categorize current page to Trinkets, and add __NOEDITSECTION__.
Simple paste the following below in the page:
{{Trinkets}}
There are 3 parameters by default that would control the execution of 1 magic words and 2 links.
{{{zs|[[Trinkets]]}}} {{{back2top|[{{fullurl:{{FULLPAGENAME}}}} Back to Top]}}} {{{noeditsection|__NOEDITSECTION__}}}
To disable a parameter, simple assign nothing to it. Example: To disable the "__NOEDITSECTION__" magic word,
{{Trinkets|nes=}}
Example: To disable the links,
{{Trinkets|zs=}}
{{Trinkets|b2t=}}