Baustelle:Kevin: Unterschied zwischen den Versionen

1.715 Bytes hinzugefügt ,  21. August 2018
keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(60 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
Die Funktion <nowiki>{{CURRENTYEAR}}</nowiki> liefert: {{CURRENTYEAR}}
===Automatisch DPL-Monatsliste Ein/Ausblenden===
===Help-Links:===
*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:Websites_using_DPL Example Websites]
*[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]
*[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: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]
*[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=;}}


==Hauptseite Version1==
=DPL-Beispiele=
*'''Probleme:''' Space,-,Anstrich
==Hauptseite Nach Datum-Sortierte Liste==
'''Problem:''' [http://followthescore.org/dpldemo/DPL:Manual_-_DPL_parameters:_Controlling_output_order DPL-Ausgabe nach Template sortieren]
{{#dpl:
{{#dpl:
category= Konferenzen Januar 2018
category= Konferenzen März 2018
|debug=1
|order=ascending
|ordermethod=sortkey
|mode=userformat
|mode=userformat
|include={conf}:beginn,{conf}:ende,{conf}:monat,{conf}:jahr,{conf}:[[%PAGE%]],{conf}:ort,{conf}:land,{conf}:[[%whyThis2GetA-NewLine?%]]<br/>
|include={conf}:beginn,{conf}:ende,{conf}:monat,{conf}:jahr,{conf}:[[%PAGE%]],{conf}:ort,{conf}:land,
|secseparators=*,-,,{{sp}},,,{{sp}},,: ,, (,&#044; ,,)¶
}}
}}


==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}}, ,,¶
}}
}}


Zeile 27: Zeile 75:
|include={conf}
|include={conf}
}}
}}
==Version von Ulli==
{{#dpl:
category=Konferenzen Januar 2018
| mode  = userformat
| include ={conf}:beginn:monat:jahr,[[%PAGE%]]
|format=<ul>,<li>,</li>,</ul>,
}}
<!-- Auskommentierte Befehle
|format=,{conf}:beginn,[[%TITLE%]]\n,
|includepage={conf}:beginn
|includepage={conf}:monat
|includepage={conf}:jahr
-->


==2 Methoden von DPL Listen==
==2 Methoden von DPL Listen==