Vorlage:Benutzer: Unterschied zwischen den Versionen

>Ranlvor
disable [Edit] beside the Projekte-Header or the Kontekt-Header because this would edit the template confusing the user
>Ranlvor
Projekte/Events: show heading only if we have content to fill it
Zeile 23: Zeile 23:
|}}{{#if:{{{Twitter|}}}|* Twitter: [https://twitter.com/{{{Twitter|}}} [[Has Twitter::{{{Twitter|}}}]]]|}}
|}}{{#if:{{{Twitter|}}}|* Twitter: [https://twitter.com/{{{Twitter|}}} [[Has Twitter::{{{Twitter|}}}]]]|}}
__NOEDITSECTION__
__NOEDITSECTION__
==Projekte==
{{#ifexpr: {{#ask: [[Category:Project]] [[Working On::User:{{PAGENAME}}]]
| format=count
}} > 0 |<h2>Projekte</h2>}}
{{#ask: [[Category:Project]] [[Working On::User:{{PAGENAME}}]]
{{#ask: [[Category:Project]] [[Working On::User:{{PAGENAME}}]]
| mainlabel=Projekt
| mainlabel=Projekt
Zeile 33: Zeile 35:
| sort=Status
| sort=Status
}}
}}
==Events==
{{#ifexpr: {{#ask: [[Category:Event]] [[Participating On::User:{{PAGENAME}}]]
| format=count
}} > 0 |<h2>Events</h2>}}
{{#ask: [[Category:Event]] [[Participating On::User:{{PAGENAME}}]]
{{#ask: [[Category:Event]] [[Participating On::User:{{PAGENAME}}]]
| mainlabel=Event
| mainlabel=Event