Difference between revisions of "Template:User"

From Zombi Wiki
Jump to navigation Jump to search
(enable changing git)
(doc)
 
Line 1: Line 1:
 
<includeonly>{{Infobox|{{{user|{{ROOTPAGENAME}}}}}
 
<includeonly>{{Infobox|{{{user|{{ROOTPAGENAME}}}}}
|Feldname1=Git|Daten1={{{git|https://git.zom.bi/{{{user|{{ROOTPAGENAME}}}}}}}}
+
|Feldname1=Git|Daten1=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}}}]}}
Line 18: Line 18:
 
|Extra 2|yet another value
 
|Extra 2|yet another value
 
}}
 
}}
</nowiki></pre>You can use the Template on [[Special:MyPage|your user page]] without handing the argument user. No argument is mandatory. The above example renders into the example on the right.  
+
</nowiki></pre>You can use the Template on [[Special:MyPage|your user page]] without handing the argument user. No argument is mandatory. The above example renders into the example on the right. If Mediawiki fucks up the capitalisation of your username, use the ''user'' parameter.
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>

Latest revision as of 19:56, 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. If Mediawiki fucks up the capitalisation of your username, use the user parameter.