• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Q-box

  • Template
  • Talk
  • Language
  • Watch
  • Edit
Template documentation[view] [edit] [history] [purge]

Contents

  • 1 Usage
  • 2 See also
    • 2.1 "Window" templates
    • 2.2 "Folder" templates

Usage

edit


Example Q-box

This is a sample Q-box (transcribed from /doc). Q-boxes are designed to be attractive and simple. To make a Q-box, simply use the following parameters:

{{Q-box
| tab-text =
| border-color = 
| tab-background =
}}
Your text to go inside the Q-box
</div>

tab-text (required) is what you want the tab to say at the top.

border-color (optional) can be any color that CSS understands, such as "blue", "black", "#FFAAAA" or "RGB(200, 100, 255)". The default is black. See also: List of colors and Web colors.

tab-background (optional) is the image to use for the tab. This image must be 187px wide and 37px high. Possibilities include the following:

  • Cartella grigia.jpg
    Cartella grigia.jpg
  • Cartella newblue.jpg
    Cartella newblue.jpg
  • Cartella newred.jpg
    Cartella newred.jpg
  • Cartella newpurple.jpg
    Cartella newpurple.jpg
  • Cartella newpink.jpg
    Cartella newpink.jpg
  • Cartella newgreen.jpg
    Cartella newgreen.jpg
  • Cartella newbrown.jpg
    Cartella newbrown.jpg
  • Cartella arancione.jpg
    Cartella arancione.jpg
  • Cartella blu.jpg
    Cartella blu.jpg
  • Cartella rossa.jpg
    Cartella rossa.jpg
  • Cartella verde.jpg
    Cartella verde.jpg
  • Cartella viola.jpg
    Cartella viola.jpg
  • Cartelle acadie.jpg
    Cartelle acadie.jpg

The default is Cartella grigia.jpg.

Be sure to remember the </div> to go at the end of the box.

See also

edit

"Window" templates

edit
  • {{Window}}
  • {{Window home}}

"Folder" templates

edit
  • {{Framework}}
  • {{Invert framework}}
  • {{Q-box}}
This box:
  • view
  • talk
  • edit
The above documentation is transcluded from Template:Q-box/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Q-box&oldid=970784050"