User:Archy/How To Build A Sandbox

From MediaWiki.org
Jump to: navigation, search

Contents

[edit] Archy/How To Build A Sandbox

[edit] Introduction

A place to test out your own wiki that can be reset back to it's original brand-new state with a click.

[edit] Requirements

  • None

[edit] The Pages

  • Create the following 2 pages and copy the code in.

[edit] Sandbox

{{Please leave this line alone and write below (this is the coloured heading)}}

[edit] * INTERIM STEP *

!! ATTENTION !!

  • BEFORE YOU DO ANYTHING ELSE
  • When you create the Sandbox page you need to retrieve the ID number of the first instance of the page.
  • Do this by going to the page's history as soon as you make the page to ensure that there is only 1 historical page to choose from, the current one.
  • Click the link to the historical copy of the page and when it appears, look at your BROWSER'S ADDRESS BAR at the top of your screen, the number at the end of the address in the address bar is the ID number of the historical page. NOTE THIS NUMBER.
  • You will need to enter this number in an edit of the next page.
  • If the number does not appear then you have the wrong page.

[edit] Template:Please leave this line alone and write below (this is the coloured heading)

  • This page requires 1 edit as marked by the uppercase placeholders surrounded by triple asterisks.
  • Find and replace the following placeholder with the appropriate data. Ensure that you replace everything between and including the asterisks
    • ***YOUR ID NUMBER***
      • The ID NUMBER you retrieved during the INTERIM STEP above.
  • You may also want to edit the Help links at the bottom of the code to suit your setup.
__NOTOC__ __NOEDITSECTION__
{| style="border-top:5px solid black; border-right:5px solid black; border-bottom:5px solid black; border-left:5px solid black;" cellspacing="0" cellpadding="0" width="80%" align="center"
|
{| style="background:#A0522D; color:#000000; text-align:left;" cellspacing="0" cellpadding="5" width="100%"
|valign="top"|
{| style="background:#A0522D; color:#000000; text-align:left;" cellspacing="0" cellpadding="0" width="100%" align="center"
|
{| cellspacing="0" cellpadding="0" width="100%" align="left"
|
{| style="background:#A0522D; color:#000000; text-align:left;" border="0" cellspacing="0" cellpadding="5" width="100%"
|valign="top"|
{| style="background:#e0ffff; color:#000000; text-align:center;" cellspacing="0" cellpadding="5" width="100%" border="5" align="left"
|
{| style="background:#f0ffff; color:#000000; text-align:center;" cellspacing="0" cellpadding="5" width="100%" border="2" align="center"
! align="left" | '''<big>THE SANDBOX </big>''' 
|-
|
{| width="100%" border="1" 
|-style="background:#e0ffff; color:#000000; text-align:left;"
| width="50%" |
* '''<span style="color:green;">Use this area to test your own wikicode.</span>'''
* '''Click here to <big><span class="plainlinks">[{{SERVER}}{{SCRIPTPATH}}/index.php?title=Sandbox&action=edit EDIT]</span></big> the Sandbox.'''
| width="50%" |
* '''<span style="color:red;">This page will be cleared regularly.</span>'''
* ''' Click here to <big><span class="plainlinks">[{{SERVER}}{{SCRIPTPATH}}/index.php?title=Sandbox&action=edit&oldid=***YOUR ID NUMBER***&autoclick=wpSave&autosummary=reset RESET]</span></big> the Sandbox.'''
|-style="background:#e0ffff; color:#000000; text-align:left;"
| colspan="2" |
* '''Help Links: [[Help:Editing|Editing Reference]] | [[Help:Guide To Editing|Step by Step Guide]] | [[Help:Colours|Colours]]'''
|}
|}
|}
|}
|}
|}
|}
|}
= Test Area =

Version 1.002 - Last updated 13 Nov 2008.


Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox