Difference between revisions of "Template:Filefolder/doc"

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
(→‎Usage: format)
imported>Plastikspork
(→‎Examples: improve examples)
Line 44: Line 44:
 
{|style="background:none" width="100%" cellspacing="8" cellpadding="0"
 
{|style="background:none" width="100%" cellspacing="8" cellpadding="0"
 
|-
 
|-
|width="33%"|{{Filefolder|red|title=title|logo=Nuvola_apps_date.svg|content={{tlx|Filefolder |red}} }}
+
|width="33%"|{{Filefolder|red|title=title|content={{tlx|Filefolder |red}} }}
|width="33%"|{{Filefolder|orange|title=title|logo=Nuvola_apps_date.svg|content={{tlx|Filefolder |orange}} }}
+
|width="33%"|{{Filefolder|orange|title=title|content={{tlx|Filefolder |orange}} }}
|width="33%"|{{Filefolder|yellow|title=title|logo=Nuvola_apps_date.svg|content={{tlx|Filefolder |yellow}} }}
+
|width="33%"|{{Filefolder|yellow|title=title|content={{tlx|Filefolder |yellow}} }}
 
|-
 
|-
|{{Filefolder|green|title=title|logo=Nuvola_apps_date.svg|content={{tlx|Filefolder |green}} }}
+
|{{Filefolder|green|title=title|content={{tlx|Filefolder |green}} }}
|{{Filefolder|blue|title=title|logo=Nuvola_apps_date.svg|content={{tlx|Filefolder |blue}} }}
+
|{{Filefolder|blue|title=title|content={{tlx|Filefolder |blue}} }}
|{{Filefolder|violet|title=title|logo=Nuvola_apps_date.svg|content={{tlx|Filefolder |violet}} }}
+
|{{Filefolder|violet|title=title|content={{tlx|Filefolder |violet}} }}
 
|-
 
|-
|{{Filefolder|grey|title=title|logo=Nuvola_apps_date.svg|content={{tlx|Filefolder |grey}} }}
+
|{{Filefolder|grey|title=title|content={{tlx|Filefolder |grey}} }}
|{{Filefolder|title=title|logo=Nuvola_apps_date.svg|content={{tlx|Filefolder}}}}
+
|{{Filefolder|title=title|content={{tlx|Filefolder}} }}
 
|-
 
|-
 
| style="font-weight:bold;" |General guidelines & notes:
 
| style="font-weight:bold;" |General guidelines & notes:
Line 61: Line 61:
 
| style="vertical-align:top;" colspan="3" |{{Filefolder
 
| style="vertical-align:top;" colspan="3" |{{Filefolder
 
| title        = Example 3
 
| title        = Example 3
| content      = {{tlx|Filefolder |footer_image{{=}}image.gif}}
+
| content      = {{tlx|Filefolder |footer_image{{=}}NeveFooter.gif}}
 
| footer_image  = NeveFooter.gif
 
| footer_image  = NeveFooter.gif
 
}}
 
}}
Line 70: Line 70:
 
| title        = Example 5
 
| title        = Example 5
 
| user
 
| user
 +
| logo          = Nuvola_apps_date.svg
 
| border        = 000
 
| border        = 000
 
| border2      = ABCDEF
 
| border2      = ABCDEF
Line 84: Line 85:
 
|background = CCC  
 
|background = CCC  
 
|background2= ABCDEF  
 
|background2= ABCDEF  
 +
|logo      = Nuvola_apps_date.svg
 
|image      = blu (darker).jpg  
 
|image      = blu (darker).jpg  
 
|link      = Template:Filefolder/doc
 
|link      = Template:Filefolder/doc

Revision as of 02:18, 28 October 2011

Usage

To use the template folder copy the text contained in following box and save.

{{Filefolder|default
|title=
|logo=
|link=
|content=
}}

The first parameter (optional) can be: orange, blue, gray, green, violet, red, and (as a default) orange and blue.

The edit link only appears if the "link" parameter is set to a no blank value.

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 |image field. Important: You must include the file type suffix, e.g. .jpg, .svg etc.

Cartella images

Examples

File:Cartella arancione.jpg
title
   

{{Filefolder |orange}}

File:Cartella giallo.jpg
title
   

{{Filefolder |yellow}}

File:Cartella verde.jpg
title
   

{{Filefolder |green}}

File:Cartella blu.jpg
title
   

{{Filefolder |blue}}

File:Cartella viola.jpg
title
   

{{Filefolder |violet}}

File:Cartella grigia.jpg
title
   

{{Filefolder |grey}}

General guidelines & notes:
Footer image
File:Cartella blu.jpg
Example 3
   

{{Filefolder |footer_image=NeveFooter.gif}}

File:NeveFooter.gif
User defined fields
Example 5
edit    
{{Filefolder |user 
|border     = 000 
|border2    = ABCDEFF 
|background = CCC 
|background2= ABCDEF 
|logo       = Nuvola_apps_date.svg
|image      = blu (darker).jpg 
|link       = Template:Filefolder/doc
|radius2    = 0em
}}
  1. When adding images to the |image= 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 must be hex.
  4. The gray option can be spelled either as gray or grey.

See also

Template:Window templates