(Tidy up Usage; troubleshooting imagesize term)
(trying imagesize as number only, no "px")
Line 2: Line 2:
| style="padding: 4pt; line-height: 1.25em;" |
| style="padding: 4pt; line-height: 1.25em;" |
|-
|-
| style="width: 120px; height: 120px" | [[Image:{{{image}}}|50x50]]
| style="width: {{{imagesize}}}; height: {{{imagesize}}}" | [[Image:{{{image}}}|{{{imagesize}}}x{{{imagesize}}}]]
| style="font-size: 12pt; color: black; padding: 4pt; line-height: 1.25em;" |{{{content}}}
| style="font-size: 12pt; color: black; padding: 4pt; line-height: 1.25em;" |{{{content}}}
|-
|-
Line 11: Line 11:


Create one-off notices, or use to create a notice template for a specific purpose.
Create one-off notices, or use to create a notice template for a specific purpose.
"imagesize" is the size in pixels: enter the number only.


E.g. for a box with square corners
E.g. for a box with square corners
Line 25: Line 27:
|radius=0
|radius=0
|image=Under construction orange.jpg
|image=Under construction orange.jpg
|imagesize=150px
|imagesize=150
|content=This is a notice with a picture.
|content=This is a notice with a picture.
}}
}}
Line 42: Line 44:
|radius=10
|radius=10
|image=Under construction orange.jpg
|image=Under construction orange.jpg
|imagesize=120px
|imagesize=120
|content=Roll up and join the fun! Help build topic XYZ on Appropedia...
|content=Roll up and join the fun! Help build topic XYZ on Appropedia...
}}
}}

Revision as of 17:22, 17 April 2011

[[Image:{{{image}}}|{{{imagesize}}}x{{{imagesize}}}]] {{{content}}}

Usage

Create one-off notices, or use to create a notice template for a specific purpose.

"imagesize" is the size in pixels: enter the number only.

E.g. for a box with square corners


creates:

150x150 This is a notice with a picture.

You can also create a box with rounded corners, e.g.:


creates:

120x120 Roll up and join the fun! Help build topic XYZ on Appropedia...
[[Image:{{{image}}}|{{{imagesize}}}x{{{imagesize}}}]] Join us - why not?

(If you leave out the "radius" term, it seems to default to a box with square corners, but it seems like good practice to always use the parameters, as in other cases it breaks the template.)

Choosing colors

Choose your colors from a "palette" such as the table at Wikipedia:Web colors#X11 color names.

Note that you can use hex codes for colors such as #F3F2E0, as in this example:

{{notice
|width=80%
|background-color=#F3F2E0
|border-color=#B5B380
|headline=Blah blah
|content=Yabba dabba doo}}

See Help:Notices for more.

See also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.