Don't like the ads? Then create an account! Users with accounts have more options than anonymous users.

Difference between revisions of "Template:Userboxtop"

From Triforce Wiki, a The Legend of Zelda wiki
Jump to navigationJump to search
(name=)
m (customizable border)
Line 1: Line 1:
{| name="userboxes" id="userboxes" style="float: {{{2|right}}}; margin-left: 1em; margin-bottom: 1ex; width: 242px; border: 1px solid #99B3FF; clear: right; background-color: {{{3|#FFFFFF;}}}"
{| name="userboxes" id="userboxes" style="float: {{{2|right}}}; margin-left: 1em; margin-bottom: 1ex; width: 242px; border: 1px solid {{{border|#AAA}}}; clear: right; background-color: {{{3|#FFFFFF;}}}"
|-
|-
| style="text-align: center" |[[Triforce Wiki:Userboxes|'''<span style="color:{{{1|green}}}">{{{name|{{PAGENAME}}}}}'s Userbox Tower</span>]]
| style="text-align: center" |[[Triforce Wiki:Userboxes|'''<span style="color:{{{1|green}}}">{{{name|{{PAGENAME}}}}}'s Userbox Tower</span>]]
Line 14: Line 14:
*Replace "3" with a background color ('''Default''': white)  
*Replace "3" with a background color ('''Default''': white)  
*Add <code>name=</code> to give a name of choice ('''Default''': has the same name as the page it is on)
*Add <code>name=</code> to give a name of choice ('''Default''': has the same name as the page it is on)
*Add <code>border=</code> to change the border color ('''Default''': light gray)


==Example==
==Example==
<pre>{{userboxtop|red|left|lightblue|name=Mario}}</pre> produces:
<pre>{{userboxtop|red|left|lightblue|name=Mario|border=red}}</pre> produces:


{{userboxtop|red|left|lightblue|name=Mario}}
{{userboxtop|red|left|lightblue|name=Mario|border=red}}


[[Category:Userbox templates|{{PAGENAME}}]]</noinclude>
[[Category:Userbox templates|{{PAGENAME}}]]</noinclude>

Revision as of 04:55, November 28, 2019

Userboxtop's Userbox Tower

How to use

Userboxtop is a template that a user can use to contain all of their userboxes within. This template was taken from Super Mario Wiki, with slight alterations and additional documentation.

{{userboxtop|1|2|3|name=}}
  • Replace "1" with the heading text color of choice. (Default: green)
  • Replace "2" with a template alignment of either: left, right, or center. (Default: right)
  • Replace "3" with a background color (Default: white)
  • Add name= to give a name of choice (Default: has the same name as the page it is on)
  • Add border= to change the border color (Default: light gray)

Example

{{userboxtop|red|left|lightblue|name=Mario|border=red}}

produces:

Mario's Userbox Tower