Baustelle:Kevin: Unterschied zwischen den Versionen

3.355 Bytes hinzugefügt ,  21. August 2018
keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(95 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
Die Funktion <nowiki>{{CURRENTYEAR}}</nowiki> liefert: {{CURRENTYEAR}}
===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


<DynamicPageList>
*automatische Parameterübergabe von Monat und Jahr an DPL-Liste möglich
category=Konferenzen 2018  
{{#dpl:
</DynamicPageList>
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:Websites_using_DPL Example Websites]
*[https://meta.wikimedia.org/wiki/Help:Newlines_and_spaces#Parameter_selection_templates spaces]
*[https://github.com/Alexia/DynamicPageList/blob/master/CHANGELOG.md#version-096 List of DPL-Versions & Features]
*[http://followthescore.org/dpldemo/index.php?title=DPL:Manual_-_DPL_parameters:_Controlling_output_volume#include_contents_related_to_templates DPL Template Outputs]
*[http://followthescore.org/dpldemo/index.php?title=DPL:FAQ#How_do_I_produce_a_list_or_a_table_that_begins_with_a_template_parameter_instead_of_the_article_name.3F DPL FAQs]
*DPL-Variablen:{{#dpl:
|spa=;}}
 
=DPL-Beispiele=
==Hauptseite Nach Datum-Sortierte Liste==
'''Problem:'''  [http://followthescore.org/dpldemo/DPL:Manual_-_DPL_parameters:_Controlling_output_order DPL-Ausgabe nach Template sortieren]
{{#dpl:
category= Konferenzen März 2018
|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; ,,)¶
}}
 
==Nummerierte-alphabetisch sortierte Liste==
{{#dpl:
|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
|include={conf}:[[%PAGE%]],{conf}:¶
|secseparators=*{{sp}}, ,,¶
}}
 
==Hauptseite Version3==
{{#dpl:
category= Konferenzen Januar 2018
|mode=userformat
|include={conf}
}}
 
==2 Methoden von DPL Listen==
*http://followthescore.org/dpldemo/DPL:Manual_-_General_Usage_and_Invocation_Syntax
=== Parser extension method===
<DPL>
  category = Konferenzen Januar 2018
</DPL>
===Parser function method===
{{#dpl:
  |category = Konferenzen Januar 2018
}}