Difference between revisions of "Template:Userboxes"
From Nookipedia, the Animal Crossing wiki
SuperAlpaca (talk | contribs) |
TrainerXY493 (talk | contribs) m (Fixing Template) |
||
(3 intermediate revisions by 3 users not shown) | |||
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|[[ | + | |<div style="text-align: center; font-size: 120%; font-weight: bold;">{{{1|{{{toptext|[[Nookipedia:Userboxes|Userboxes]]}}}}}}</div><noinclude> |
|} | |} | ||
==Purpose== | ==Purpose== | ||
Line 21: | Line 21: | ||
Userboxes go here | Userboxes go here | ||
− | {{userboxesend}}</pre></noinclude> | + | {{userboxesend}}</pre>[[Category:Userboxes]]</noinclude> |
Latest revision as of 15:14, November 11, 2013
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}}