Difference between revisions of "Template:Invert framework/doc"
imported>Pauli133 m (fixing lint errors) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| Line 153: | Line 153: | ||
{{Window templates}} | {{Window templates}} | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- Categories and interwikis go here: --> | <!-- Categories and interwikis go here: --> | ||
[[Category:Folder templates]] | [[Category:Folder templates]] | ||
| − | </includeonly> | + | }}</includeonly> |
Revision as of 22:01, 25 April 2020
| This is a documentation subpage for Template:Invert framework. It contains 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 designed as a companion to the {{framework}} template and works much in the same manner.
Contents
Usage
|
{{Framework |
|
| General guidelines & notes: | |
| |
| 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 |
Example
This an example of how the two templates work together...
{{Invert framework
| width = 75%
| title = Example 1
| text-color = crimson
| text-align = center
| font-weight = normal
| font-size = 300%
| content = Picture of the Day
| color = red
}}
{{Framework
| width = 75%
| title = [[Template:Framework/doc | Image]]...
| content =
{{POTD wikipedia |float=left |title=yes |thumb=yes}}
{{Lorem ipsum}}
| color = red
}}
|
Picture of the Day |
|
Image...
|
|
|
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. | |
Different colors
|
|
| ||||||
|
|
| ||||||
|
| |||||||
| User defined fields | ||||||||
| ||||||||
See also