Template:RoB style/doc
Jump to navigation
Jump to search
- Description
- This is a global color-style support template.
- ...
- Syntax
- Basic use:
{{RoB style|color-style-name}} - Used where a css style="..." command can be used.
- Extended use: :
{{RoB style|color-style-name|additional css}} - Important: As CSS don't supports multiple style-commands per element (it ignores all but the last one).
- As such the
additional csspart needs to be used to add additional styling to an element.
- Dependency
- Uses and relies on the RoB color template for the actual used (background)colors.
- Sample text-output
{{RoB style|infoboxheader}}=>style="background-color:#3366CC; color:white; font-size:1.2em; "{{RoB style|infoboxheader|border:2px;}}=>style="background-color:#3366CC; color:white; font-size:1.2em; border:2px;"
- Available
color-style-names - infoboxheader: infoboxheader (Uses bigger height in actual table-cell as is displayed here.)
- infoboxsection: infoboxsection
- infoboxfoother: infoboxfoother
- shareddata: shareddata