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

Difference between revisions of "Template:SandboxTop"

From ModEnc
Jump to: navigation, search
m (debug)
 
(12 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><span style="font-family: monospace;">{{#if: {{{3|}}} | [[{{{1|Template:Sandbox}}}{{#ifeq: {{lc:{{{3|}}}}} | link | | #{{{3|}}}}}|{{{1|'''ERROR''' no flag provided in Template:Sandbox.}}}={{{2|}}}]] | {{#ifeq: {{lc:{{{2|}}}}} | link | [[{{{1|'''ERROR''' no flag provided in Template:Sandbox.}}}]] | {{{1|'''ERROR''' no flag provided in [[Template:Sandbox]].}}}{{#if: {{{2|}}} | ={{{2|}}} |}} }} }}</span></includeonly><noinclude>: ''This template should be used in favor of [[Template:tt]] when styling flags.''
 
This template is used to format flag mentions on ModEnc pages. Depending on the arguments provided, it can format flags in the following ways:
 
 
 
==Flag only==
 
<pre>{{Sandbox|FLAGNAME}}</pre>
 
This will only apply text formatting to the flag.<br>
 
'''Where'''
 
*FLAGNAME = name of the flag to process
 
'''Example:''' <code><nowiki>{{Sandbox|Damage}}</nowiki></code> {{arr|r}} {{Sandbox|Damage}}
 
 
 
 
 
==Flag only, linked==
 
<pre>{{Sandbox|FLAGNAME|link}}</pre>
 
This will only apply text formatting to the flag.<br>
 
'''Where'''
 
*FLAGNAME = name of the flag to process
 
*link = constant trigger to trigger linking
 
'''Example:''' <code><nowiki>{{Sandbox|Damage|link}}</nowiki></code> {{arr|r}} {{Sandbox|Damage|link}}
 
 
 
 
 
==Flag with value==
 
<pre>{{Sandbox|FLAGNAME|VALUE}}</pre>
 
This will only apply text formatting to the flag.<br>
 
'''Where'''
 
*FLAGNAME = name of the flag to process
 
*VALUE = the value the flag to process should be displayed with
 
'''Example:''' <code><nowiki>{{Sandbox|Damage|100}}</nowiki></code> {{arr|r}} {{Sandbox|Damage|100}}
 
 
 
 
 
==Flag with value, linked==
 
<pre>{{Sandbox|FLAGNAME|VALUE|link}}</pre>
 
This will only apply text formatting to the flag.<br>
 
'''Where'''
 
*FLAGNAME = name of the flag to process
 
*VALUE = the value the flag to process should be displayed with
 
*link = constant trigger to trigger linking
 
'''Example:''' <code><nowiki>{{Sandbox|Damage|100|link}}</nowiki></code> {{arr|r}} {{Sandbox|Damage|100|link}}
 
 
 
==Flag with value, linked to specific section==
 
<pre>{{Sandbox|FLAGNAME|VALUE|PAGESECTION}}</pre>
 
'''Where'''
 
*FLAGNAME = name of the flag to process
 
*VALUE = the value the flag to process should be displayed with
 
*PAGESECTION = the relative URI of the page and section to link to
 
'''Example:''' <code><nowiki> {{Sandbox|Damage|100|Damage#IsLocomotor}}</nowiki></code> {{arr|r}} {{Sandbox|Damage|100|Damage#IsLocomotor}}</noinclude>
 

Latest revision as of 11: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.