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
K
 
(49 dazwischenliegende Versionen von 6 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
 
<noinclude>
 
<noinclude>
Use like this:
+
{{Howto_Usergroup}}
<pre>
 
{{Usergroup
 
|logo=Metalab.gif
 
|organizer=anlumo
 
|topic=Das Leben und Sterben von anlumo
 
|startdate=21.01.2013
 
|status=active/inactive/suspended
 
|meetings=monthly/bimonthly/weekly/biweekly/infrequently/…
 
}}
 
</pre>
 
 
 
Feel free to extend/improve :)
 
 
</noinclude>
 
</noinclude>
<includeonly>
+
<includeonly>{{#ifeq: {{{hidden}}}| true | <div style="display:none;"> }}
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; 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}}}|
+
{{#if: {{{status|}}}|{{!}}'''Status:''' }}
{{#switch: {{{status}}}
+
{{#if: {{{status|}}}|{{!}}{{{status|}}} }}
|true
 
|yes
 
|yay
 
|active = <span style="color:green">aktiv</span>
 
|false
 
|no
 
|nay
 
|inactive = <span style="color:red">inaktiv</span>
 
|maybe
 
|perhaps
 
|iamscared
 
|suspended = <span style="color:orange">auf Urlaub</span>
 
}}{{!}}}}
 
 
|-
 
|-
{{#if: {{{topic}}}|{{!}}'''Thema:'''{{!}}{{{topic|}}}}}
+
{{#if: {{{topic}}}|{{!}}'''Thema:''' }}
 +
{{#if: {{{topic}}}|{{!}}{{{topic|}}} }}
 
|-
 
|-
{{#if: {{{startdate}}}|{{!}}'''Gestartet:'''{{!}}{{{startdate|}}}}}
+
{{#if: {{{startdate}}}|{{!}}'''Gestartet:''' }}
 +
{{#if: {{{startdate}}}|{{!}}{{{startdate|}}} }}
 
|-
 
|-
{{#if: {{{organizer}}}|{{!}}'''Organisator:'''{{!}}[[Benutzer:{{{organizer|}}}|{{{organizer|}}}]]}}
+
{{#if: {{{organizer|}}}|{{!}}'''Organisator:''' }}
 +
{{#if: {{{organizer|}}}|{{!}}{{{organizer|}}} }}
 
|-
 
|-
{{#if: {{{meetings}}}|{{!}}'''Treffen:'''{{!}}{{{meetings|}}}}}
+
{{#if: {{{email|}}}|{{!}}'''Email:'''  }}
 +
{{#if: {{{email|}}}|{{!}}{{{email|}}} }}
 +
|-
 +
{{#if: {{{mastodon|}}}|{{!}}'''Mastodon:'''  }}
 +
{{#if: {{{mastodon|}}}|{{!}}{{{mastodon|}}} }}
 +
|-
 +
{{#if: {{{homepage|}}}|{{!}}'''Homepage:'''  }}
 +
{{#if: {{{homepage|}}}|{{!}}{{{homepage|}}} }}
 +
|-
 +
{{#if: {{{irc|}}}|{{!}}'''IRC/Matrix:'''  }}
 +
{{#if: {{{irc|}}}|{{!}}{{{irc|}}} }}
 +
|-
 +
{{#if: {{{meetings}}}|{{!}}'''Treffen:''' }}
 +
{{#if: {{{meetings|}}}|{{!}}{{{meetings|}}} }}
 +
|-
 +
{{#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.