From Fedora Project Wiki
No edit summary |
(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...) |
||
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 | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
|- class{{{location | {{#if:{{{location|}}}| | ||
{{!}}- class{{{location{{!}}g}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;" | |||
|- class{{{birthday | {{!}} style="border: 0;" {{!}} '''Location:''' {{!}}{{!}} style="border: 0;" {{!}} {{{location}}} | ||
}} | |||
|- class{{{homepage | {{#if:{{{birthday|}}}| | ||
{{!}}- class{{{birthday{{!}}<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;" | |||
|- class{{{email | {{!}} style="border: 0;" {{!}} '''Birthday:''' {{!}}{{!}} style="border: 0;" {{!}} {{{birthday}}} | ||
}} | |||
|- class{{{gpg | {{#if:{{{homepage|}}}| | ||
{{!}}- 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|}}}|​ | |||
{{!}}- 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|}}}|​ | |||
{{!}}- 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|}}}|​ | |||
{{!}}- 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|}}}|​ | |||
{{!}}- 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|}}}|​ | |||
{{!}}- 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|}}}|​ | |||
{{!}}- 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|}}}|​ | |||
{{!}}- 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|}}}|​ | |||
{{!}}- 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|}}}|​ | |||
{{!}}- 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|}}}|​ | |||
{{!}}- 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|}}}|​ | |||
{{!}}- 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}}}|​ | |||
{{#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}}}]] |
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
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 | |
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 |
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) | |