Difference between revisions of "Template:PortalSection/doc"
Jump to navigation
Jump to search
test>ITeachThem |
test>ITeachThem |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
==Description== | ==Description== | ||
| − | This template draws a colourful margin in all four sides with text/image within it. | + | This template draws a colourful margin in all four sides with text/image within it. This template consists of {{tlx|box-shadow}} and {{tlx|border-radius}}. |
==Usage== | ==Usage== | ||
Revision as of 08:05, 14 October 2013
| This is a documentation subpage for Template:PortalSection. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Description
This template draws a colourful margin in all four sides with text/image within it. This template consists of {{box-shadow}} and {{border-radius}}.
Usage
This template may be used in user pages.
Syntax
- Use
{{PortalSection|width=|text-color=|bgcolor=|body=}} - Use
{{portalsection|width=|text-color=|bgcolor=|body=}}instead with all of them in lowercase letters.
Example
Excluding text colour and background colour
- Using
{{PortalSection|width=20em|body=PortalSection}}will show:
PortalSection
Excluding the width
- Using
{{PortalSection|width=|text-color=white|bgcolor=black|body=PortalSection}}will show:
PortalSection
Complete template
- Using
{{PortalSection|width=20em|text-color=blue|bgcolor=black|body=PortalSection}}will show:
PortalSection