Difference between revisions of "Template:Infobox table"

From HPC Wiki
Jump to navigation Jump to search
(Replaced content with "{{#invoke:Infobox|infobox}}<includeonly>{{template other|{{#ifeq:{{PAGENAME}}|Infobox||{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|Category:Infobox templates|{{remove...")
Tag: Replaced
Line 1: Line 1:
{{#invoke:Infobox|infobox}}<includeonly>{{template other|{{#ifeq:{{PAGENAME}}|Infobox||{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|[[Category:Infobox templates|{{remove first word|{{SUBPAGENAME}}}}]]}}}}|}}
+
<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><noinclude>
+
! colspan="2" style="color: white; background-color: #337acc; font-size: larger; font-weight: bold; text-align: center; border: 0;" | {{{REAL-NAME}}}
 +
{{#if:{{{image|}}}|
 +
{{!}}-
 +
{{!}} 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
 +
{{!}}-
 +
}}
 +
{{#if:{{{location|}}}|
 +
{{!}}- class{{{location{{!}}g}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;"
 +
{{!}} style="border: 0;" {{!}} '''Location:''' {{!}}{{!}} style="border: 0;" {{!}} {{{location}}}
 +
}}
 +
{{#if:{{{birthday|}}}|
 +
{{!}}- class{{{birthday{{!}}<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;"
 +
{{!}} style="border: 0;" {{!}} '''Birthday:''' {{!}}{{!}} style="border: 0;" {{!}} {{{birthday}}}
 +
}}
 +
{{#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;" {{!}} [https://keys.gnupg.net/pks/lookup?search=0x{{{gpg}}} {{{gpg}}}]
 +
}}
 +
{{#if:{{{identi.ca|}}}{{{jabber|}}}{{{irc-nick|}}}{{{irc-channels|}}}{{{callsign|}}}{{{twitter|}}}{{{facebook|}}}{{{googleplus|}}}{{{linkedin|}}}{{{github|}}}{{{gitlab|}}}{{{callsign|}}}{{{telegram|}}}|
 +
{{!}}-
 +
! 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:{{{telegram|}}}|&#8203;
 +
{{!}}- class{{{telegram{{!}}<noinclude>x</noinclude>}}}="hiddenStructure" style="background-color: #fbfbff; vertical-align: top; border: 0;"
 +
{{!}} style="border: 0;" {{!}}'''Telegram:''' {{!}}{{!}} style="border: 0;" {{!}} [https://tttttt.me/{{{telegram}}} {{{telegram}}}]
 +
}}<!--
 +
-->{{#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}}}]
 +
}}
 +
{{#if:{{{fas-name|g}}}|&#8203;
 +
{{!}}-
 +
! 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="border: 0;" {{!}} '''[[Account System|FAS]] name:''' {{!}}{{!}} style="border: 0;" {{!}} [[fas:{{{fas-name}}}|{{{fas-name}}}]]
 +
{{!}}- style="background-color: #fbfbff; vertical-align: top; border: 0;"
 +
{{!}} style="border: 0;" {{!}} '''Fedora e-mail:''' {{!}}{{!}} style="border: 0;" {{!}} {{{fas-name}}}@fedoraproject.org
 +
{{!}}- 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>

Revision as of 13:23, 12 October 2020