Help:Userboxes: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(?)
 
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
A '''userbox''' is a small, usually coloured box that users place on their user pages to give information about themselves.  They tend to concern the preferences or habits of a user.  Current [[Pikmin:Pikipedia|Pikipedia]] userboxes are found at [[Category:Pikipedia userboxes]].
#REDIRECT [[Help:FAQ#How do I make a userbox?]]
 
{{Valid redirect}}
To create a custom userbox, there are a number of options:
*'''Use code from an existing userbox.'''  This involves editing another userbox on the wiki to copy its code, then changing it to suit your needs.  This should be saved as a subpage to your userpage (see [[Help:FAQ#How do I make a subpage for my userpage?|Help:FAQ]]).
*'''Use ''Template:Userbox''.'''  Follow the documentation found at [[Template:Userbox]] to create a simple userbox.
*Otherwise, if you have knowledge of MediaWiki [[Help:Editing#Tables|tables]] and CSS styles, '''create a userbox from scratch'''.  These are the two basic elements used in userboxes, and are all that is needed.
 
Once saved, the finished userbox can be substituted into any page via the code ''<nowiki>{{User:Username/subpage}}</nowiki>''.
 
==Towers==
Userboxes are most often arranged into columns, or "towers", on user pages, especially when there are quite a few to display.  This can be achieved with the following code (change ''float: right'' to ''float: left'' if preferred):
<pre>{|style="border-spacing: 10px; float: right;"
|-
| The first userbox goes here
|-
| Another one could be here
|-
| And so on
|}</pre>
 
This is a simple MediaWiki [[Help:Editing#Tables|table]], so it can be given styles and classes like any other table.
[[Category:Help]]
[[Category:Pikipedia Userboxes| ]]

Latest revision as of 17:06, September 27, 2023

Even if it appears unused or unnecessary, this pageUserboxes redirect should not be deleted.