Difference between revisions of "Template:Trinkets"
Jump to navigation
Jump to search
m |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
<pre> | <pre> | ||
{{{n|[[Trinkets]]}}} | {{{n|[[Trinkets]]}}} | ||
{{{ | {{{b2t|[{{fullurl:{{FULLPAGENAME}}}} Back to Top]}}} | ||
{{{ | {{{nes|__NOEDITSECTION__}}} | ||
</pre> | </pre> | ||
To disable a parameter, simple assign nothing to it. Example: To disable the <nowiki>"__NOEDITSECTION__"</nowiki> magic word,<pre>{{Trinkets|nes=}}</pre> | To disable a parameter, simple assign nothing to it. Example: To disable the <nowiki>"__NOEDITSECTION__"</nowiki> magic word,<pre>{{Trinkets|nes=}}</pre> | ||
Example: To disable the links,<pre>{{Trinkets|n=}}</pre><pre>{{Trinkets|b2t=}}</pre> | Example: To disable the links,<pre>{{Trinkets|n=}}</pre><pre>{{Trinkets|b2t=}}</pre> | ||
<!-- | <!-- | ||
n = name of that page | n = name of that page | ||
Line 25: | Line 15: | ||
nes = no edit section in this page | nes = no edit section in this page | ||
--> | --> | ||
</noinclude> | |||
<includeonly> | |||
{{{n|[[Trinkets]]}}} {{{b2t|[{{fullurl:{{FULLPAGENAME}}}} Back to Top]}}}[[Category:Trinkets]]{{{nes|__NOEDITSECTION__}}} | |||
</includeonly> |
Latest revision as of 19:15, 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.
{{{n|[[Trinkets]]}}} {{{b2t|[{{fullurl:{{FULLPAGENAME}}}} Back to Top]}}} {{{nes|__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|n=}}
{{Trinkets|b2t=}}