Template:UserboxNew/doc: Difference between revisions
Jump to navigation
Jump to search
Ozycaevias (talk | contribs) No edit summary |
Ozycaevias (talk | contribs) No edit summary |
||
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. --> | ||
Line 17: | Line 18: | ||
| 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 | ||
Line 25: | Line 27: | ||
| 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 |
Revision as of 21:02, 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. --> | 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. --> | Background-color = <!-- Color of the container's background; default is #fcfcfc. --> | Userboxes = <!-- Userbox templates listed in order from top to bottom. --> }}
Examples
TestAccount
MT | This user is primarily a "Modern Tech" roleplayer. |
This user is proud to be Australian. |
80s |
{{UserboxNew | User = TestAccount | User-color = black | Image = IIWiki_Logo.png | Border-color = #eeeeee | Background-color = #fcfcfc | Userboxes = {{Template:MTUBX}} {{AustralianUBX}} {{User_80s}} {{User_Ajax}} }}
Ozycaevias
MT | This user is primarily a "Modern Tech" roleplayer. |
This user contributes using Firefox. |
This user chats on Discord as Ozycaevias. |
{{UserboxNew | User = Ozycaevias | User-color = DarkGreen | Border-color = #90EE90 | Background-color = #d6f6d6 | Userboxes = {{Template:MTUBX}} {{User_Firefox}} {{User_Discord|account=Ozycaevias}} {{User_Utah}} {{User_Ajax}} }}