Template:Framework/doc

From blackwiki
Jump to navigation Jump to search

This template is based upon the original Italian version of template with added features imported from the French version. It is more versatile than the English version with more user defined parameters such as customizable images, formatting and colors.

Usage

{{Framework
|width = 
|height = 
|title = 
|color = 
|border = 
|background = 
|cartella = 
|content = 
|link = 
|text_height = 
|logo = 
|logo_editlink = 
|px = 
|height_px = 
|footer = 
|footer_image = 
}}
  • width: (optional) sets the width of the box, defaults to 100%.
  • height: (optional, blank if none) sets the height of the box.
  • title: (optional, blank if none) Title of the frame.
  • color: (optional) Used to choose one of the defined color sets. For custom sets, set color to user
    • border: If a user defined color set is chosen, place a border color here.
    • background: If a user defined color set is chosen, place a background color here.
    • cartella: If a user defined color set is chosen, place one of the defined cartella images here.
  • content: Is used to insert text and pictures into the body frame.
  • link: (optional, blank if none) name of the item to modify (replace spaces with'_').
  • text_height: (Optional, no lift if anything) causes the frame height, a lift is displayed if the text requires that exceed this height.
  • logo: (optional, if nothing xmag.png Crystal) picture of the logo.
  • logo_editlink: (optional text [change] 'if none) image of the logo on the link.
  • px: (optional, if nothing 22px) size of the logo.
  • height_px: (optional, if nothing 21px) size of the logo.
  • footer: (optional) adds a message in the color band at the bottom of the box.
  • footer_image: (optional) allows you to add image in the bottom of the box, place one of the defined cartella footer images here.
General guidelines & notes:
  1. When adding images to the |cartella= and |footer_image= fields, do not include the namespace prefix (File:).
  2. When defining image sizes do not include the abbreviation for pixel (px}.
  3. User defined colors can be hex, RGB or a named HTML color.
  4. The gray option can be spelled either as gray or grey.
Defined color sets
Color name Red Orange Yellow Green Blue Violet Gray Pink
Border color Dark red
#8B0000
Orange
#FFA500
Gold
#FFD700
Dark green
#006400
Blue
#0000FF
Blue violet
#8A2BE2
Dark gray
#A9A9A9
Dark salmon
#E9967A
Background color Salmon
#FA8072
Gold
#FFD700
Yellow
#FFFF00
Light green
#90EE90
Light blue
#ADD8E6
Violet
#EE82EE
Light gray
#D3D3D3
Light salmon
#FA8072

Cartella images

Template:Sister project There are over fifty defined "Cartella" images that can be used. When choosing an undefined image, just use the second part of the name in the |cartella field.

Cartella images

Example

{{Framework
| width         = 75%
| title         = [[Template:Framework/doc | Image ]]...
| content       =
{{POTD wikipedia |float=left |title=yes |thumb=yes}}
{{Lorem ipsum}}
| color         = red
| text_height   = 300px
| logo          = Nuvola camera.svg
| logo_editlink = Nuvola apps kedit.png
| px            = 25
| link          = Template:Framework/doc
}}

Cartella roug.jpg

Nuvola camera.svg

Template:POTD wikipedia Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Other examples

Footer message Footer image Combined footer message & image

Cartella blu.jpg

Crystal Clear app xmag.png
Example 2

{{Framework |footer=Example}}

 This is an example of a footer message

Cartella blu.jpg

Crystal Clear app xmag.png
Example 3

{{Framework |footer_image=image.gif}}

NeveFooter.gif

Cartella blu.jpg

Crystal Clear app xmag.png
Example 4

{{Framework |footer=Example
|footer_image=image.gif}}

NeveFooter.gif
 This is an example of a footer message
User defined fields

Cartella blu (darker).jpg

Crystal Clear app xmag.png
Example 5

{{Framework |color=user|border=black|background=gray|cartella=blu (darker)}}

Cartella blu (darker).jpg

Crystal Clear app xmag.png
Example 5

{{Framework |color=user|border=black|background=gray|cartella=blu (darker)|link=/Doc}}

Different colors

Cartella roug.jpg

Crystal Clear app xmag.png
title

{{Framework|color=red|link=/Doc}}

Cartella arancione.jpg

Crystal Clear app xmag.png
title

{{Framework|color=orange|link=/Doc}}

Cartella giallo.jpg

Crystal Clear app xmag.png
title

{{Framework|color=yellow|link=/Doc}}

Cartella verde.jpg

Crystal Clear app xmag.png
title

{{Framework|color=green|link=/Doc}}

Cartella blu.jpg

Crystal Clear app xmag.png
title

{{Framework|color=blue|link=/Doc}}

Cartella viola.jpg

Crystal Clear app xmag.png
title

{{Framework|color=violet|link=/Doc}}

Cartella rossa.jpg

Crystal Clear app xmag.png
title

{{Framework|color=pink|link=/Doc}}

Cartella grigia.jpg

Crystal Clear app xmag.png
title

{{Framework|color=gray|link=/Doc}}

Without "edit" link

Cartella roug.jpg

Crystal Clear app xmag.png
title

{{Framework|color=red}}

Cartella arancione.jpg

Crystal Clear app xmag.png
title

{{Framework|color=orange}}

Cartella giallo.jpg

Crystal Clear app xmag.png
title

{{Framework|color=yellow}}

Cartella verde.jpg

Crystal Clear app xmag.png
title

{{Framework|color=green}}

Cartella blu.jpg

Crystal Clear app xmag.png
title

{{Framework|color=blue}}

Cartella viola.jpg

Crystal Clear app xmag.png
title

{{Framework|color=violet}}

Cartella rossa.jpg

Crystal Clear app xmag.png
title

{{Framework|color=pink}}

Cartella grigia.jpg

Crystal Clear app xmag.png
title

{{Framework|color=gray}}

This template is not recommended articles.

See also

Template:Window templates