Difference between revisions of "Template:User"

From Zombi Wiki
Jump to navigation Jump to search
m (+SMW ip)
m (+foaf homepage smw)
Line 1: Line 1:
 
<includeonly>{{Infobox|{{{user|{{ROOTPAGENAME}}}}}
 
<includeonly>{{Infobox|{{{user|{{ROOTPAGENAME}}}}}
 
|Feldname1=Git|Daten1=https://git.zom.bi/{{{user|{{ROOTPAGENAME}}}}}
 
|Feldname1=Git|Daten1=https://git.zom.bi/{{{user|{{ROOTPAGENAME}}}}}
|Feldname2=Webspace|Daten2=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}}}]}}
 
|Feldname4=VPN-IP|Daten4=[[ip::{{{ip|}}}]]
 
|Feldname4=VPN-IP|Daten4=[[ip::{{{ip|}}}]]

Revision as of 22:56, 24 April 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.