Difference between revisions of "Template:User"

From Zombi Wiki
Jump to navigation Jump to search
m (typo)
m (+SMW ip)
Line 3: Line 3:
 
|Feldname2=Webspace|Daten2=https://user.zom.bi/{{{user|{{ROOTPAGENAME}}}}}
 
|Feldname2=Webspace|Daten2=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|}}}
+
|Feldname4=VPN-IP|Daten4=[[ip::{{{ip|}}}]]
 
|Feldname5={{{1|}}}|Daten5={{{2|}}}
 
|Feldname5={{{1|}}}|Daten5={{{2|}}}
 
|Feldname6={{{3|}}}|Daten6={{{4|}}}
 
|Feldname6={{{3|}}}|Daten6={{{4|}}}

Revision as of 06:51, 15 February 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.