Jump to content

User:Technical 13/SandBox/DraftHeader/doc

From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Usage

  • "content = "
    • sandbox implies "sandbox = sandbox"
    • template implies "sandbox = template"
    • userbox implies "sandbox = userbox"
    • draft (default)
  • "sandbox = "
    • The subpage name that the content is stored at. Overrides "content = " defaults, and some common values are:
    • drafts
    • userboxes
    • scripts
    • templates
    • sandbox
    • default is based on content or sandbox if no content specified.

Other notes

  • This template adds a class of "draftHeader" to all boxes it makes
  • This template adds an id of "draftHeader-content" to all boxes it makes
  • This allows for links directly to the box from other pages by appending #draftHeader-content to the wikilink or URL.
  • This allows for further personalization of all of these boxes via .css or .js (including $('.draftHeader-content')).