ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Template:SandboxTop: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Vinifera7 (talk | contribs)
.
m debug
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude><p style="color:darkgreen;font-size:20px;border-style:solid;border-color:darkgreen;padding:10px;text-align:center;">Official ModEnc Testing Page ("Sandbox") for Templates</p>
__NEWSECTIONLINK__
This is a sandbox - a page for testing stuff. Feel free to test any editing related stuff here. There also exists a [[ModEnc:Sandbox|regular testing page]]. Please remove the your content if you no longer need it. Also note that the following content does not contain any useful information.
<p style="color:darkgreen;font-size:20px;border-style:solid;border-color:darkgreen;padding:10px;text-align:center;">Official ModEnc Testing Page ("Sandbox")</p>
----
This is a sandbox - a page for testing stuff. Feel free to test any editing related stuff here. There also exists a [[Template:Sandbox|Template-Sandbox]]. Please remove the your content if you no longer need it. Also note that the following content does not contain any useful information.
<!-- Please do not remove the content above, as well as this whole line!--></noinclude>
<br>
 
----<!-- Please do not remove the content above, as well as this whole line!-->
<includeonly>{{tt|[[{{{1}}}{{!}}[{{{1}}}]]]}}{{#if:{{{2|}}}|{{arr|r}}{{f|{{{2}}}|{{{3|link}}}{{#if:{{{3|}}}|{{!}}link|}}}}|}}</includeonly><noinclude>:''If you do not intent to use the arrow/flag-linking part of this template, please consider using [[Template:S]] instead.''
==Usage==
<pre>{{Sandbox|pagename}}</pre>
Copy-paste the code above and use it to quickly create links to section-pages; '''replace "pagename" with the name of the page you want to link to''', the link will be enclosed in brackets and teletyped.
You can also add further parameters to expose/link a flag from that section, optionally with a value:
<pre>{{Sandbox|pagename|flagname}}
{{Sandbox|pagename|flagname|flagvalue}}</pre>
 
==Example==
<pre>{{Sandbox|VehicleTypes}}</pre> gives {{Sandbox|VehicleTypes}}.
<pre>{{Sandbox|VehicleTypes|SpeedType}}</pre> gives {{Sandbox|VehicleTypes|SpeedType}}.
<pre>{{Sandbox|VehicleTypes|SpeedType|Wheel}}</pre> gives {{Sandbox|VehicleTypes|SpeedType|Wheel}}.</noinclude>

Latest revision as of 09:43, 18 August 2021

Official ModEnc Testing Page ("Sandbox")

This is a sandbox - a page for testing stuff. Feel free to test any editing related stuff here. There also exists a Template-Sandbox. Please remove the your content if you no longer need it. Also note that the following content does not contain any useful information.