Template:Person: Difference between revisions

Template page
m (memberbox-default)
m (whitespace changes)
 
(24 intermediate revisions by 3 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
|has_memberbox =
    | 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>
 
{| 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;"
-->{{ infobox start
! style="text-align: center; background-color:#ffffcc;" colspan="2" |<big>[[Nickname::{{{nickname|{{PAGENAME}}}}}]]</big>
    | headercolor = #ffffcc
|-
    | name = [[Nickname::{{{nickname|{{PAGENAME}}}}}]]
{{#if: {{{email| }}}|{{!}}'''E-Mail Address'''}}
    | image = {{{image|}}}
{{#if: {{{email| }}}|{{!}}[[Email::{{{email|}}}]]}}
    | description = {{{description|}}}
|-
}}<!--
{{#if: {{{jabber| }}}|{{!}}'''Jabber'''}}
 
{{#if: {{{jabber| }}}|{{!}}[[Jabber::{{{jabber|}}}]]}}
-->{{ifnotempty|{{{email|}}}         | {{infobox row | name=E-Mail      | value=[[Email::{{{email|}}}]]           }}}}<!--
|-
-->{{ifnotempty|{{{matrix_nick|}}}    | {{infobox row | name=Matrix      | value={{SocialMediaLink|matrix  |{{{matrix_nick  |}}}|{{{matrix_server|matrix.org}}}}}    }}}}<!--
{{#if: {{{blog| }}}|{{!}}'''Blog'''}}
-->{{ifnotempty|{{{telegram|}}}       | {{infobox row | name=Telegram    | value={{SocialMediaLink|telegram|{{{telegram    |}}}}}                                    }}}}<!--
{{#if: {{{blog| }}}|{{!}}[[Blog::{{{blog|}}}]]}}
-->{{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      |}}}}}                                    }}}}<!--
[[pagename::{{PAGENAME}}| ]]
-->{{ifnotempty|{{{github|}}}         | {{infobox row | name=GitHub      | value={{SocialMediaLink|github  |{{{github      |}}}}}                                    }}}}<!--
{{#set:Has memberbox={{{has_memberbox|No}}}}}
-->{{ifnotempty|{{{jabber|}}}        | {{infobox row | name=Jabber      | value=[[Jabber::{{{jabber|}}}]]         }}}}<!--
[[Category:Person]]
-->{{ifnotempty|{{{blog|}}}          | {{infobox row | name=Blog        | value=[[Blog::{{{blog|}}}]]             }}}}<!--
</includeonly>
-->
|}<!--
 
-->{{#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
}}