Template:Sandbox: Difference between revisions

From Ring of Brodgar
Jump to navigation Jump to search
m (...)
Tag: Reverted
(Reset.)
Tag: Manual revert
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
:<{{FULLPAGENAME}}>
<includeonly><div style="border:2px dotted darkgray; margin-top:0.5em; margin-bottom:1em; padding:0 0.5em;" >
:A1)"{{{1}}}"
{{#if: {{{1|}}} | {{{1}}} | Welcome to the '''{{SITENAME}} sandbox'''!<br>
:A2)"{{{2}}}"
This page exists for practicing wiki editing, formatting, or testing other stuff, without changing any serious content.}}{{#if: {{{2|}}} | <br><br>{{{2}}} }}</div></includeonly
:v1)"{{{V1}}}"
><noinclude>{{documentation}}</noinclude>
:v2)"{{{V2}}}"
 
:pos)"{{#pos:{{{1}}}|{{!}}|0}}" -- ok(?)
:cnt)"{{#count:{{{1}}}|{{!}}}}" -- ok(?)
 
:rpl)"{{#replace:{{{1}}}|{{!}}|•}}" -- ...
 
:e30)"{{#explode:{{{1}}}|{{!}}|0}}" -- ...
:e31)"{{#explode:{{{1}}}|{{!}}|1}}" -- ...
:e32)"{{#explode:{{{1}}}|{{!}}|2}}" -- ...
 
:e40)"{{#explode:{{{1}}}|&#124;|0}}" -- whole string(?)
:e41)"{{#explode:{{{1}}}|&#124;|1}}" -- Empty
:e42)"{{#explode:{{{1}}}|&#124;|2}}" -- Empty

Latest revision as of 09:10, 25 August 2024

Template documentation (for the template shown above, sometimes hidden or invisible)
Description
This template is placed at the top of sandbox pages.
By using a template, it becomes easy to fix if users make a mistake while playing in the sandbox.
Syntax
Type {{sandbox|Optional alternative text|Optional additional text}} at the top of a sandbox page.
- ie:
- {{sandbox}}
- {{sandbox|Alternative text}}
- {{sandbox|'|Additional text}}
- {{sandbox|Alternative text|Additional text}}
Preview's
- {{sandbox}}

Welcome to the Ring of Brodgar sandbox!

This page exists for practicing wiki editing, formatting, or testing other stuff, without changing any serious content.
- {{sandbox|Alternative text}}
Alternative text
- {{sandbox|'|Additional text}}

Welcome to the Ring of Brodgar sandbox!

This page exists for practicing wiki editing, formatting, or testing other stuff, without changing any serious content.

Additional text
- {{sandbox|Alternative text|Additional text}}
Alternative text

Additional text

Visit Template:Sandbox/doc to edit this text! (How does this work?)