Template:SandboxTop
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.
- 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
{{Sandbox|FLAGNAME}}
This will only apply text formatting to the flag.
Where
- FLAGNAME = name of the flag to process
Example: {{Sandbox|Damage}}
→
Flag only, linked
{{Sandbox|FLAGNAME|link}}
This will only apply text formatting to the flag.
Where
- FLAGNAME = name of the flag to process
- link = constant trigger to trigger linking
Example: {{Sandbox|Damage|link}}
→
Flag with value
{{Sandbox|FLAGNAME|VALUE}}
This will only apply text formatting to the flag.
Where
- FLAGNAME = name of the flag to process
- VALUE = the value the flag to process should be displayed with
Example: {{Sandbox|Damage|100}}
→
Flag with value, linked
{{Sandbox|FLAGNAME|VALUE|link}}
This will only apply text formatting to the flag.
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: {{Sandbox|Damage|100|link}}
→
Flag with value, linked to specific section
{{Sandbox|FLAGNAME|VALUE|PAGESECTION}}
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: {{Sandbox|Damage|100|Damage#IsLocomotor}}
→