Template:Person: Difference between revisions

From Milliways
(Created page with "<noinclude> This is the 'Person' template for individuals. It should be called in the following format (social media usernames with no @ sign please): <pre> {{ 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...")
 
(formatting)
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
{| style="border: 1px solid; width:25em; float: right; font-size: 90%;"
This is the 'Person' template for individuals.
|-
It should be called in the following format (social media usernames with no @ sign please):
|colspan="2" style="text-align: center;"| '''[[Nickname::{{{nickname|{{PAGENAME}}}}}]]'''
<pre>
|-
{{ Person
! [[Property:Nickname | Nickname]]
    | nickname        = nick
| [[Nickname::{{{nickname}}}]]
    | image          = nick.jpg
|-
    | email          = nick@example.com
| colspan="2" style="text-align: center;"| [[File:{{{image|}}}|frameless|profile pic]]
    | matrix_nick    = matrixnick
|-
    | matrix_server  = matrix.example.com
! [[Property:Email | Email]]
    | telegram        = nick
| [[Email::{{{email}}}]]
    | mastodon_nick  = mstdnnick
|-
    | mastodon_server = mstdn.example.com
! [[Property:Matrix | Matrix]]
    | twitter        = nick
| @{{{matrix_nick}}}:{{{matrix_server}}} [https://matrix.to/#/@{{{matrix_nick}}}:{{{matrix_server}}}] {{#set:Matrix=@{{{matrix_nick}}}:{{{matrix_server}}} }} {{#set:MatrixLink={{{matrix_nick}}} {{{matrix_server}}} }}
    | github          = nick
|-
    | jabber          = nick@example.com
! [[Property:Mastodon | Mastodon]]
    | blog            = nick.example.com
| @{{{mastodon_nick}}}@{{{mastodon_server}}} [https://{{{mastodon_server}}}/@{{{mastodon_nick}}}] {{#set:Mastodon=@{{{mastodon_nick}}}@{{{mastodon_server}}} }} {{#set:MastodonLink={{{mastodon_nick}}} {{{mastodon_server}}} }}
}}
|}
</pre>
</noinclude><includeonly>
{{ infobox start
    | headercolor = #ffffcc
    | name = [[Nickname::{{{nickname|{{PAGENAME}}}}}]]
    | image = {{{image|}}}
    | description = {{{description|}}}
}}<!--


-->{{ifnotempty|{{{email|}}}          | {{infobox row | name=E-Mail      | value=[[Email::{{{email|}}}]]            }}}}<!--
[[Category:Person]]
-->{{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|}}}]]         }}}}<!--
 
-->
|}
</includeonly>

Latest revision as of 20:23, 4 August 2024

Person
Nickname {{{nickname}}}
[[File:|frameless|profile pic]]
Email {{{email}}}
Matrix @{{{matrix_nick}}}:{{{matrix_server}}} [1]
Mastodon @{{{mastodon_nick}}}@{{{mastodon_server}}} [2]