Help:Userboxes: Difference between revisions
m (→Wiki Staff) |
|||
(17 intermediate revisions by 5 users not shown) | |||
Line 2: | Line 2: | ||
== Displaying a userbox == | == Displaying a userbox == | ||
To display a userbox, use | To display a userbox, use the {{t|userbox container}} template. You can set a title for the container by including it after a pipe. You can also specify which side the userboxes align to: by default, they align to the right. The container template looks like this: <code><nowiki>{{userbox container|title|alignment}}</nowiki></code>. You then add the actual line(s) of userbox code. At the end of a userbox list, you should add {{t|Userbox container bottom}} at the bottom. | ||
== Creating a userbox == | == Creating a userbox == | ||
Line 18: | Line 18: | ||
{{userbox|text-background=white|id=[[File:Wii_Logo.png|40px]]|id-background=white|info=This user owns a Wii.}} | {{userbox|text-background=white|id=[[File:Wii_Logo.png|40px]]|id-background=white|info=This user owns a Wii.}} | ||
{{clear|left}} | {{clear|left}} | ||
For the two "...background" options, specify a | For the two "...background" options, specify a color either by name, hex code or the [[Template:Color|Color]] template. The "id" field can be either text or an image, displayed on the left. The "info" field is the text displayed on the right. | ||
Once created, simply add your resulting code to the list below. If desired, you can also add it to your userpage. | Once created, simply add your resulting code to the list below. If desired, you can also add it to your userpage. | ||
Line 28: | Line 28: | ||
!Code | !Code | ||
|- | |- | ||
| {{userbox|text-background=#FFE3EE|id=[[File: | | {{userbox|text-background=#FFE3EE|id=[[File:KSS Lalala.png]]|id-background=pink|info=This user is '''female'''.|info-color=#66303B}} | ||
| <nowiki>{{userbox|text-background=#FFE3EE|id=[[File: | | <nowiki>{{userbox|text-background=#FFE3EE|id=[[File:KSS Lalala.png]]|id-background=pink|info=This user is '''female'''.|info-color=#66303B}}</nowiki> | ||
|- | |- | ||
| {{userbox|text-background=#BEE0FF|id=[[File: | | {{userbox|text-background=#BEE0FF|id=[[File:KSS Lololo.png]]|id-background=#8EC0FF|info=This user is '''male'''.|info-color=#101B66}} | ||
| <nowiki>{{userbox|text-background=#BEE0FF|id=[[File: | | <nowiki>{{userbox|text-background=#BEE0FF|id=[[File:KSS Lololo.png]]|id-background=#8EC0FF|info=This user is '''male'''.|info-color=#101B66}}</nowiki> | ||
|- | |- | ||
| {{userbox|text-background=Lime|id=[[File: | | {{userbox|text-background=#c987ff|id=[[File:UserboxNonBinary.png]]|id-background=purple|info=This user is '''non-binary'''.|info-color=#410075}} | ||
| <nowiki>{{userbox|text-background=Lime|id=[[File: | | <nowiki>{{userbox|text-background=#c987ff|id=[[File:UserboxNonBinary.png]]|id-background=purple|info=This user is '''non-binary'''.|info-color=#410075}}</nowiki> | ||
|- | |||
| {{userbox|text-background=Lime|id=[[File:KSSU Birdon Animated Sprite.gif]]|id-background=MediumVioletRed|info=This user likes Birdons.|info-color=Red}} | |||
| <nowiki>{{userbox|text-background=Lime|id=[[File:KSSU Birdon Animated Sprite.gif]]|id-background=MediumVioletRed|info=This user likes Birdons.|info-color=Red}}</nowiki> | |||
|- | |- | ||
| {{userbox|text-background=DarkGreen|id=[[File:BombarRoll.gif]]|id-background=DarkGreen|info=This user likes to do a barrel-roll.|info-color=SteelBlue}} | | {{userbox|text-background=DarkGreen|id=[[File:BombarRoll.gif]]|id-background=DarkGreen|info=This user likes to do a barrel-roll.|info-color=SteelBlue}} | ||
Line 46: | Line 49: | ||
| <nowiki> {{userbox|text-background=#FFC0CB |id=[[File:HappyBirthdaySqueakSquad.png|50px]]|id-background=#FF1493|info=This user's birthday is on MONTH-DAY.|info-color=#C71585}}</nowiki> | | <nowiki> {{userbox|text-background=#FFC0CB |id=[[File:HappyBirthdaySqueakSquad.png|50px]]|id-background=#FF1493|info=This user's birthday is on MONTH-DAY.|info-color=#C71585}}</nowiki> | ||
|- | |- | ||
| {{userbox|border-color=#808080|text-background=#CCCCFF|id-background=#000080|id=[[ | | {{userbox|border-color=#808080|text-background=#CCCCFF|id-background=#000080|id=[[File:KTD Mike Kirby Artwork.png|50px]]|info=This user listens to video game music.}} | ||
| <nowiki>{{userbox|border-color=#808080|text-background=#CCCCFF|id-background=#000080|id=[[ | | <nowiki>{{userbox|border-color=#808080|text-background=#CCCCFF|id-background=#000080|id=[[File:K64 Kirby Music.gif]]|info=This user listens to video game music.}}</nowiki> | ||
|- | |- | ||
| {{userbox|text-background=#F0FFFF |id=[[File: | | {{userbox|text-background=#F0FFFF |id=[[File:KSqS Ghost Kirby Sprite Animated.gif]]|id-background=#F8F8FF|info=This user likes to scare people.|info-color=#A9A9A9}} | ||
| <nowiki> {{userbox|text-background=#F0FFFF |id=[[File: | | <nowiki> {{userbox|text-background=#F0FFFF |id=[[File:KSqS Ghost Kirby Sprite Animated.gif]]|id-background=#F8F8FF|info=This user likes to scare people.|info-color=#A9A9A9}}</nowiki> | ||
|- | |- | ||
| {{userbox|text-background=#DB7093|id=[[File:UserboxGourmetKirby.png]]|id-background=#C71585|info=This user loves to eat.|info-color=#FFE3EE}} | | {{userbox|text-background=#DB7093|id=[[File:UserboxGourmetKirby.png]]|id-background=#C71585|info=This user loves to eat.|info-color=#FFE3EE}} | ||
Line 56: | Line 59: | ||
|- | |- | ||
| {{userbox|text-background=white|id=<choose> | | {{userbox|text-background=white|id=<choose> | ||
<option>[[File:Ghost Kirby | <option>[[File:KSqS Ghost Kirby Sprite.png|37px]]</option><option>[[File:KSqS Ghost Kirby Sprite 2.png|37px]]</option></choose>|id-background=white|info='''This user says this wiki is <font style="font-weight:bold; color: {{{info-fc|DimGray}}};">Haunted!</font>'''|info-color=DarkGrey}} | ||
| <nowiki>{{userbox|text-background=white|id=<choose> | | <nowiki>{{userbox|text-background=white|id=<choose> | ||
<option>[[File:Ghost Kirby | <option>[[File:KSqS Ghost Kirby Sprite.png|37px]]</option><option>[[File:KSqS Ghost Kirby Sprite 2.png|37px]]</option></choose>|id-background=white|info='''This user says this wiki is <font style="font-weight:bold; color: {{{info-fc|DimGray}}};">Haunted!</font>'''|info-color=DarkGrey}}</nowiki> | ||
|- | |- | ||
| {{userbox|text-background=white|id=[[File:Fighter KSSU Icon.png|37px]]|id-background=white|info='''This user is a wiki <font style="font-weight:bold; color: {{{info-fc|DimGray}}};">Warrior!</font>'''|info-color=DarkGrey}} | | {{userbox|text-background=white|id=[[File:Fighter KSSU Icon.png|37px]]|id-background=white|info='''This user is a wiki <font style="font-weight:bold; color: {{{info-fc|DimGray}}};">Warrior!</font>'''|info-color=DarkGrey}} | ||
Line 78: | Line 81: | ||
| <nowiki>{{userbox|text-background=white|id=[[File:Splittist-logo.png|50px]]|id-background=white|info='''This user is a <span class="plainlinks">[http://meta.wikimedia.org/wiki/Separatism <font style="font-weight:bold; color: {{{info-fc|DimGrey}}};">Splittist</font>]</span>.'''|info-color=DarkGrey}}</nowiki> | | <nowiki>{{userbox|text-background=white|id=[[File:Splittist-logo.png|50px]]|id-background=white|info='''This user is a <span class="plainlinks">[http://meta.wikimedia.org/wiki/Separatism <font style="font-weight:bold; color: {{{info-fc|DimGrey}}};">Splittist</font>]</span>.'''|info-color=DarkGrey}}</nowiki> | ||
|- | |- | ||
| {{userbox|text-background=white|id=[[File:Sleep | | {{userbox|text-background=white|id=[[File:KSSU Sleep Kirby Artwork.png|50px]]|id-background=white|info='''This user is a wiki <font style="font-weight:bold; color: {{{info-fc|DimGray}}};">Pacifist</font>.'''|info-color=DarkGrey}} | ||
| <nowiki>{{userbox|text-background=white|id=[[File:Sleep | | <nowiki>{{userbox|text-background=white|id=[[File:KSSU Sleep Kirby Artwork.png|50px]]|id-background=white|info='''This user is a wiki <font style="font-weight:bold; color: {{{info-fc|DimGray}}};">Pacifist</font>.'''|info-color=DarkGrey}}</nowiki> | ||
|- | |- | ||
|{{userbox|text-background=#6B24B2|id=[[File:KSS Surprised Kirby Sprite.png]]|id-background=yellow|info=This user gets startled when suddenly being woken up.|info-color=pink}} | |{{userbox|text-background=#6B24B2|id=[[File:KSS Surprised Kirby Sprite.png]]|id-background=yellow|info=This user gets startled when suddenly being woken up.|info-color=pink}} | ||
|<nowiki>{{userbox|text-background=#6B24B2|id=[[File:KSS Surprised Kirby Sprite.png]]|id-background=yellow|info=This user gets startled when suddenly being woken up.|info-color=pink}}</nowiki> | |<nowiki>{{userbox|text-background=#6B24B2|id=[[File:KSS Surprised Kirby Sprite.png]]|id-background=yellow|info=This user gets startled when suddenly being woken up.|info-color=pink}}</nowiki> | ||
|- | |- | ||
| {{userbox|text-background=#CB6D00|id=[[File: | | {{userbox|text-background=#CB6D00|id=[[File:KSqS Animal Kirby Sprite.png]]|id-background=#E59F36|info=This user is a '''Furry'''.|info-color=#EEE5D4|border-color=#5D2E05}} | ||
| <nowiki> {{userbox|text-background=#CB6D00|id=[[File: | | <nowiki> {{userbox|text-background=#CB6D00|id=[[File:KSqS Animal Kirby Sprite.png]]|id-background=#E59F36|info=This user is a '''Furry'''.|info-color=#EEE5D4|border-color=#5D2E05}}</nowiki> | ||
|- | |- | ||
|{{userbox|text-background=#FFFFFF|id=[[File:K64 PC IceBomb.png]]|id-background=white|info=This user's favorite '''Power Combo''' is '''*POWER COMBO NAME*'''|info-color=DarkGrey}} | |{{userbox|text-background=#FFFFFF|id=[[File:K64 PC IceBomb.png]]|id-background=white|info=This user's favorite '''Power Combo''' is '''*POWER COMBO NAME*'''|info-color=DarkGrey}} | ||
Line 199: | Line 202: | ||
|<nowiki>{{Userbox|border-width=3|border-color=red|id=[[File:Niwa.png|75px]]|id-background=red|info=This user proudly supports the '''<span class="plainlinks">[http://www.niwanetwork.org {{color|red|<u>Nintendo Independent Wiki Alliance</u>}}]</span>'''!}}</nowiki> | |<nowiki>{{Userbox|border-width=3|border-color=red|id=[[File:Niwa.png|75px]]|id-background=red|info=This user proudly supports the '''<span class="plainlinks">[http://www.niwanetwork.org {{color|red|<u>Nintendo Independent Wiki Alliance</u>}}]</span>'''!}}</nowiki> | ||
|- | |- | ||
|{{userbox|text-background=white|id=[[File: | |{{userbox|text-background=white|id=[[File:N Wiki logo.png|48px]]|id-background=#ED1C24|info=This user is a member of '''[[nwiki:Main Page|{{color|#009EE3|NintendoWiki}}]]'''.|info-color=#009EE3}} | ||
|<nowiki>{{userbox|text-background=white|id=[[File: | |<nowiki>{{userbox|text-background=white|id=[[File:N Wiki logo.png|48px]]|id-background=#ED1C24|info=This user is a member of '''[[nwiki:Main Page|{{color|#009EE3|NintendoWiki}}]]'''.|info-color=#009EE3}}</nowiki> | ||
|- | |- | ||
|{{userbox|text-background=#CEF2E0|id=[[File: | |{{userbox|text-background=#CEF2E0|id=[[File:Smash Wiki Logo.png|42px]]|id-background=#CEDFF2|info=This user is a member of '''[[smashwiki:Main Page|{{color|black|SmashWiki}}]]'''.|info-color=black}} | ||
|<nowiki>{{userbox|text-background=#CEF2E0|id=[[File: | |<nowiki>{{userbox|text-background=#CEF2E0|id=[[File:Smash Wiki Logo.png|42px]]|id-background=#CEDFF2|info=This user is a member of '''[[smashwiki:Main Page|{{color|black|SmashWiki}}]]'''.|info-color=black}}</nowiki> | ||
|- | |- | ||
|{{userbox|text-background=#FF5555|id=[[File: | |{{userbox|text-background=#FF5555|id=[[File:MarioWiki Logo.svg|48px]]|id-background=#FFAAAA|info=This user is a member of '''[[mariowiki:Main Page|{{color|white|Super Mario Wiki}}]]'''.|info-color=white}} | ||
|<nowiki>{{userbox|text-background=#FF5555|id=[[File: | |<nowiki>{{userbox|text-background=#FF5555|id=[[File:MarioWiki Logo.svg|48px]]|id-background=#FFAAAA|info=This user is a member of '''[[mariowiki:Main Page|{{color|white|Super Mario Wiki}}]]'''.|info-color=white}}</nowiki> | ||
|} | |} | ||
Latest revision as of 01:47, 10 August 2023
Userboxes exist for the purpose of showing things about yourself, such as your gender, age, character preferences, which games you own, amongst many other things.
Displaying a userbox
To display a userbox, use the {{userbox container}} template. You can set a title for the container by including it after a pipe. You can also specify which side the userboxes align to: by default, they align to the right. The container template looks like this: {{userbox container|title|alignment}}
. You then add the actual line(s) of userbox code. At the end of a userbox list, you should add {{Userbox container bottom}} at the bottom.
Creating a userbox
When creating a new userbox, you don't need to worry about div classes and other HTML code you may see in other boxes. All the code you'll need is contained in Template:Userbox, and you can use its parameters to add customised text, images and colour, although you can still start from scratch if you want. A simple userbox is constructed using the following format:
{{userbox |id= |id-background= |info= |text-background= }}
An example of a user box:
For the two "...background" options, specify a color either by name, hex code or the Color template. The "id" field can be either text or an image, displayed on the left. The "info" field is the text displayed on the right.
Once created, simply add your resulting code to the list below. If desired, you can also add it to your userpage.
List of userboxes
General
Preview | Code | ||
---|---|---|---|
{{userbox|text-background=#FFE3EE|id=[[File:KSS Lalala.png]]|id-background=pink|info=This user is '''female'''.|info-color=#66303B}} | |||
{{userbox|text-background=#BEE0FF|id=[[File:KSS Lololo.png]]|id-background=#8EC0FF|info=This user is '''male'''.|info-color=#101B66}} | |||
{{userbox|text-background=#c987ff|id=[[File:UserboxNonBinary.png]]|id-background=purple|info=This user is '''non-binary'''.|info-color=#410075}} | |||
{{userbox|text-background=Lime|id=[[File:KSSU Birdon Animated Sprite.gif]]|id-background=MediumVioletRed|info=This user likes Birdons.|info-color=Red}} | |||
{{userbox|text-background=DarkGreen|id=[[File:BombarRoll.gif]]|id-background=DarkGreen|info=This user likes to do a barrel-roll.|info-color=SteelBlue}} | |||
{{userbox|text-background=#FFFF00|id=[[File:YellowKirbyAmazingMirror.png]]|id-background=#FFD700|info=This user likes Yellow Kirby more than Pink Kirby.|info-color=#FFA500}} | |||
{{userbox|text-background=#FFC0CB |id=[[File:HappyBirthdaySqueakSquad.png|50px]]|id-background=#FF1493|info=This user's birthday is on MONTH-DAY.|info-color=#C71585}} | |||
{{userbox|border-color=#808080|text-background=#CCCCFF|id-background=#000080|id=[[File:K64 Kirby Music.gif]]|info=This user listens to video game music.}} | |||
{{userbox|text-background=#F0FFFF |id=[[File:KSqS Ghost Kirby Sprite Animated.gif]]|id-background=#F8F8FF|info=This user likes to scare people.|info-color=#A9A9A9}} | |||
{{userbox|text-background=#DB7093|id=[[File:UserboxGourmetKirby.png]]|id-background=#C71585|info=This user loves to eat.|info-color=#FFE3EE}} | |||
{{userbox|text-background=white|id=<choose> <option>[[File:KSqS Ghost Kirby Sprite.png|37px]]</option><option>[[File:KSqS Ghost Kirby Sprite 2.png|37px]]</option></choose>|id-background=white|info='''This user says this wiki is <font style="font-weight:bold; color: {{{info-fc|DimGray}}};">Haunted!</font>'''|info-color=DarkGrey}} | |||
{{userbox|text-background=white|id=[[File:Fighter KSSU Icon.png|37px]]|id-background=white|info='''This user is a wiki <font style="font-weight:bold; color: {{{info-fc|DimGray}}};">Warrior!</font>'''|info-color=DarkGrey}} | |||
{{userbox|text-background=white|id=[[File:McDonalds.png|60px]]|id-background=white|info=This user thinks Wikia is the McDonald'sification of wikis.|info-color=DarkGrey}} | |||
{{userbox|text-background=white|id=[[File:Redirect arrow.png|45px]]|id-background=white|info='''This user finds <font style="color: {{{info-fc|DimGrey}}};">inline redirects</font> to be {{Color|Red|unacceptable}}.|info-color=DarkGrey}} | |||
{{userbox|text-background=white|id=[[File:Redirect arrow.png|45px]]|id-background=white|info='''This user finds <font style="color: {{{info-fc|DimGrey}}};">inline redirects</font> to be {{Color|Green|acceptable}}.|info-color=DarkGrey}} | |||
|
{{userbox|text-background=white|id=[[File:Mergist-logo.png|37px]]|id-background=white|info='''This user is a <span class="plainlinks">[http://meta.wikimedia.org/wiki/Mergism <font style="font-weight:bold; color: {{{info-fc|DimGray}}};">Mergist</font>]</span>.'''|info-color=DarkGrey}} | ||
|
{{userbox|text-background=white|id=[[File:Splittist-logo.png|50px]]|id-background=white|info='''This user is a <span class="plainlinks">[http://meta.wikimedia.org/wiki/Separatism <font style="font-weight:bold; color: {{{info-fc|DimGrey}}};">Splittist</font>]</span>.'''|info-color=DarkGrey}} | ||
{{userbox|text-background=white|id=[[File:KSSU Sleep Kirby Artwork.png|50px]]|id-background=white|info='''This user is a wiki <font style="font-weight:bold; color: {{{info-fc|DimGray}}};">Pacifist</font>.'''|info-color=DarkGrey}} | |||
{{userbox|text-background=#6B24B2|id=[[File:KSS Surprised Kirby Sprite.png]]|id-background=yellow|info=This user gets startled when suddenly being woken up.|info-color=pink}} | |||
{{userbox|text-background=#CB6D00|id=[[File:KSqS Animal Kirby Sprite.png]]|id-background=#E59F36|info=This user is a '''Furry'''.|info-color=#EEE5D4|border-color=#5D2E05}} | |||
{{userbox|text-background=#FFFFFF|id=[[File:K64 PC IceBomb.png]]|id-background=white|info=This user's favorite '''Power Combo''' is '''*POWER COMBO NAME*.'''|info-color=DarkGrey}} |
Wiki Staff
Preview | Code | ||
---|---|---|---|
|
{{Userbox |id=[[File:KSA Bandana Waddle Dee Artwork.png|50px]] |id-background=orange |info=This user is a [[WiKirby:Ranks#Patroller|patroller]] on WiKirby! |text-background=#ffd633 }} | ||
|
{{Userbox |id=[[File:KSA Meta Knight Artwork.png|80px]] |id-background=blue |info=This user is a [[WiKirby:Ranks#Moderator|moderator]] on WiKirby! |text-background=#80ccff }} | ||
|
|{{Userbox |id=[[File:Kirby Allies.png|50px]] |id-background=pink |info=This user is an [[WiKirby:Ranks#Administrator|administrator]] on WiKirby! |text-background=#ffe6ff }} | ||
|
{{Userbox |id=[[File:KSA King Dedede Artwork.png|50px]] |id-background=red |info=This user is a [[WiKirby:Ranks#Bureaucrat|bureaucrat]] on WiKirby! |text-background=#ff9999 }} |
Countries
Preview | Code |
---|---|
{{userbox|border-width=3|border-color=#00A859|text-background=#3E4095|info-color=white|id=[[File:UserboxCountryBR.png]]|id-background=#FFCC29|info=This user is from '''Brazil'''.}} | |
{{userbox|border-width=3|border-color=#3E4095|text-background=#CE2B37|info-color=white|id=[[File:UserboxCountryFR.png]]|id-background=white|info=This user is from '''France'''.}} | |
{{userbox|border-width=3|border-color=#3F3F3F|text-background=#FFD93F|id=[[File:UserboxCountryDE.png]]|id-background=#E53F3F|info=This user is from '''Germany'''.}} | |
{{userbox|border-width=3|border-color=#009A49|text-background=#FF7900|info-color=white|id=[[File:UserboxCountryIE.png]]|id-background=white|info=This user is from '''Ireland'''.}} | |
{{userbox|border-width=3|border-color=#009246|text-background=#CE2B37|info-color=white|id=[[File:UserboxCountryIT.png]]|id-background=white|info=This user is from '''Italy'''.}} | |
{{userbox|border-width=3|border-color=#AE1C28|text-background=#21468B|info-color=white|id=[[File:UserboxCountryNL.png]]|id-background=white|info=This user is from the '''Netherlands'''.}} | |
{{userbox|border-width=3|border-color=#D4213D|text-background=#D4213D|info-color=#E9E8E7|id=[[File:UserboxCountryPL.png]]|id-background=#E9E8E7|info=This user is from '''Poland'''.}} | |
{{userbox|border-width=3|border-color=#005BBB|text-background=#005BBB|info-color=#FFD500|id=[[File:UserboxCountryUA.png]]|id-background=#FFD500|info=This user is from '''Ukraine'''.}} | |
{{userbox|border-width=3|border-color=white|text-background=#00247D|info-color=white|id=[[File:UserboxCountryUK.png]]|id-background=#CF142B|info=This user is from the '''United Kingdom'''.}} | |
{{userbox|border-width=3|border-color=white|text-background=#B22234|info-color=white|id=[[File:UserboxCountryUS.png]]|id-background=#3C3B6E|info=This user is from the '''United States'''.}} |
NIWA
Preview | Code | ||
---|---|---|---|
|
{{Userbox|border-width=3|border-color=red|id=[[File:Niwa.png|75px]]|id-background=red|info=This user proudly supports the '''<span class="plainlinks">[http://www.niwanetwork.org {{color|red|<u>Nintendo Independent Wiki Alliance</u>}}]</span>'''!}} | ||
|
{{userbox|text-background=white|id=[[File:N Wiki logo.png|48px]]|id-background=#ED1C24|info=This user is a member of '''[[nwiki:Main Page|{{color|#009EE3|NintendoWiki}}]]'''.|info-color=#009EE3}} | ||
|
{{userbox|text-background=#CEF2E0|id=[[File:Smash Wiki Logo.png|42px]]|id-background=#CEDFF2|info=This user is a member of '''[[smashwiki:Main Page|{{color|black|SmashWiki}}]]'''.|info-color=black}} | ||
|
{{userbox|text-background=#FF5555|id=[[File:MarioWiki Logo.svg|48px]]|id-background=#FFAAAA|info=This user is a member of '''[[mariowiki:Main Page|{{color|white|Super Mario Wiki}}]]'''.|info-color=white}} |