Template:Person: Difference between revisions

Template page
(Matrix hinzugefügt mit neuem Template:MatrixLink)
(Default-Werte hinzugefügt & Code-Formatierung)
Line 4: Line 4:
<pre>
<pre>
{{ Person
{{ Person
   | nickname     = nick
   | nickname       = nick
   | email         = nick@example.com
   | email           = nick@example.com
   | matrix_nick   = matrixnick
   | matrix_nick     = matrixnick
   | matrix_server = matrix.example.com
   | matrix_server   = matrix.example.com
   | telegram     = nick
   | telegram       = nick
   | mastodon_nick = mstdnnick
   | mastodon_nick   = mstdnnick
   | mastodon_server = mstdn.example.com
   | mastodon_server = mstdn.example.com
   | twitter       = nick
   | twitter         = nick
   | github       = nick
   | github         = nick
   | jabber       = nick@example.com
   | jabber         = nick@example.com
   | blog         = nick.example.com
   | blog           = nick.example.com
   | has_memberbox = false
   | has_memberbox   = false
}}
}}
</pre>
</pre>
Line 25: Line 25:
}}<!--
}}<!--


-->{{ifnotempty|{{{email|}}}     | {{infobox row | name=E-Mail   | value=[[Email::{{{email|}}}]]            }}}}<!--
-->{{ifnotempty|{{{email|}}}         | {{infobox row | name=E-Mail       | value=[[Email::{{{email|}}}]]            }}}}<!--
-->{{ifnotempty|{{{matrix_nick|}}}    | {{infobox row | name=Matrix   | value={{MatrixLink|{{{matrix_nick|}}}|{{{matrix_server|}}}}}      }}}}<!--
-->{{ifnotempty|{{{matrix_nick|}}}    | {{infobox row | name=Matrix       | value={{MatrixLink|{{{matrix_nick|}}}|{{{matrix_server|matrix.org}}}}}      }}}}<!--
-->{{ifnotempty|{{{telegram|}}} | {{infobox row | name=Telegram         | value=[[Telegram::{{{telegram|}}}]]      }}}}<!--
-->{{ifnotempty|{{{telegram|}}}       | {{infobox row | name=Telegram     | value=[[Telegram::{{{telegram|}}}]]      }}}}<!--
-->{{ifnotempty|{{{mastodon_nick|}}}  | {{infobox row | name=Mastodon   | value={{MastodonLink|{{{mastodon_nick|}}}|{{{mastodon_server|}}}}}      }}}}<!--
-->{{ifnotempty|{{{mastodon_nick|}}}  | {{infobox row | name=Mastodon     | value={{MastodonLink |{{{mastodon_nick|}}}|{{{mastodon_server|chaos.social}}}}}      }}}}<!--
-->{{ifnotempty|{{{twitter|}}}   | {{infobox row | name=Twitter         | value=[[Twitter::{{{twitter|}}}]]        }}}}<!--
-->{{ifnotempty|{{{twitter|}}}       | {{infobox row | name=Twitter     | value=[[Twitter::{{{twitter|}}}]]        }}}}<!--
-->{{ifnotempty|{{{github|}}}   | {{infobox row | name=GitHub           | value=[[GitHub::{{{github|}}}]]          }}}}<!--
-->{{ifnotempty|{{{github|}}}         | {{infobox row | name=GitHub       | value=[[GitHub::{{{github|}}}]]          }}}}<!--
-->{{ifnotempty|{{{jabber|}}}   | {{infobox row | name=Jabber           | value=[[Jabber::{{{jabber|}}}]]          }}}}<!--
-->{{ifnotempty|{{{jabber|}}}         | {{infobox row | name=Jabber       | value=[[Jabber::{{{jabber|}}}]]          }}}}<!--
-->{{ifnotempty|{{{blog|}}}     | {{infobox row | name=Blog             | value=[[Blog::{{{blog|}}}]]              }}}}<!--
-->{{ifnotempty|{{{blog|}}}           | {{infobox row | name=Blog         | value=[[Blog::{{{blog|}}}]]              }}}}<!--


-->
-->

Revision as of 04:06, 14 October 2022

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
  | 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
}}