ATTENTION: An Animal Crossing Wiki from Miraheze will be at a new website at animalcrossing.indyamos.com. This will be an enhanced version of this wiki. Please view Special:Diff/57616 for more information.
Template:Userboxes: Difference between revisions
From Animal Crossing Wiki
Jump to navigationJump to search
mediawiki>Fleurione m (fixed sprurious <noinclude> code) |
mediawiki>Fleurione mNo edit summary |
||
| Line 1: | Line 1: | ||
{|class="userboxes" style="margin-left: {{{left|1}}}em;; margin-bottom: 0.5em; width: {{#expr:{{{columns|1}}}*242+8}}px; border: {{{bordercolor|#99B3FF}}} solid 1px; background-color: {{{backgroundcolor|#FFFFFF}}}; color: {{{textcolor|#000000}}}; float: {{{2|{{{align|right}}}}}}; {{{extra-css|}}}" | {|class="userboxes" style="margin-left: {{{left|1}}}em;; margin-bottom: 0.5em; width: {{#expr:{{{columns|1}}}*242+8}}px; border: {{{bordercolor|#99B3FF}}} solid 1px; background-color: {{{backgroundcolor|#FFFFFF}}}; color: {{{textcolor|#000000}}}; float: {{{2|{{{align|right}}}}}}; {{{extra-css|}}}" | ||
|<div style="text-align: center; font-size: 120%; font-weight: bold;">{{{1|{{{toptext|[[Template:Userboxes|Userboxes]]}}}}}}</div> | |<div style="text-align: center; font-size: 120%; font-weight: bold;">{{{1|{{{toptext|[[Template:Userboxes|Userboxes]]}}}}}}</div><noinclude> | ||
|} | |} | ||
<noinclude> | <noinclude> | ||
Revision as of 17:35, 20 April 2009
Purpose
To collect images or userboxes into a single column grouping easily. This template is not just for userboxes; it is also an efficient way of creating a column of images to run along the side of an article.
Usage
If you want the basic userbox design (which takes up little code space) simply use:
{{Userboxes}}Insert userboxes here{{Userboxesend}}
To change the design, use this longer code version, and change the info after the = signs:
{{Userboxes
| align = Alignment (left or right). Default is right.
| left = Any left margin value. Default is 1.
| backgroundcolor = Any web color (name or #XXXXXX hex format). Default is #FFFFFF.
| bordercolor = Any web color (name or #XXXXXX hex format). Default is #99B3FF.
| extra-css = Allows you to provide additional CSS style information.
| textcolor = Any web color (name or #XXXXXX hex format). Default is #000000.
| toptext = Changes the standard Userbox text and link. Can include wiki-markup.
| columns = Number of columns (default is 1).
}}
Userboxes go here
{{userboxesend}}