Template:Person: Difference between revisions

Template page
m (kopfzeile?)
m (whitespace changes)
 
(30 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the 'Person' template.
This is the 'Person' template for individuals.
It should be called in the following format:
It should be called in the following format (social media usernames with no @ sign please):
<pre>
<pre>
{{Person
{{ Person
|nickname=
    | nickname       = nick
|email=
    | image          = nick.jpg
|jabber=
    | email           = nick@example.com
|blog=
    | matrix_nick    = matrixnick
    | matrix_server  = matrix.example.com
    | telegram        = nick
    | mastodon_nick  = mstdnnick
    | mastodon_server = mstdn.example.com
    | twitter        = nick
    | github          = nick
    | jabber         = nick@example.com
    | blog           = nick.example.com
    | has_memberbox  = false
}}
}}
</pre>
</pre>
Edit the page to see the template text.
</noinclude><includeonly><!--
</noinclude>


<includeonly>
-->{{ infobox start
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #eee; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
    | headercolor = #ffffcc
{{#if: {{{nickname| }}}|{{!}} style="text-align: center; background-color:#ffffcc;" colspan="2" {{!}}<big>[[Nickname::{{{nickname}}}]]</big>}}
    | name = [[Nickname::{{{nickname|{{PAGENAME}}}}}]]
|-
    | image = {{{image|}}}
{{#if: {{{email| }}}|{{!}}'''E-Mail Address'''}}
    | description = {{{description|}}}
{{#if: {{{email| }}}|{{!}}[[Email::{{{email|}}}]]}}
}}<!--
|-
{{#if: {{{jabber| }}}|{{!}}'''Jabber'''}}
{{#if: {{{jabber| }}}|{{!}}[[Jabber::{{{jabber|}}}]]}}
|-
{{#if: {{{blog| }}}|{{!}}'''Blog'''}}
{{#if: {{{blog| }}}|{{!}}[[Blog::{{{blog|}}}]]}}
|}
[[pagename::{{PAGENAME}}| ]]


[[Category:Person]]
-->{{ifnotempty|{{{email|}}}          | {{infobox row | name=E-Mail      | value=[[Email::{{{email|}}}]]           }}}}<!--
</includeonly>
-->{{ifnotempty|{{{matrix_nick|}}}    | {{infobox row | name=Matrix      | value={{SocialMediaLink|matrix  |{{{matrix_nick  |}}}|{{{matrix_server|matrix.org}}}}}    }}}}<!--
-->{{ifnotempty|{{{telegram|}}}      | {{infobox row | name=Telegram    | value={{SocialMediaLink|telegram|{{{telegram    |}}}}}                                    }}}}<!--
-->{{ifnotempty|{{{mastodon_nick|}}}  | {{infobox row | name=Mastodon    | value={{SocialMediaLink|mastodon|{{{mastodon_nick|}}}|{{{mastodon_server|chaos.social}}}}} }}}}<!--
-->{{ifnotempty|{{{twitter|}}}        | {{infobox row | name=Twitter      | value={{SocialMediaLink|twitter |{{{twitter      |}}}}}                                    }}}}<!--
-->{{ifnotempty|{{{github|}}}        | {{infobox row | name=GitHub      | value={{SocialMediaLink|github  |{{{github      |}}}}}                                    }}}}<!--
-->{{ifnotempty|{{{jabber|}}}        | {{infobox row | name=Jabber      | value=[[Jabber::{{{jabber|}}}]]          }}}}<!--
-->{{ifnotempty|{{{blog|}}}          | {{infobox row | name=Blog        | value=[[Blog::{{{blog|}}}]]              }}}}<!--
-->
|}<!--
 
-->{{#set:Has memberbox={{{has_memberbox|false}}}}}<!--
--></includeonly>

Latest revision as of 21:53, 18 February 2024

This is the 'Person' template for individuals. It should be called in the following format (social media usernames with no @ sign please):

{{ Person
    | nickname        = nick
    | image           = nick.jpg
    | email           = nick@example.com
    | matrix_nick     = matrixnick
    | matrix_server   = matrix.example.com
    | telegram        = nick
    | mastodon_nick   = mstdnnick
    | mastodon_server = mstdn.example.com
    | twitter         = nick
    | github          = nick
    | jabber          = nick@example.com
    | blog            = nick.example.com
    | has_memberbox   = false
}}