Jump to content

Template:Infobox user

From BarkWiki
Revision as of 22:27, 24 June 2026 by Tonytins (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{#ifeq: BarkWiki|Templates Wiki||

Your wiki got a version of Template:Documentation that is only relevant to Templates Wiki! Click here to revert it. For a documentation template you can use on your wiki, see Template:Documentation (copy) on Templates Wiki.

}}

Template information, documentation, and installation instructions.
Expand the below text for usage and other information.

{{#if: ||

Template Documentation:
Note: The template above might be broken without the parameters; while not ideal and often not necessary, this is common.
{{#if:
  | Edit this template for the documentation| {{#ifexist: Template:Infobox user/doc
    | View, edit, or check the history of this documentation.
    |Create documentation for this template.
    }}
   }} (How does this work?)
Editors can experiment with this template's sandbox and testcases.

{{#if:

 | {{{content}}}
| {{#ifexist: Template:Infobox user/doc | {{#if: |{{{{{1}}}}} |
Description
This template is used to create a user infobox.
Syntax
Type {{#if: |Template parameter limit reached! (help)|

{{#switch: | plain =

| pre =
 
| code = 
| #default = 
}}{{{{#if:  | {{{prefix}}}: |}}[[{{#if: |:}}Template:infobox user |{{#if: |:}}infobox user]]{{#if: |
}}{{#if:... | |...{{#if: |
}}
}}{{ #if: | |{{{3}}}{{#if: |
}}
}}{{ #if: | |{{{4}}}{{#if: |
}}
}}{{ #if: | |{{{5}}}{{#if: |
}}
}}{{ #if: | |{{{6}}}{{#if: |
}}
}}{{ #if: | |{{{7}}}{{#if: |
}}
}}{{ #if: | |{{{8}}}{{#if: |
}}
}}{{ #if: | |{{{9}}}{{#if: |
}}
}}{{ #if: | |{{{10}}}{{#if: |
}}
}}{{ #if: | |{{{11}}}{{#if: |
}}
}}{{ #if: | |{{{12}}}{{#if: |
}}
}}{{ #if: | |{{{13}}}{{#if: |
}}
}}{{ #if: | |{{{14}}}{{#if: |
}}
}}{{ #if: | |{{{15}}}{{#if: |
}}
}}{{ #if: | |{{{16}}}{{#if: |
}}
}}{{ #if: | |{{{17}}}{{#if: |
}}
}}{{ #if: | |{{{18}}}{{#if: |
}}
}}{{ #if: | |{{{19}}}{{#if: |
}}
}}{{ #if: | |{{{20}}}{{#if: |
}}
}}{{ #if: | |{{{21}}}{{#if: |
}}
}}{{ #if: | |{{{22}}}{{#if: |
}}
}}{{ #if: | |{{{23}}}{{#if: |
}}
}}{{ #if: | |{{{24}}}{{#if: |
}}
}}{{ #if: | |{{{25}}}{{#if: |
}}
}}{{ #if: | |{{{26}}}{{#if: |
}}
}}{{ #if: | |{{{27}}}{{#if: |
}}
}}{{ #if: | |{{{28}}}{{#if: |
}}
}}{{ #if: | |{{{29}}}{{#if: |
}}
}}{{ #if: | |{{{30}}}{{#if: |
}}
}}{{ #if: | |{{{31}}}{{#if: |
}}
}}}}{{#switch: | pre =

| plain = | #default = }} }} at the top of the page with parameters as shown below.

Note
Some parameters of this template are inspired by being on the Templates Wiki. When this template is taken elsewhere, they can be removed.

Usage[edit source]

{{Infobox user
| theme             =
| title             =
| image             =
| caption           =
| gender            = 
| name              =
| date joined       =
| first template    =
| favorite template =
| user rights       =
| status            =
| birth name        =
| birthday          =
| western zodiac    =
| eastern zodiac    =
| element           =
| location          =
| occupation        =
| favorites         =
| pronunciation     =

| website     =
| bluesky     =
| bluesky_domain     =
| facebook    =
| flickr      =
| mastodon-domain    =
| mastodon    =
| reddit      =
| twitter     =

| user header =
| label 1     =
| user 1      =
| label 2     =
| user 2      =
| label 3     =
| user 3      =
| label 4     =
| user 4      =
| label 5     =
| user 5      =
| label 6     =
| user 6      =
| label 7     =
| user 7      =
| label 8     =
| user 8      =
| label 9     =
| user 9      =
| label 10    =
| user 10     =

| userboxes   =
}}

Preview[edit source]

Click here to refresh the preview

{{Infobox user
| title             = Your User Name
| image             = Example.jpg
| caption           = Placeholder image
| gender            = Female
| name              = Your Name
| date joined       = 28 September 2017
| first template    = [[Template:Infobox city|Infobox city]]
| favorite template = [[Template:Infobox user|]]
| user rights       = user
| status            = active
| birth name        = Your Real Name
| birthday          = 10 July
| western zodiac    = Cancer
| eastern zodiac    = Boar
| element           = Water
| location          = Out of nowhere
| occupation        = What you do off wiki
| favorites         = Cookies and cake
| pronunciation     = /yor yusr neim/
| website     = https://example.com
| bluesky     = yourhandle
| bluesky_domain     = your.instance
| facebook    = yourname
| flickr      = yourphotos
| mastodon-domain    = your.instance
| mastodon    = yourhandle
| reddit      = yourusername
| twitter     = yourhandle
| user header = Other things
| label 1     = I edit
| user 1      = barefoot
| label 2     = OS
| user 2      = Debian
| label 3     = DE
| user 3      = KDE
| label 4     = Browser
| user 4      = Firefox-esr
| label 5     = Text editor
| user 5      = Geany
| label 6     =
| user 6      =
| label 7     =
| user 7      =
| label 8     =
| user 8      =
| label 9     =
| user 9      =
| label 10    =
| user 10     =
| userboxes   = 
}}

Theme[edit source]

Using the theme parameter will set the theme name for your user infobox. So, if your theme is some cool theme, your user box theme will be .pi-theme-some-cool-theme. If your theme has special characters in it, you will need to see how the infobox parser interpreted your user name into a .pi-theme class by viewing the source code of the infobox after saving it the first time.

See the infobox CSS help for ways you can style your box in your personal css. However, only you will see your styles unless other users @import url("your styles") into their personal css file on the wiki.}}

   | Documentation does not exist. Create it at [{{fullurl:
             {{#if:|{{{1}}}|Template:Infobox user/doc}}
             |action=edit&preload=Template:Documentation/preload&summary=Create+documentation+for+%5B%5BTemplate%3AInfobox+user%5D%5D {{#if:|{{{1}}}|Template:Infobox user/doc}}] .
 }}

}} }}


}}

Installation Instructions
{{#ifexist: Template:Infobox user/install
    |: View installation Instructions.}}
{{#ifeq:{{{SPW}}}|is not relevant
   |
   | :Export this template, then import to install it.
Use edit summary: Copied from [[w:c:templates:Template:Infobox user]] to properly attribute this template's editors.}}{{#if:|:This template is compatible with vanilla MediaWiki.}}
{{#switch:
   | starter = This template is created by default after March 11, 2020. It should be in your wiki. 

| is not relevant

| is not relevant to =
File:Warning.svg
This template should not be copied, because it is probably not relevant to wikis other than Templates Wiki. You probably don't want to copy this template to your wiki. {{#if:|For a similar template intended to be copied, see [[Template:{{{SPW-link}}}]].}}{{#ifeq: BarkWiki
       | Templates Wiki
       | 
     }}
  }}

{{#if:

   |[[de:{{{de}}}]]
   |
  }}{{#if:
   |[[es:{{{es}}}]]
   |
  }}{{#if:
   |[[fr:{{{fr}}}]]
   |
  }}{{#if:
   |[[it:{{{it}}}]]
   |
  }}{{#if:
   |[[ja:{{{ja}}}]]
   |
  }}{{#if:
   |[[ko:{{{ko}}}]]
   |
  }}{{#if:
   |[[nl:{{{nl}}}]]
   |
  }}{{#if:
   |[[pt:{{{pt}}}]]
   |
  }}{{#if:
   |[[tr:{{{tr}}}]]
   |
  }}{{#if:
   |[[zh:{{{zh}}}]]
   |
   }}

{{#ifeq: {{{SPW}}}|is not relevant | |{{#if:

 | The above message will be enough for most cases; if there are additional instructions, you can see them below.
Template:Infobox user/install | :There is no additional installation instructions for this template. If there is any, you may create it at Template:Infobox user/install.

}} }}