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 (Undo revision 5566 by Results May Vary (talk))
Tag: Undo
 
(4 intermediate revisions by the same user not shown)
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 8: Line 8:
Userboxtop is a template that a user can use to contain all of their userboxes within. This template was taken from [[mariowiki:Template:Userboxtop|Super Mario Wiki]], with slight alterations and additional documentation.
Userboxtop is a template that a user can use to contain all of their userboxes within. This template was taken from [[mariowiki:Template:Userboxtop|Super Mario Wiki]], with slight alterations and additional documentation.


<pre>{{userboxtop|1|2|3|name=}}</pre>
<pre>{{userboxtop|1|2|3|name=|border=}}</pre>


*Replace "1" with the heading text color of choice. ('''Default''': green)
*Replace "1" with the heading text color of choice. ('''Default''': green)
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|white|left|red|name=Mario|border=blue}}</pre> produces:


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


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

Latest revision as of 04:59, November 28, 2019

Userboxtop's Userbox Tower

How to use[edit]

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=|border=}}
  • 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[edit]

{{userboxtop|white|left|red|name=Mario|border=blue}}

produces:

Mario's Userbox Tower