Template:User Sandbox: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search
(changed method of fetching username; altered image sizes)
m (→‎Usage: replaced: Category:Notice Templates → Category:Notice templates)
 
(6 intermediate revisions by 2 users not shown)
Line 8: Line 8:
-->{{#vardefine:image|
-->{{#vardefine:image|
     {{#if:{{{1|}}}
     {{#if:{{{1|}}}
|ALBW Ravio Sand Rod Artwork.png{{!}}65px
|ALBW Ravio Sand Rod Artwork.png
|Revealed GeldmanALBW.png{{!}}65px
|ALBW Revealed Geldman Model.png
}}
}}
   }}<!--
   }}<!--


-->{{Mbox
-->{{Mbox
     |image  = [[File:{{#var:image}}|center]]
     |image  = [[File:{{#var:image}}|x85px|center]]
     |header = This is {{ROOTPAGENAME}}'s sandbox.
     |header = This is {{ROOTPAGENAME}}'s sandbox.
     |info  = {{#var:text}}
     |info  = {{#var:text}}
   }}<!--
   }}<!--
-->{{#if:{{{2|}}}||<includeonly>[[Category:User sandboxes]]</includeonly>}}<noinclude>
-->{{#if:{{{2|}}}||<includeonly>[[Category:User sandboxes]]</includeonly>}}<noinclude>
==Permissive Version==
==Permissive Version==
{{User:EzloSpirit/Ezlo's World/Template:User Sandbox|okay|nocat}}
{{User Sandbox|okay|nocat}}


==Usage==
==Usage==
This template is used to indicate that a particular page is a user's personal sandbox (as opposed to the [[Zelda Wiki:Sandbox|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:
This template is used to indicate that a particular page is a user's personal sandbox (as opposed to the [[Zelda Wiki:Sandbox|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 still have the ability to edit the page, regardless.)'' Either way, it automatically adds the page to [[:Category:User sandboxes]]. To use this template, type the following:


{{NoWikiTemp|Normal}}
{{NoWikiTemp|Normal}}
Line 35: Line 34:
{{Parameter|Category|Entering any value will suppress the addition of [[:Category:User sandboxes]].|Optional}}
{{Parameter|Category|Entering any value will suppress the addition of [[:Category:User sandboxes]].|Optional}}


[[Category:Notice Templates]]
[[Category:Notice templates]]
</noinclude>
</noinclude>

Latest revision as of 14:20, 9 July 2023

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

Permissive Version

This is User Sandbox's sandbox.
They're okay with others editing it. If you see something you can help out with, feel free to do so!

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 still have the ability to 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.