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
(Use similar string comparison as in commit from here https://metalab.at/wiki/index.php?title=Vorlage:Veranstaltung&action=history and move css into clause)
 
(14 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 6: Zeile 6:
 
| style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
 
| style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
 
|-
 
|-
|{{#if: {{{logo|}}}| colspan="2" align="center" | {{150px image|{{{logo}}} }} }}
+
|colspan="2" align="center"| {{#if: {{{logo|}}}| {{150px image|{{{logo}}}}} }}
 
|-
 
|-
|{{#if: {{{status|}}} | {{!}} colspan="2" align="center" | '''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: {{{irc|}}} | {{!}}'''IRC/XMPP MUC:'''  {{!}}{{{irc}}} | }}
+
{{#if: {{{mastodon|}}}|{{!}}'''Mastodon:'''  }}
 +
{{#if: {{{mastodon|}}}|{{!}}{{{mastodon|}}} }}
 
|-
 
|-
{{#if: {{{meetings}}}|{{!}}'''Treffen:'''{{!}}{{{meetings|}}} }}
+
{{#if: {{{homepage|}}}|{{!}}'''Homepage:''' }}
 +
{{#if: {{{homepage|}}}|{{!}}{{{homepage|}}} }}
 
|-
 
|-
{{#if: {{{targetgroup}}}|{{!}}'''Zielgruppe:'''{{!}}{{{targetgroup|}}} }}
+
{{#if: {{{irc|}}}|{{!}}'''IRC/Matrix:''' }}
 +
{{#if: {{{irc|}}}|{{!}}{{{irc|}}} }}
 
|-
 
|-
{{#if: {{{description}}}|{{!}}'''Inhalt:'''{{!}}{{{description|}}} }}
+
{{#if: {{{meetings}}}|{{!}}'''Treffen:''' }}
 +
{{#if: {{{meetings|}}}|{{!}}{{{meetings|}}} }}
 +
|-
 +
{{#if: {{{targetgroup}}}|{{!}}'''Zielgruppe:''' }}
 +
{{#if: {{{targetgroup|}}}|{{!}}{{{targetgroup|}}} }}
 +
|-
 +
{{#if: {{{description}}}|{{!}}'''Inhalt:''' }}
 +
{{#if: {{{description|}}}|{{!}}{{{description|}}} }}
 
|-
 
|-
 
| '''Zuletzt aktualisiert:'''  
 
| '''Zuletzt aktualisiert:'''  
{{#if: {{{lastupdate|}}} | {{!}}{{{lastupdate|}}} | {{!}}{{REVISIONDAY2}}.{{REVISIONMONTH}}.{{REVISIONYEAR}} }}
+
{{#if: {{{lastupdate|}}} | {{!}}{{{lastupdate|}}} | {{!}}{{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}} }}
 
|-
 
|-
 
|
 
|

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.