Vorlage:Usergroup: Unterschied zwischen den Versionen

aus Metalab Wiki, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Zur Navigation springenZur Suche springen
 
(25 dazwischenliegende Versionen von 4 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
 
<noinclude>
 
<noinclude>
Use like this:
+
{{Howto_Usergroup}}
<pre>
 
{{Usergroup
 
|logo=No-Logo.png <!-- Use this link to upload your logo to the Wiki first: https://metalab.at/wiki/Spezial:Hochladen -->
 
|organizer=[User:anlumo|Anlumo] <!-- You're welcome to link to multiple persons that cooperate on organising events. -->
 
|email=sehr.privat@anlumo.com
 
|homepage= <!-- use [WikiPage] or [[https://external.example.com Exteral Site Name]] with httpS if possible! -->
 
|irc=[irc://irc.freenode.net/metalab &#35;metalab at irc.freenode.net] <!-- Will link to the #metalab IRC Channel on Freenode.net, HTML Entity used because # will be turned into 1. by MediaWiki. Please use the link to the #Metalab Channel if you don't have a dedicated channel of your own so people can easily contact a human entity! -->
 
|xmpp=[xmpp://metalab@conference.metalab.at?join Metalab XMPP Conference Room]
 
|topic=Das Leben und Sterben von anlumo
 
|startdate=21.01.2013 <!-- dd/mm/yyyy -->
 
|status=active/inactive/suspended
 
|meetings=monthly/bimonthly/weekly/biweekly/infrequently/on demand/…
 
|targetgroup=vertraute und interessierte
 
|description=diskussion ueber anlumo und wie er zu leben hat und sterben soll.
 
}}
 
</pre>
 
 
 
Feel free to extend/improve :)
 
 
 
BUT NOTE: you will change the appearence of EVERY OCCURENCE ON EVERY USERPAGE! so dont fuck up. kthxbye.
 
 
</noinclude>
 
</noinclude>
<includeonly>
+
<includeonly>{{#ifeq: {{{hidden}}}| true | <div style="display:none;"> }}
 
{| style="width: 30em; font-size: 90%; border: 1px solid #aaa; background-color: #eee; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 
{| style="width: 30em; font-size: 90%; border: 1px solid #aaa; background-color: #eee; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 
| style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
 
| style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
 
|-
 
|-
|colspan="2" align="center"| {{#if: {{{logo|}}}| {{150px image|{{{logo}}} }} }}
+
|colspan="2" align="center"| {{#if: {{{logo|}}}| {{150px image|{{{logo}}}}} }}
 
|-
 
|-
|colspan="2" align="center"|{{#if: {{{status}}}|{{Status|{{{status}}} }}{{!}} }}
+
{{#if: {{{status|}}}|{{!}}'''Status:''' }}
 +
{{#if: {{{status|}}}|{{!}}{{{status|}}} }}
 
|-
 
|-
{{#if: {{{topic}}}|{{!}}'''Thema:'''{{!}}{{{topic|}}} }}
+
{{#if: {{{topic}}}|{{!}}'''Thema:''' }}
 +
{{#if: {{{topic}}}|{{!}}{{{topic|}}} }}
 
|-
 
|-
{{#if: {{{startdate}}}|{{!}}'''Gestartet:'''{{!}}{{{startdate|}}} }}
+
{{#if: {{{startdate}}}|{{!}}'''Gestartet:''' }}
 +
{{#if: {{{startdate}}}|{{!}}{{{startdate|}}} }}
 
|-
 
|-
{{#if: {{{organizer}}}|{{!}}'''Organisator:'''{{!}}{{{organizer|}}} }}
+
{{#if: {{{organizer|}}}|{{!}}'''Organisator:''' }}
 +
{{#if: {{{organizer|}}}|{{!}}{{{organizer|}}} }}
 
|-
 
|-
{{#if: {{{email}}}|{{!}}'''Email:'''{{!}}{{{email|}}} }}
+
{{#if: {{{email|}}}|{{!}}'''Email:''' }}
 +
{{#if: {{{email|}}}|{{!}}{{{email|}}} }}
 
|-
 
|-
{{#if: {{{homepage}}}|{{!}}'''Homepage:'''{{!}}{{{homepage|}}} }}
+
{{#if: {{{mastodon|}}}|{{!}}'''Mastodon:''' }}
 +
{{#if: {{{mastodon|}}}|{{!}}{{{mastodon|}}} }}
 
|-
 
|-
{{#if: {{{irc}}}|{{!}}'''IRC/XMPP MUC:'''{{!}}{{{irc|}}} }}
+
{{#if: {{{homepage|}}}|{{!}}'''Homepage:''' }}
 +
{{#if: {{{homepage|}}}|{{!}}{{{homepage|}}} }}
 
|-
 
|-
{{#if: {{{meetings}}}|{{!}}'''Treffen:'''{{!}}{{{meetings|}}} }}
+
{{#if: {{{irc|}}}|{{!}}'''IRC/Matrix:''' }}
 +
{{#if: {{{irc|}}}|{{!}}{{{irc|}}} }}
 
|-
 
|-
{{#if: {{{targetgroup}}}|{{!}}'''Zielgruppe:'''{{!}}{{{targetgroup|}}} }}
+
{{#if: {{{meetings}}}|{{!}}'''Treffen:''' }}
 +
{{#if: {{{meetings|}}}|{{!}}{{{meetings|}}} }}
 
|-
 
|-
{{#if: {{{description}}}|{{!}}'''Inhalt:'''{{!}}{{{description|}}} }}
+
{{#if: {{{targetgroup}}}|{{!}}'''Zielgruppe:''' }}
 +
{{#if: {{{targetgroup|}}}|{{!}}{{{targetgroup|}}} }}
 +
|-
 +
{{#if: {{{description}}}|{{!}}'''Inhalt:''' }}
 +
{{#if: {{{description|}}}|{{!}}{{{description|}}} }}
 
|-
 
|-
 
| '''Zuletzt aktualisiert:'''  
 
| '''Zuletzt aktualisiert:'''  
| {{REVISIONDAY2}}.{{REVISIONMONTH}}.{{REVISIONYEAR}}
+
{{#if: {{{lastupdate|}}} | {{!}}{{{lastupdate|}}} | {{!}}{{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}} }}
 
|-
 
|-
 
|
 
|
 
|}
 
|}
</includeonly>
+
{{#ifeq: {{{hidden}}}| true | </div> }}
 +
[[Kategorie:Usergroups]]</includeonly>

Aktuelle Version vom 18. Februar 2023, 18:47 Uhr

Use like this:

{{Usergroup
|logo=No-Logo.png <!-- Use this link to upload your logo to the Wiki first: https://metalab.at/wiki/Spezial:Hochladen for no logo at all use | as graphic-->
|organizer=[User:You?|You?] <!-- You're welcome to link to multiple persons that cooperate on organising events. -->
|email=[mailto:your@email.address your@email.address] <!-- Optional, replace both times your@email.address with your actual adress -->
|homepage= <!-- use [WikiPage] or [[https://external.example.com Exteral Site Name]] with httpS if possible! -->
|mastodon= [https://chaos.social/@metalab @metalab@chaos.social]<!-- Optional -->
|irc=[ircs://irc.libera.chat:+6697/metalab #metalab at libera.chat] or [https://matrix.to/#/#metalab:matrix.org Metalab Matrix Room] <!-- Will link to the #metalab IRC Channel on libra.chat, HTML Entity used because # will be turned into 1. by MediaWiki. Please use the link to the #Metalab Channel if you don't have a dedicated channel of your own so people can easily contact a human entity! Legacy Info: Also, MediaWiki doesn't support xmpp links -->
|topic=What is your usergroup working on?
|startdate=21.01.2013 <!-- dd/mm/yyyy -->
|status=active/inactive/suspended
|meetings=monthly/bimonthly/weekly/biweekly/infrequently/on demand/…
|targetgroup=Who should come? Who is welcome?
|description=What is happening in general?
|lastupdate=21.01.2013 <!-- if lastupdate is not set manually, the date will be set automatically to the date of the latest wikipage -->
|hidden=true|false <!-- hides the output (if it bothers you that much) but can be caught through DPL to make dynamic lists and sorts -->
}}

NOTE: you will change the appearence of EVERY OCCURENCE ON EVERY USERPAGE! so dont fuck up. kthxbye.