From Fedora Project Wiki

(Revert)
(Deploy tested and tried version from User:Vedranm/Infobox)
Line 1: Line 1:
<includeonly>{| cellpadding="5" border="0" style="border-spacing:0px; background-color:#fbfbff; font-size:95%; margin:0 0 0.5em 1em; width:25em; border: 0; {{#ifeq:{{NAMESPACE}}|Template||float:right}}"
<includeonly>{| cellpadding="5" border="0" style="border-spacing: 0px; background-color: #fbfbff; font-size: 95%; margin: 0 0 0.5em 1em; width: 25em; border: 0; {{#ifeq:{{NAMESPACE}}|Template||float: right;}}"
! colspan="2" style="color: white; background-color: #3074c2; font-weight: bold; text-align:center; font-size: larger; -moz-border-radius-topright: 8px; -moz-border-radius-topleft: 8px; border: 0;" |       {{{REAL-NAME}}}
! colspan="2" style="color: white; background-color: #337acc; font-size: larger; font-weight: bold; text-align: center; border: 0;" | {{{REAL-NAME}}}
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
{{!}}-
{{!}}-
{{!}} colspan="2" style="text-align: center; border: 0;" {{!}} [[Image:{{{image}}}{{!}}none{{!}}{{{REAL-NAME}}}]]
{{!}} colspan="2" style="text-align: center; border: 0;" {{!}} [[Image:{{{image}}}{{!}}none{{!}}{{{REAL-NAME}}}]]
{{!}}-
{{!}}-
! colspan="2" style="color: white; background-color: #3074c2; font-weight: bold; text-align:center; border: 0; " {{!}} Personal information
! colspan="2" style="color: white; background-color: #337acc; font-weight: bold; text-align:center; border: 0;" {{!}} Personal information
}}
}}
|- class{{{location|g}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0"
|- class{{{location|g}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;"
| style="border: 0;" | '''Location:''' || style="border: 0;"| {{{location}}}
| style="border: 0;" | '''Location:''' || style="border: 0;" | {{{location}}}
|- class{{{birthday|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0"
|- class{{{birthday|<noinclude>x</noinclude>}}}="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}}}
|- class{{{homepage|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0"
|- class{{{homepage|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;"
| style="border: 0;" | '''Homepage:''' || style="border: 0;" | [{{{homepage}}} {{{homepage}}}]
| style="border: 0;" | '''Homepage:''' || style="border: 0;" | {{{homepage}}}
|- class{{{email|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0"
|- class{{{email|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;"
| style="border: 0;" | '''Email:''' || style="border: 0;" | {{{email}}}
| style="border: 0;" | '''E-mail:''' || style="border: 0;" | {{{email}}}
|- 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;" | [http://pgp.surfnet.nl:11371/pks/lookup?op=index&search=0x{{{gpg}}} {{{gpg}}}]
{{#if:{{{fas-name|g}}}|
{{#if:{{{identi.ca|}}}{{{jabber|}}}{{{irc-nick|}}}{{{irc-channels|}}}{{{callsign|}}}{{{twitter|}}}{{{facebook|}}}{{{googleplus|}}}{{{linkedin|}}}{{{github|}}}{{{gitlab|}}}{{{callsign|}}}|
{{!}}-
!  colspan="2" style="color: white; background-color: #3074c2; font-weight: bold; text-align:center; border: 0; " {{!}} Fedora-specific Information
{{!}}- style="background-color: #fbfbff; vertical-align: top; border: 0"
{{!}} style="border: 0;" {{!}} '''fas-name:''' {{!}}{{!}} style="border: 0;" {{!}} [[fas:{{{fas-name}}}|{{{fas-name}}}]]
{{!}}- style="background-color: #fbfbff; vertical-align: top; border: 0"
{{!}} style="border: 0;" {{!}} '''Fedora Email:''' {{!}}{{!}} style="border: 0" {{!}} {{{fas-name}}}@fedoraproject.org
{{!}}- style="background-color: #fbfbff; vertical-align: top; border: 0"
{{!}}-
{{!}}-
! colspan="2" style="color: white; background-color: #337acc; font-weight: bold; text-align: center; border: 0;" {{!}} Contact information
}}
}}
{{#if:{{{twitter|}}}{{{identi.ca|}}}{{{jabber|}}}{{{irc-nick|}}}{{{irc-channels|}}}{{{facebook|}}}{{{github|}}}{{{gitlab|}}}{{{callsign|}}}|
|- class{{{identi.ca|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;"
{{!}}-
!  colspan="2" style="color: white; background-color: #3074c2; font-weight: bold; text-align:center; border: 0; " {{!}} Contact information}}
|- class{{{twitter|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0"
| style="border: 0;" |'''Twitter:''' || style="border: 0;" | [https://twitter.com/{{{twitter}}} {{{twitter}}}]
|- class{{{identi.ca|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0"
| style="border: 0;" |'''Identi.ca:''' || style="border: 0;" | [http://identi.ca/{{{identi.ca}}} {{{identi.ca}}}]
| style="border: 0;" |'''Identi.ca:''' || style="border: 0;" | [http://identi.ca/{{{identi.ca}}} {{{identi.ca}}}]
|- class{{{jabber|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0"
|- class{{{jabber|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;"
| style="border: 0;" | '''Jabber:''' || style="border: 0;" | {{{jabber}}}
| style="border: 0;" | '''Jabber:''' || style="border: 0;" | {{{jabber}}}
|- class{{{irc-nick|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0"
|- class{{{irc-nick|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;"
| style="border: 0;" | '''IRC:''' || style="border: 0;" | {{{irc-nick}}} on [https://www.freenode.net irc.freenode.net]  
| style="border: 0;" | '''IRC:''' || style="border: 0;" | {{{irc-nick}}} on [https://www.freenode.net irc.freenode.net]  
|- class{{{irc-channels|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0"
|- class{{{irc-channels|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;"
| style="border: 0;" |  || style="border: 0;" | {{{irc-channels}}}
| style="border: 0;" |  || style="border: 0;" | {{{irc-channels}}}
|- class{{{facebook|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0"
|- class{{{callsign|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;"
| style="border: 0;" |'''Ham Radio:''' || style="border: 0;" | {{{callsign}}}
|- class{{{twitter|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;"
| style="border: 0;" |'''Twitter:''' || style="border: 0;" | [https://twitter.com/{{{twitter}}} {{{twitter}}}]
|- class{{{facebook|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;"
| style="border: 0;" |'''Facebook:''' || style="border: 0;" | [https://facebook.com/{{{facebook}}} {{{facebook}}}]
| style="border: 0;" |'''Facebook:''' || style="border: 0;" | [https://facebook.com/{{{facebook}}} {{{facebook}}}]
|- class{{{github|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0"
|- class{{{googleplus|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;"
| style="border: 0;" |'''Google+:''' || style="border: 0;" | [https://plus.google.com/{{{googleplus}}} {{{googleplus}}}]
|- class{{{linkedin|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;"
| style="border: 0;" |'''LinkedIn:''' || style="border: 0;" | [https://www.linkedin.com/in/{{{linkedin}}} {{{linkedin}}}]
|- class{{{github|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;"
| style="border: 0;" |'''GitHub:''' || style="border: 0;" | [https://github.com/{{{github}}} {{{github}}}]
| style="border: 0;" |'''GitHub:''' || style="border: 0;" | [https://github.com/{{{github}}} {{{github}}}]
|- class{{{linkedin|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0"
|- class{{{gitlab|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;"
| style="border: 0;" |'''LinkedIn:''' || style="border: 0;" | [https://www.linkedin.com/in/{{{linkedin}}} {{{linkedin}}}]
|- class{{{googleplus|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0"
| style="border: 0;" |'''Google+:''' || style="border: 0;" | [https://plus.google.com/{{{googleplus}}} {{{googleplus}}}]
|- class{{{gitlab|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0"
| style="border: 0;" |'''Gitlab:''' || style="border: 0;" | [https://gitlab.com/{{{gitlab}}} {{{gitlab}}}]
| style="border: 0;" |'''Gitlab:''' || style="border: 0;" | [https://gitlab.com/{{{gitlab}}} {{{gitlab}}}]
|- class{{{callsign|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0"
{{#if:{{{fas-name|g}}}|
| style="border: 0;" |'''Ham Radio:''' || style="border: 0;" | {{{callsign}}}
{{!}}-
|- background-color="#fbfbff" valign="top" border-left="0px" border-right="0px" border-bottom="0px" border-top="0px"
! colspan="2" style="color: white; background-color: #337acc; font-weight: bold; text-align: center; border: 0;" {{!}} Fedora-specific information
! colspan="2" style="color: white; background-color: #337acc; font-weight: bold; text-align:center; border-left: 0px; border-right: 0px; border-bottom: 0px; border-top: 0px;" | Badges ({{ #fedorabadgescount: {{{fas-name}}} }})
{{!}}- style="background-color: #fbfbff; vertical-align: top; border: 0;"
|-
{{!}} style="border: 0;" {{!}} '''[[Account System|FAS]] name:''' {{!}}{{!}} style="border: 0;" {{!}} [[fas:{{{fas-name}}}|{{{fas-name}}}]]
| colspan="2" style="text-align:center;border:none;" | {{ #fedorabadges: {{{fas-name}}} }}
{{!}}- style="background-color: #fbfbff; vertical-align: top; border: 0;"
|-
{{!}} style="border: 0;" {{!}} '''Fedora e-mail:''' {{!}}{{!}} style="border: 0;" {{!}} {{{fas-name}}}@fedoraproject.org
! colspan="2" style="color: #3074c2; background-color: #3074c2; font-weight: bold; text-align:center; -moz-border-radius-bottomright: 8px; -moz-border-radius-bottomleft: 8px; border: 0;" | &nbsp;
{{!}}- style="background-color: #fbfbff; vertical-align: top; border: 0;"
{{!}} style="border: 0;" {{!}} '''Fedora homepage:''' {{!}}{{!}} style="border: 0;" {{!}} [https://{{{fas-name}}}.fedorapeople.org/ {{{fas-name}}}.fedorapeople.org]
{{!}}-
! colspan="2" style="color: white; background-color: #337acc; font-weight: bold; text-align: center; border: 0;" {{!}} Fedora Badges earned ({{ #fedorabadgescount: {{{fas-name}}} }})
{{!}}-
{{!}} colspan="2" style="text-align: center; border: none;" {{!}} {{ #fedorabadges: {{{fas-name}}} }}
{{!}}-
}}
! colspan="2" style="color: #337acc; background-color: #337acc; font-weight: bold; text-align: center; border: 0;" | &nbsp;
|}</includeonly>
|}</includeonly>
<noinclude>
<noinclude>

Revision as of 13:02, 7 August 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
Birthday: Private
Homepage: https://fedoraproject.org/
E-mail: rhfedora@example.com
GPG key: DEADBEEF
Contact information
Identi.ca: {{{identi.ca}}}
Jabber: rhfedora@example.com
IRC: rhfedora on irc.freenode.net
#fedora, #fedora-devel
Ham Radio: N2ASD
Twitter: fedora
Facebook: fedora
Google+: {{{googleplus}}}
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.