Template:Framework/doc: Difference between revisions
→Usage: Update usage instructions |
→Other examples: tweak |
||
Line 157: | Line 157: | ||
}} |
}} |
||
| style="width:33.3%;" |{{Framework |
| style="width:33.3%;" |{{Framework |
||
| title = Example |
| title = Example 3 |
||
| content = {{tlx|Framework |footer_image{{=}}image.gif}} |
| content = {{tlx|Framework |footer_image{{=}}image.gif}} |
||
| footer_image = NeveFooter.gif |
| footer_image = NeveFooter.gif |
||
}} |
}} |
||
| style="width:33.3%;" |{{Framework |
| style="width:33.3%;" |{{Framework |
||
| title = Example |
| title = Example 4 |
||
| content = {{tlx|Framework |footer{{=}}Example |footer_image{{=}}image.gif}} |
| content = {{tlx|Framework |footer{{=}}Example |footer_image{{=}}image.gif}} |
||
| footer = This is an example of a footer message |
| footer = This is an example of a footer message |
Revision as of 18:13, 2 April 2011
This is a documentation subpage for Template:Framework. It may contain usage information, categories and other content that is not part of the original template page. |
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
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 |
|
General guidelines: | |
|
Defined color sets | ||||||||
Color name | Red | Orange | Yellow | Green | Blue | Violet | Gray | Pink |
Border color | #F26C6C | #FFA500 | #FFD700 | #006400 | #0000EF | #EE82EE | #CCC | #CD6090 |
Background color | #FFD1D1 | #FFBC79 | #FFFC17 | #9ACD32 | #E0FFFF | #EBD6F5 | #E0E0E0 | #FFD1D1 |
Cartella images
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 grigia.jpg
-
Cartella newblue.jpg
-
Cartella newred.jpg
-
Cartella newpurple.jpg
-
Cartella newpink.jpg
-
Cartella newgreen.jpg
-
Cartella newbrown.jpg
-
Cartella rossa.jpg
-
Cartella arancione.jpg
-
Cartella giallo.jpg
-
Cartella verde.jpg
-
Cartella blu.jpg
-
Cartella viola.jpg
-
Cartelle acadie.jpg
-
Cartella grigia.jpg.
Example
{{Framework | width = 75% | title = [[Template:Framework/doc | Image ]]... | content = Sample image: {{POTD wikipedia |float=left |title=yes |thumb=yes}} {{Lorem ipsum}} | color = red | text_heigth = 300px | logo = Art alt.svg | logo_editlink = Nuvola apps kedit.png | px = 21 | link = Template:Framework/doc }}
Image ...
|
||
Sample image: 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 | ||||||||||||
|
|
|
Different colors
Without "edit" link
|
|
| ||||||||||||
|
|
| ||||||||||||
|
|
This template is not recommended articles.
Related Templates