diff --git a/camp/neinomat-workshops b/camp/neinomat-workshops index a3963bc..9746bcb 100755 --- a/camp/neinomat-workshops +++ b/camp/neinomat-workshops @@ -37,7 +37,23 @@ def parse_template(title, template) info end -list = "" +list = " + + +''This is an auto-generated list - please use [[Template:Workshop]] (description is there) to include your workshop here. Contact [[User:Neingeist|Neingeist]] if you have problems or questions (Jabber is preferred.)'' + + +" @wiki.category("Workshop").articles.each do |article| if article != "Template:Workshop" && article != "List of workshops" && article != "ExampleVille" @@ -45,11 +61,13 @@ list = "" workshops = parse_template(article, "Workshop") workshops.each do |workshop| - list += "* [[#{article}|#{workshop["what"]}]] " + list += "* '''[[#{article}|#{workshop["what"]}]]''' " if workshop["day"] != "" list += "Day " + workshop["day"] + "/" + workshop["start"] end list += "\n" + list += ":''#{workshop["where"]}''\n" + list += "::#{workshop["abstract"]}\n" end end end