From Fedora Project Wiki

(added google plus)
(allow http:// or https:// prefix to be specified for homepage. This allows https to be used while keeping backwards compat.)
Line 10: Line 10:
| style="border: 0;" |'''Location:''' || style="border: 0;"| {{{location}}}
| style="border: 0;" |'''Location:''' || style="border: 0;"| {{{location}}}
|- class{{{homepage|g}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0"
|- class{{{homepage|g}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0"
| style="border: 0;" |'''Homepage:''' || style="border: 0;" | [http://{{{homepage}}} {{{homepage}}}]
| style="border: 0;" |'''Homepage:''' || style="border: 0;" | [{{#invoke:String|match|{{{homepage}}}|http||||http://}}{{{homepage}}} {{{homepage}}}]
|- class{{{birthday|g}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0"
|- class{{{birthday|g}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0"
| style="border: 0;" | '''Birthday:''' || style="border: 0;" | {{{birthday}}}
| style="border: 0;" | '''Birthday:''' || style="border: 0;" | {{{birthday}}}

Revision as of 13:24, 23 March 2017

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
R. H. Fedora
R. H. Fedora
Personal information
Location: San Francisco, California
Homepage: [{{#invoke:String|match|https://fedoraproject.org/%7Chttp http://}}https://fedoraproject.org/ https://fedoraproject.org/]
Birthday: Private
GPG-Key: DEADBEEF
Fedora-specific Information
fas-name: rhfedora
Fedora Email: rhfedora@fedoraproject.org
Contact information
Twitter: fedora
Identi.ca: {{{identi.ca}}}
Jabber: rhfedora@example.com
IRC: rhfedora on irc.freenode.net
#fedora, #fedora-devel
Facebook: fedora
GitHub: rhfedora
LinkedIn: rhfedora
Google+: {{{googleplus}}}
Gitlab: rhfedora
Ham Radio: N2ASD
Badges (0)
 


More Examples

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