From Fedora Project Wiki

(undo image formatting (fix JSON encoding hopefully))
(Use Fedora GPG key server in Infobox user template (pgp.surfnet.nl is offline at time of edit))
Line 28: Line 28:
 
{{#if:{{{gpg|}}}|
 
{{#if:{{{gpg|}}}|
 
{{!}}- class{{{gpg{{!}}<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;"
 
{{!}}- class{{{gpg{{!}}<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;"
{{!}} style="border: 0;" {{!}} '''GPG key:''' {{!}}{{!}} style="border: 0;" {{!}} [http://pgp.surfnet.nl:11371/pks/lookup?op=index&search=0x{{{gpg}}} {{{gpg}}}]
+
{{!}} style="border: 0;" {{!}} '''GPG key:''' {{!}}{{!}} style="border: 0;" {{!}} [https://keys.fedoraproject.org/pks/lookup?search=0x{{{gpg}}} {{{gpg}}}]
 
}}
 
}}
 
{{#if:{{{identi.ca|}}}{{{jabber|}}}{{{irc-nick|}}}{{{irc-channels|}}}{{{callsign|}}}{{{twitter|}}}{{{facebook|}}}{{{googleplus|}}}{{{linkedin|}}}{{{github|}}}{{{gitlab|}}}{{{callsign|}}}|
 
{{#if:{{{identi.ca|}}}{{{jabber|}}}{{{irc-nick|}}}{{{irc-channels|}}}{{{callsign|}}}{{{twitter|}}}{{{facebook|}}}{{{googleplus|}}}{{{linkedin|}}}{{{github|}}}{{{gitlab|}}}{{{callsign|}}}|

Revision as of 21:27, 2 May 2019

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

Error creating thumbnail: File missing
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)
Error creating thumbnail: File missing
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
|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
|googleplus   = +Fedora
|linkedin     = rhfedora
|github       = rhfedora
|gitlab       = rhfedora
|fas-name     = rhfedora
|telegram     = rhfedora
}}

Output:

R. H. Fedora
R. H. Fedora
Personal information
Location: San Francisco, California
Birthday: Private
Homepage: https://fedoraproject.org/
E-mail: rhfedora@example.com
GPG key: DEADBEEF
Contact information
Jabber: rhfedora@example.com​
Ham Radio: N2ASD​
Twitter: fedora
Facebook: fedora
Google+: +Fedora
LinkedIn: rhfedora
GitHub: rhfedora
Gitlab: rhfedora

Fedora-specific information
FAS name: rhfedora
Fedora e-mail: rhfedora@fedoraproject.org
Fedora homepage: rhfedora.fedorapeople.org
Fedora Badges earned (0)
 


More Examples

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