Difference between revisions of "Template:Trinkets"
Jump to navigation
Jump to search
m |
m |
||
Line 6: | Line 6: | ||
{{{noeditsection|__NOEDITSECTION__}}} | {{{noeditsection|__NOEDITSECTION__}}} | ||
{{{back2top|[{{fullurl:{{FULLPAGENAME}}}} Back to Top]}}}</pre> | {{{back2top|[{{fullurl:{{FULLPAGENAME}}}} Back to Top]}}}</pre> | ||
To disable | To disable a parameter, simple assign nothing to it. Example: To disable the <nowiki>"__NOEDITSECTION__"</nowiki>, | ||
<pre>{{Trinkets|noeditsection=}}</pre> | <pre>{{Trinkets|noeditsection=}}</pre> | ||
Example: To enable the <nowiki>"__NOTOC__"</nowiki>, | To enable a parameter, simple assign something to it. Example: To enable the <nowiki>"__NOTOC__"</nowiki>, | ||
<pre>{{Trinkets|notoc=__NOTOC__}}</pre> | <pre>{{Trinkets|notoc=__NOTOC__}}</pre> | ||
</noinclude> | </noinclude> |
Revision as of 12:43, 10 September 2021
This template will create a link to Trinkets page, top of current page and categorized current page to Trinkets.
Simple paste the following below in the page:
{{Trinkets}}
There are 3 parameters by default that would control the execution of 2 magic words and a link.
{{{notoc|}}} {{{noeditsection|__NOEDITSECTION__}}} {{{back2top|[{{fullurl:{{FULLPAGENAME}}}} Back to Top]}}}
To disable a parameter, simple assign nothing to it. Example: To disable the "__NOEDITSECTION__",
{{Trinkets|noeditsection=}}
To enable a parameter, simple assign something to it. Example: To enable the "__NOTOC__",
{{Trinkets|notoc=__NOTOC__}}