From Fedora Project Wiki

(Remove unnecessary social profiles)
(Try hacks to fix the userboxes. Someone who is better than me at ParserFunctions and getting spacing right should really redo this, or we should enable Lua and use the built-in infobox stuff. Right now, this is really bad and probably broken. But it's...)
 
(3 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
{{!}}-
 
{{!}}-
 
{{!}} 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}}}]]
 +
}}
 +
{{#if:{{{location|}}}{{{birthday|}}}{{{homepage|}}}{{{email|}}}{{{gpg|}}}|
 +
{{!}}-
 +
! colspan="2" style="color: white; background-color: #337acc; 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;"
+
{{#if:{{{location|}}}|
| style="border: 0;" | '''Location:''' || style="border: 0;" | {{{location}}}
+
{{!}}- class{{{location{{!}}g}}}="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;" {{!}} '''Location:''' {{!}}{{!}} style="border: 0;" {{!}} {{{location}}}
| style="border: 0;" | '''Birthday:''' || style="border: 0;" | {{{birthday}}}
+
}}
|- class{{{homepage|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;"
+
{{#if:{{{birthday|}}}|
| style="border: 0;" | '''Homepage:''' || style="border: 0;" | {{{homepage}}}
+
{{!}}- class{{{birthday{{!}}<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;" {{!}} '''Birthday:''' {{!}}{{!}} style="border: 0;" {{!}} {{{birthday}}}
| style="border: 0;" | '''E-mail:''' || style="border: 0;" | {{{email}}}
+
}}
|- class{{{gpg|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;"
+
{{#if:{{{homepage|}}}|
| style="border: 0;" | '''GPG key:''' || style="border: 0;" | [http://pgp.surfnet.nl:11371/pks/lookup?op=index&search=0x{{{gpg}}} {{{gpg}}}]
+
{{!}}- class{{{homepage{{!}}<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;"
 +
{{!}} style="border: 0;" {{!}} '''Homepage:''' {{!}}{{!}} style="border: 0;" {{!}} {{{homepage}}}
 +
}}
 +
{{#if:{{{email|}}}|
 +
{{!}}- class{{{email{{!}}<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;"
 +
{{!}} style="border: 0;" {{!}} '''E-mail:''' {{!}}{{!}} style="border: 0;" {{!}} {{{email}}}
 +
}}
 +
{{#if:{{{gpg|}}}|
 +
{{!}}- 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}}}]
 +
}}
 
{{#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|}}}|
 
{{!}}-
 
{{!}}-
 
! colspan="2" style="color: white; background-color: #337acc; font-weight: bold; text-align: center; border: 0;" {{!}} Contact information
 
! colspan="2" style="color: white; background-color: #337acc; font-weight: bold; text-align: center; border: 0;" {{!}} Contact information
 +
{{!}}-
 +
}}<!--
 +
-->{{#if:{{{identi.ca|}}}|&#8203;
 +
{{!}}- 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}}}]
 +
}}<!--
 +
-->{{#if:{{{jabber|}}}|&#8203;
 +
{{!}}- class{{{jabber{{!}}<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;"
 +
{{!}} style="border: 0;" {{!}} '''Jabber:''' {{!}}{{!}} style="border: 0;" {{!}} {{{jabber}}}
 +
}}<!--
 +
-->{{#if:{{{irc|}}}|&#8203;
 +
{{!}}- 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]
 +
}}<!--
 +
-->{{#if:{{{irc|}}}|&#8203;
 +
{{!}}- class{{{irc-channels{{!}}<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;"
 +
{{!}} style="border: 0;" {{!}}  {{!}}{{!}} style="border: 0;" {{!}} {{{irc-channels}}}
 +
}}<!--
 +
-->{{#if:{{{callsign|}}}|&#8203;
 +
{{!}}- class{{{callsign{{!}}<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;"
 +
{{!}} style="border: 0;" {{!}}'''Ham Radio:''' {{!}}{{!}} style="border: 0;" {{!}} {{{callsign}}}
 +
}}<!--
 +
-->{{#if:{{{twitter|}}}|&#8203;
 +
{{!}}- 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}}}]
 +
}}<!--
 +
-->{{#if:{{{facebook|}}}|&#8203;
 +
{{!}}- 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}}}]
 +
}}<!--
 +
-->{{#if:{{{googleplus|}}}|&#8203;
 +
{{!}}- 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}}}]
 +
}}<!--
 +
-->{{#if:{{{linkedin|}}}|&#8203;
 +
{{!}}- 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}}}]
 +
}}<!--
 +
-->{{#if:{{{github|}}}|&#8203;
 +
{{!}}- 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}}}]
 +
}}<!--
 +
-->{{#if:{{{gitlab|}}}|&#8203;
 +
{{!}}- 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}}}]
 
}}
 
}}
|- class{{{irc-nick|<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;"
+
{{#if:{{{fas-name|g}}}|&#8203;
| 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;"
 
| style="border: 0;" |  || style="border: 0;" | {{{irc-channels}}}
 
|- 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{{{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}}}]
 
|- 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}}}]
 
{{#if:{{{fas-name|g}}}|
 
 
{{!}}-
 
{{!}}-
 
! 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: 0;" {{!}} Fedora-specific information
 +
{{!}}-
 
{{!}}- style="background-color: #fbfbff; vertical-align: top; border: 0;"
 
{{!}}- style="background-color: #fbfbff; vertical-align: top; border: 0;"
 
{{!}} style="border: 0;" {{!}} '''[[Account System|FAS]] name:''' {{!}}{{!}} style="border: 0;" {{!}} [[fas:{{{fas-name}}}|{{{fas-name}}}]]
 
{{!}} style="border: 0;" {{!}} '''[[Account System|FAS]] name:''' {{!}}{{!}} style="border: 0;" {{!}} [[fas:{{{fas-name}}}|{{{fas-name}}}]]

Latest revision as of 21:01, 23 April 2018

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

Important.png
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.png
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
}}

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 (Failed to decode JSON.)
Failed to decode JSON.
 


More Examples

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