Template:UserboxNew/doc: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
| User            =  <!-- Username to be displayed on top. -->
| User            =  <!-- Username to be displayed on top. -->
| User-color      =  <!-- Color of the username displayed; default is black. -->
| User-color      =  <!-- Color of the username displayed; default is black. -->
| Image            =  <!-- Image to be displayed at the top of the userbox. Format is "Image.ext". -->
| Border-color    =  <!-- Color of the border surrounding the container; default is #eeeeee. -->
| Border-color    =  <!-- Color of the border surrounding the container; default is #eeeeee. -->
| Background-color =  <!-- Color of the container's background; default is #fcfcfc. -->
| Background-color =  <!-- Color of the container's background; default is #fcfcfc. -->
| Image            =  <!-- Image to be displayed at the top of the userbox. Format is "Image.ext". -->
| Caption          =  <!-- Caption to be displayed under the image. -->
| Caption-color    =  <!-- Color of the caption text. Default is #464B54. -->
| Userboxes        =  <!-- Userbox templates listed in order from top to bottom. -->
| Userboxes        =  <!-- Userbox templates listed in order from top to bottom. -->
}}
}}
Line 18: Line 20:
| User            = TestAccount
| User            = TestAccount
| User-color      = black
| User-color      = black
| Image            = IIWiki_Logo.png
| Border-color    = #eeeeee
| Border-color    = #eeeeee
| Background-color = #fcfcfc
| Background-color = #fcfcfc
| Image            = IIWiki_Logo.png
| Caption          = IIWiki logo
| Userboxes        = {{Template:MTUBX}} {{AustralianUBX}} {{User_80s}} {{User_Ajax}}
| Userboxes        = {{Template:MTUBX}} {{AustralianUBX}} {{User_80s}} {{User_Ajax}}
}}
}}
Line 27: Line 30:
| User            = TestAccount
| User            = TestAccount
| User-color      = black
| User-color      = black
| Image            = IIWiki_Logo.png
| Border-color    = #eeeeee
| Border-color    = #eeeeee
| Background-color = #fcfcfc
| Background-color = #fcfcfc
| Image            = IIWiki_Logo.png
| Caption          = IIWiki logo
| Userboxes        = {{Template:MTUBX}} {{AustralianUBX}} {{User_80s}} {{User_Ajax}}
| Userboxes        = {{Template:MTUBX}} {{AustralianUBX}} {{User_80s}} {{User_Ajax}}
}}
}}
Line 38: Line 42:
| User            = Ozycaevias
| User            = Ozycaevias
| User-color      = DarkGreen
| User-color      = DarkGreen
| Image            = Ozy_CoA.png
| Border-color    = #90EE90
| Border-color    = #90EE90
| Background-color = #d6f6d6
| Background-color = #d6f6d6
| Image            = Ozy_CoA.png
| Caption          = Personal Coat of Arms
| Caption-color    = #666666
| Userboxes        = {{Template:MTUBX}} {{User_Firefox}} {{User_Discord|account=Ozycaevias}} {{User_Utah}} {{User_Ajax}}
| Userboxes        = {{Template:MTUBX}} {{User_Firefox}} {{User_Discord|account=Ozycaevias}} {{User_Utah}} {{User_Ajax}}
}}
}}
Line 47: Line 53:
| User            = Ozycaevias
| User            = Ozycaevias
| User-color      = DarkGreen
| User-color      = DarkGreen
| Image            = Ozy_CoA.png
| Border-color    = #90EE90
| Border-color    = #90EE90
| Background-color = #d6f6d6
| Background-color = #d6f6d6
| Image            = Ozy_CoA.png
| Caption          = Personal Coat of Arms
| Caption-color    = #666666
| Userboxes        = {{Template:MTUBX}} {{User_Firefox}} {{User_Discord|account=Ozycaevias}} {{User_Utah}} {{User_Ajax}}
| Userboxes        = {{Template:MTUBX}} {{User_Firefox}} {{User_Discord|account=Ozycaevias}} {{User_Utah}} {{User_Ajax}}
}}
}}
</pre>
</pre>

Latest revision as of 21:19, 24 September 2019

This is a template for displaying userboxes that uses flexboxes and divs to handle formatting in a more robust way.

Use

{{UserboxNew
| User             =  <!-- Username to be displayed on top. -->
| User-color       =  <!-- Color of the username displayed; default is black. -->
| Border-color     =  <!-- Color of the border surrounding the container; default is #eeeeee. -->
| Background-color =  <!-- Color of the container's background; default is #fcfcfc. -->
| Image            =  <!-- Image to be displayed at the top of the userbox. Format is "Image.ext". -->
| Caption          =  <!-- Caption to be displayed under the image. -->
| Caption-color    =  <!-- Color of the caption text. Default is #464B54. -->
| Userboxes        =  <!-- Userbox templates listed in order from top to bottom. -->
}}

Examples

TestAccount
IIWiki Logo.png
IIWiki logo
MTThis user is primarily a
"Modern Tech" roleplayer.
Flag of Australia.svgThis user is proud to be Australian.
 80s 
This user was born in the 80s.
Ajax Logo.png
This user is a member of Ajax.
{{UserboxNew
| User             = TestAccount
| User-color       = black
| Border-color     = #eeeeee
| Background-color = #fcfcfc
| Image            = IIWiki_Logo.png
| Caption          = IIWiki logo
| Userboxes        = {{Template:MTUBX}} {{AustralianUBX}} {{User_80s}} {{User_Ajax}}
}}









Ozycaevias
Ozy CoA.png
Personal Coat of Arms
MTThis user is primarily a
"Modern Tech" roleplayer.
Firefox logo, 2019.svgThis user contributes using Firefox.
Discord logo mark white.svgThis user chats on Discord as Ozycaevias.
Seal of Utah.svg
This user is from the U.S. State of Utah.
Ajax Logo.png
This user is a member of Ajax.
{{UserboxNew
| User             = Ozycaevias
| User-color       = DarkGreen
| Border-color     = #90EE90
| Background-color = #d6f6d6
| Image            = Ozy_CoA.png
| Caption          = Personal Coat of Arms
| Caption-color    = #666666
| Userboxes        = {{Template:MTUBX}} {{User_Firefox}} {{User_Discord|account=Ozycaevias}} {{User_Utah}} {{User_Ajax}}
}}