From Fedora Project Wiki
(Allow user to specify pronouns and show them under Personal Information in infobox template) |
Rahilarious (talk | contribs) (Undo revision 689121 by Rahilarious (talk)) Tag: Undo |
||
(36 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| cellpadding="5" border="0" style="border-spacing: 0px; background-color: # | <includeonly>{| cellpadding="5" border="0" style="border-spacing: 0px; background-color: #337acc; 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: # | |||
{{#if:{{{image | ! colspan="2" style="color: white; background-color: #337acc; font-size: larger; font-weight: bold; text-align: center; border: 0;" | {{{REAL-NAME}}} {{#if:{{{pronouns}}} ({{{pronouns}}})}} | ||
{{#if:{{{image}}}| | |||
{{!}}- | {{!}}- | ||
{{!}} colspan="2" style="text-align: center; border: 0;" {{!}} [[ | {{!}} colspan="2" style="text-align: center; border: 0;" {{!}} [[File:{{{image}}}|alt={{{image-text|}}}]]{{#if: {{{image-text|}}}| | ||
<p class="t-image-caption"> | |||
{{{image-text}}} | |||
</p>}} | |||
}} | }} | ||
{{#if:{{{pronouns|}}}{{{location|}}}{{{birthday|}}}{{{homepage|}}}{{{email|}}}{{{gpg|}}}| | {{#if:{{{pronouns|}}}{{{location|}}}{{{birthday|}}}{{{homepage|}}}{{{email|}}}{{{gpg|}}}| | ||
{{!}}- | {{!}}- | ||
Line 32: | Line 38: | ||
{{#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;" {{!}} [https://keys. | {{!}} style="border: 0;" {{!}} '''GPG key:''' {{!}}{{!}} style="border: 0;" {{!}} [https://keys.openpgp.org/search?q={{{gpg}}} {{{gpg}}}] | ||
}} | }} | ||
{{#if:{{{identi.ca|}}}{{{jabber|}}}{{{irc-nick|}}}{{{irc-channels|}}}{{{callsign|}}}{{{twitter|}}}{{{facebook|}}}{{{ | {{#if:{{{identi.ca|}}}{{{jabber|}}}{{{irc-nick|}}}{{{irc-channels|}}}{{{callsign|}}}{{{twitter|}}}{{{facebook|}}}{{{linkedin|}}}{{{github|}}}{{{gitlab|}}}{{{callsign|}}}{{{telegram|}}}{{{fediverse|}}}| | ||
{{!}}- | {{!}}- | ||
! 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 | ||
Line 47: | Line 53: | ||
{{!}} style="border: 0;" {{!}} '''Jabber:''' {{!}}{{!}} style="border: 0;" {{!}} {{{jabber}}} | {{!}} style="border: 0;" {{!}} '''Jabber:''' {{!}}{{!}} style="border: 0;" {{!}} {{{jabber}}} | ||
}}<!-- | }}<!-- | ||
-->{{#if:{{{irc|}}}|​ | -->{{#if:{{{irc-nick|}}}|​ | ||
{{!}}- 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:// | {{!}} style="border: 0;" {{!}} '''IRC:''' {{!}}{{!}} style="border: 0;" {{!}} {{{irc-nick}}} on [https://libera.chat/ irc.libera.chat] | ||
}}<!-- | }}<!-- | ||
-->{{#if:{{{irc|}}}|​ | -->{{#if:{{{irc-channels|}}}|​ | ||
{{!}}- 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}}} | ||
Line 70: | Line 76: | ||
{{!}}- class{{{facebook{{!}}<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;" | {{!}}- 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}}}] | ||
}}<!-- | }}<!-- | ||
-->{{#if:{{{linkedin|}}}|​ | -->{{#if:{{{linkedin|}}}|​ | ||
{{!}}- class{{{linkedin{{!}}<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;" | {{!}}- 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}}}] | {{!}} style="border: 0;" {{!}}'''LinkedIn:''' {{!}}{{!}} style="border: 0;" {{!}} [https://www.linkedin.com/in/{{{linkedin}}} {{{linkedin}}}] | ||
}}<!-- | |||
-->{{#if:{{{fediverse|}}}|​ | |||
{{!}}- class{{{linkedin{{!}}<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;" | |||
{{!}} style="border: 0;" {{!}}'''Fediverse:''' {{!}}{{!}} style="border: 0;" {{!}} [https://{{{fediverse-url}}} {{{fediverse}}}] | |||
}}<!-- | }}<!-- | ||
-->{{#if:{{{github|}}}|​ | -->{{#if:{{{github|}}}|​ | ||
Line 85: | Line 91: | ||
-->{{#if:{{{gitlab|}}}|​ | -->{{#if:{{{gitlab|}}}|​ | ||
{{!}}- class{{{gitlab{{!}}<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;" {{!}}''' | {{!}} style="border: 0;" {{!}}'''GitLab:''' {{!}}{{!}} style="border: 0;" {{!}} [https://gitlab.com/{{{gitlab}}} {{{gitlab}}}] | ||
}} | }} | ||
{{#if:{{{fas-name|g}}}|​ | {{#if:{{{fas-name|g}}}|​ |
Latest revision as of 02:33, 14 September 2023
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 | |
Pronouns: | they/them |
Location: | San Francisco, California |
Birthday: | Private |
Homepage: | https://fedoraproject.org/ |
E-mail: | rhfedora@example.com |
GPG key: | DEADBEEF |
Contact information | |
Jabber: | rhfedora@example.com |
IRC: | rhfedora on irc.libera.chat |
#fedora, #fedora-devel | |
Ham Radio: | N2ASD |
Twitter: | fedora |
Telegram: | rhfedora |
Facebook: | fedora |
LinkedIn: | rhfedora |
Fediverse: | @fedora@fosstodon.org |
GitHub: | rhfedora |
GitLab: | rhfedora
|
Fedora-specific information | |
FAS name: | rhfedora |
Fedora e-mail: | rhfedora@fedoraproject.org |
Fedora homepage: | rhfedora.fedorapeople.org |