Template:Infobox user/doc: Difference between revisions
Appearance
templates>LastCele Add more parameters for links to profiles. |
m 1 revision imported |
(No difference)
| |
Latest revision as of 22:27, 24 June 2026
- 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]
{{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.