Difference between revisions of "Template:User"

From Zombi Wiki
Jump to navigation Jump to search
Tags: Mobile web edit Mobile edit
(enable changing git)
Line 1: Line 1:
 
<includeonly>{{Infobox|{{{user|{{ROOTPAGENAME}}}}}
 
<includeonly>{{Infobox|{{{user|{{ROOTPAGENAME}}}}}
|Feldname1=Git|Daten1=https://git.zom.bi/{{{user|{{ROOTPAGENAME}}}}}
+
|Feldname1=Git|Daten1={{{git|https://git.zom.bi/{{{user|{{ROOTPAGENAME}}}}}}}}
 
|Feldname2=Webspace|Daten2=[[foaf:homepage::https://user.zom.bi/{{{user|{{ROOTPAGENAME}}}}}]]
 
|Feldname2=Webspace|Daten2=[[foaf:homepage::https://user.zom.bi/{{{user|{{ROOTPAGENAME}}}}}]]
 
|Feldname3=Mastodon|Daten3={{#if: {{{mastodon|}}} | [https://soc.zom.bi/@{{{mastodon}}} @{{{mastodon}}}]}}
 
|Feldname3=Mastodon|Daten3={{#if: {{{mastodon|}}} | [https://soc.zom.bi/@{{{mastodon}}} @{{{mastodon}}}]}}

Revision as of 19:46, 28 August 2020

User
Git https://git.zom.bi/root
Webspace https://user.zom.bi/root
Mastodon @roottoot
VPN-IP 0.0.0.0
Extra 1 Value
Extra 2 yet another value

This Template renders an Infobox with links to userpages on other Zombi-Services. Usage:

{{User
|user=root
|ip=0.0.0.0
|mastodon=roottoot
|Extra 1|value
|Extra 2|yet another value
}}

You can use the Template on your user page without handing the argument user. No argument is mandatory. The above example renders into the example on the right.