Template:User Sandbox: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search
(initial draft)
 
(changed method of fetching username; altered image sizes)
Line 8: Line 8:
-->{{#vardefine:image|
-->{{#vardefine:image|
     {{#if:{{{1|}}}
     {{#if:{{{1|}}}
|ALBW Ravio Sand Rod Artwork.png
|ALBW Ravio Sand Rod Artwork.png{{!}}65px
|Revealed GeldmanALBW.png
|Revealed GeldmanALBW.png{{!}}65px
}}
}}
   }}<!--
   }}<!--
Line 15: Line 15:
-->{{Mbox
-->{{Mbox
     |image  = [[File:{{#var:image}}|center]]
     |image  = [[File:{{#var:image}}|center]]
     |header = This is {{subst:#username}}'s sandbox.
     |header = This is {{ROOTPAGENAME}}'s sandbox.
     |info  = {{#var:text}}
     |info  = {{#var:text}}
   }}<!--
   }}<!--

Revision as of 19:23, 12 January 2017

This is User Sandbox's sandbox.
Please do not edit it without their permission.

Permissive Version

User:EzloSpirit/Ezlo's World/Template:User Sandbox

Usage

This template is used to indicate that a particular page is a user's personal sandbox (as opposed to the communal sandbox). By default, it tells users not to edit the sandbox without the owner's permission, as is customary, but the template also accepts an argument that alters it to welcome other users to edit if the user so wishes. (Note that this template has no control over actual edit permissions, so other users could still edit the page, regardless.) Either way, it automatically adds the page to Category:User sandboxes. To use this template, type the following:

    {{User Sandbox}}

The full code is as follows:

    {{User Sandbox|Permission |Category }}

  • Permission — Entering any value will change the message displayed to one welcoming edits by other users. (see Permissive Version above)
  • Category — Entering any value will suppress the addition of Category:User sandboxes.