Template:Sandbox: Difference between revisions

From Ring of Brodgar
Jump to navigation Jump to search
m (+ additional text)
m (Text replacement - "<br *\/>" to "<br>")
Line 1: Line 1:
<includeonly><div style="border:2px dotted darkgray; margin-top:0.5em; margin-bottom:1em; padding:0 0.5em;">
<includeonly><div style="border:2px dotted darkgray; margin-top:0.5em; margin-bottom:1em; padding:0 0.5em;">
{{#if: {{{1|}}} | {{{1}}} | Welcome to the '''{{SITENAME}} sandbox'''!<br />
{{#if: {{{1|}}} | {{{1}}} | Welcome to the '''{{SITENAME}} sandbox'''!<br>
This page exists for practicing wiki editing, formatting, or testing other stuff, without changing any serious content.}}{{#if: {{{2|}}} | <br><br>{{{2}}} }}</div></includeonly
This page exists for practicing wiki editing, formatting, or testing other stuff, without changing any serious content.}}{{#if: {{{2|}}} | <br><br>{{{2}}} }}</div></includeonly
><noinclude>{{documentation}}</noinclude>
><noinclude>{{documentation}}</noinclude>

Revision as of 04:17, 8 March 2021

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?)