User:Technical 13/SandBox/DraftHeader/doc

Usage

edit
  • "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

edit
  • 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')).