From Fedora Project Wiki

(Update IRC network from Freenode to LiberaChat)
(Fix images so they render within the template; attempt to add an image text/caption feature, but it does not quite work as expected)
Line 5: Line 5:
{{#if:{{{image}}}|
{{#if:{{{image}}}|
{{!}}-
{{!}}-
{{!}} colspan="2" style="text-align: center; border: 0;" {{!}} {{{image}}} {{{REAL-NAME}}}  
{{!}} colspan="2" style="text-align: center; border: 0;" {{!}} [[File:{{{image}}}|alt={{{image-text|}}}]]{{#if: {{{image-text|}}}|
<p class="t-image-caption">
{{{image-text}}}
</p>}}
}}
}}



Revision as of 17:39, 7 August 2022

Template documentation [edit]

This documentation is transcluded from Template:Infobox user/doc. It will not be transcluded on pages that use this template.

Template:Infobox user is an infobox that provides basic information about a user. This template is typically used in user pages.

For a minimal use of this template, insert {{infobox user|REAL-NAME=R. H. Fedora}}. Many other fields may be provided, so it may be easier to copy and paste one of the examples below.

Examples

Syntax Warning
"Failed to Decode JSON" messages are mainly due to a syntax mismatch. Ensure "fas-name" is lowercase. (You can also try wrapping the rest of your profile with noinclude statements)
Note
This example will still show the JSON error message as there is no "rhfedora" user.

Typical user information

This example shows a sample user's infobox.

{{Infobox user
|REAL-NAME    = R. H. Fedora
|image        = Persona-telecommuter-transparent.png
|image-text   = A transparent version of File:Persona-telecommuter.png, slightly modified to make the background transparent.
|pronouns     = they/them
|location     = San Francisco, California
|birthday     = Private
|homepage     = https://fedoraproject.org/
|email        = rhfedora@example.com
|gpg          = DEADBEEF
|identi.ca    = rhfedora
|jabber       = rhfedora@example.com
|irc-nick     = rhfedora
|irc-channels = #fedora, #fedora-devel
|callsign     = N2ASD
|twitter      = fedora
|facebook     = fedora
|linkedin     = rhfedora
|fediverse    = @fedora@fosstodon.org
|fediverse-url = fosstodon.org/@fedora
|github       = rhfedora
|gitlab       = rhfedora
|fas-name     = rhfedora
|telegram     = rhfedora
}}

Output:

R. H. Fedora
Personal information
Pronouns: they/them
Location: San Francisco, California
Birthday: Private
Homepage: https://fedoraproject.org/
E-mail: rhfedora@example.com
GPG key: DEADBEEF
Contact information
Jabber: rhfedora@example.com​
IRC: rhfedora on irc.libera.chat
#fedora, #fedora-devel​
Ham Radio: N2ASD​
Twitter: fedora
Telegram: rhfedora
Facebook: fedora
LinkedIn: rhfedora
GitHub: rhfedora
GitLab: rhfedora

Fedora-specific information
FAS name: rhfedora
Fedora e-mail: rhfedora@fedoraproject.org
Fedora homepage: rhfedora.fedorapeople.org
 


More Examples

Many examples of this template can be found at Special:WhatLinksHere.