Template:Q-box: Difference between revisions
Template page
More actions
Created page with "<includeonly> <div style="margin:0px; padding:0px; background:white; width: 200px; height:40px; text-align:left; border:2px solid {{#if:{{{border-color|}}}|{{{border-color}}}|black}}; border-bottom:0; border-radius:0 1em 0 0;">[[Image:{{#if:{{{tab-background|}}}|{{{tab-background}}}|Cartella grigia.jpg}}]]</div> <div style="margin-top:-40px; margin-left:0px; padding-left:50px; padding-top:0px; font-size:16px; width: 200px; height:40px;">'''{{{tab-text}}}'''</div> <div st..." |
(No difference)
|
Latest revision as of 05:31, 24 February 2025
Usage
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 newblue.jpg
-
Cartella newred.jpg
-
Cartella newpurple.jpg
-
Cartella newpink.jpg
-
Cartella newgreen.jpg
-
Cartella newbrown.jpg
-
Cartella arancione.jpg
-
Cartella blu.jpg
-
Cartella rossa.jpg
-
Cartella verde.jpg
-
Cartella viola.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
"Window" templates
- {{Window}}
- {{Window home}}
"Folder" templates
- {{Framework}}
- {{Invert framework}}
- {{Q-box}}