Änderungen

1.674 Bytes hinzugefügt ,  21:54, 21. Aug. 2018
keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1: −
===Help-Links:===
+
===Automatisch DPL-Monatsliste Ein/Ausblenden===
 +
*Idee1: IF Monat=m1 THEN Szenario m1-m12 ELSE IF Monat=m2 THEN Szenario m2-m12-m13
 +
*Funktion-Monatszahl: {{Monatszahl | n=1 }}
 +
*Verschachtelung: <code><nowiki> {{Monatszahl | n={{CURRENTMONTH1}}}} </nowiki></code> {{Monatszahl | n={{CURRENTMONTH1}} }}
 +
*vorhanden: <code> <nowiki> {{konferenzliste|monat = Monat Jahr}} </nowiki> </code>
 +
*SWITCH-Case-Parswer-Function https://en.wikipedia.org/wiki/Help:Switch_parser_function
 +
*Media-Wiki Loops https://www.mediawiki.org/wiki/Extension:Loops
 +
*Media-Wiki IF https://de.wikipedia.org/wiki/Hilfe:Vorlagenprogrammierung
 +
*Funktionsliste https://www.mediawiki.org/wiki/Help:Magic_words/de#Zeitangaben
 +
*Funktion <nowiki> {{CURRENTYEAR}} </nowiki> liefert {{CURRENTYEAR}}
 +
*Funktion <nowiki> {{CURRENTMONTHNAME}} </nowiki> liefert {{CURRENTMONTHNAME}}
 +
*Funktion <nowiki> {{LOCALMONTH1}} </nowiki> liefert {{LOCALMONTH1}}
 +
*Funktion <nowiki> {{CURRENTMONTH1}} </nowiki> liefert Monatszahl {{CURRENTMONTH1}} ohne vorangestellte NULL
 +
 
 +
*automatische Parameterübergabe von Monat und Jahr an DPL-Liste möglich
 +
{{#dpl:
 +
category= Konferenzen {{CURRENTMONTHNAME}} {{CURRENTYEAR}}
 +
|debug=1
 +
|order=ascending
 +
|ordermethod=sortkey
 +
|mode=userformat
 +
|include={conf}:beginn,{conf}:ende,{conf}:monat,{conf}:jahr,{conf}:[[%PAGE%]],{conf}:ort,{conf}:land,¶
 +
|secseparators=*,-,,{{sp}},,,{{sp}},,: ,, (,&#044; ,,)¶
 +
}}
 +
 
 +
 
 +
===DPL Help-Links:===
 
*[http://followthescore.org/dpldemo/index.php?title=DPL:Manual_-_DPL_parameters:_Controlling_output_order#order Sortieren]
 
*[http://followthescore.org/dpldemo/index.php?title=DPL:Manual_-_DPL_parameters:_Controlling_output_order#order Sortieren]
 
*[http://followthescore.org/dpldemo/index.php?title=DPL:Websites_using_DPL Example Websites]
 
*[http://followthescore.org/dpldemo/index.php?title=DPL:Websites_using_DPL Example Websites]
Zeile 9: Zeile 35:  
|spa=;}}
 
|spa=;}}
   −
==Hauptseite Sorted Version1==
+
=DPL-Beispiele=
 +
==Hauptseite Nach Datum-Sortierte Liste==
 
'''Problem:'''  [http://followthescore.org/dpldemo/DPL:Manual_-_DPL_parameters:_Controlling_output_order DPL-Ausgabe nach Template sortieren]
 
'''Problem:'''  [http://followthescore.org/dpldemo/DPL:Manual_-_DPL_parameters:_Controlling_output_order DPL-Ausgabe nach Template sortieren]
 
{{#dpl:
 
{{#dpl:
Zeile 21: Zeile 48:  
}}
 
}}
   −
==Hauptseite Version2==
+
==Nummerierte-alphabetisch sortierte Liste==
 
{{#dpl:
 
{{#dpl:
category= Konferenzen Januar 2018
+
|category = Konferenzen GDM
 +
|debug=1
 +
|order=ascending
 +
|ordermethod=title
 +
|mode=userformat
 +
|include={conf}:[[%PAGE%]],{conf}:ort,¶
 +
|secseparators=#{{sp}}, ,,¶
 +
}}
 +
==Alphabetisch sortierte Liste mit Bullet-Points==
 +
{{#dpl:
 +
|category = Konferenzen
 +
|debug=1
 +
|order=ascending
 +
|ordermethod=title
 
|mode=userformat
 
|mode=userformat
|include={conf}:beginn:ende:monat:jahr:[[%PAGE%]]:ort:land:[[%whyThis2GetA-NewLine?%]]<br/>
+
|include={conf}:[[%PAGE%]],{conf}:
 +
|secseparators=*{{sp}}, ,,¶
 
}}
 
}}