From Fedora Project Wiki
(TEST: Add an if-block to the pronouns inclusion in userbox title (i.e. if a user does not have pronouns set, do not show them)) |
(Fix: IRC didn't show up) |
||
Line 47: | Line 47: | ||
{{!}} 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://www.freenode.net irc.freenode.net] | {{!}} style="border: 0;" {{!}} '''IRC:''' {{!}}{{!}} style="border: 0;" {{!}} {{{irc-nick}}} on [https://www.freenode.net irc.freenode.net] | ||
}}<!-- | }}<!-- | ||
-->{{#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}}} |
Revision as of 04:45, 8 August 2021
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 (they/them) | |
---|---|
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.freenode.net |
#fedora, #fedora-devel | |
Ham Radio: | N2ASD |
Twitter: | fedora |
Telegram: | rhfedora |
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 |