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)
.
Vinifera7 (talk | contribs)
.
Line 3: Line 3:
----
----
<!-- Please do not remove the content above, as well as this whole line!--></noinclude>
<!-- Please do not remove the content above, as well as this whole line!--></noinclude>
<includeonly>{{Sandbox|[[{{{1}}}{{!}}[{{{1}}}]]]}}{{#if:{{{2|}}}|{{arr|r}}{{f|{{{2}}}|{{{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>

Revision as of 12:56, 5 July 2010

Official ModEnc Testing Page ("Sandbox") for Templates

This is a sandbox - a page for testing stuff. Feel free to test any editing related stuff here. There also exists a 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.