Roque Cia und Testseite13: Unterschied zwischen den Seiten
Aus Kubbwiki
(Unterschied zwischen Seiten)Bastor (Diskussion | Beiträge) (DUpdate3) |
Bastor (Diskussion | Beiträge) |
||
Zeile 1: | Zeile 1: | ||
− | {{ | + | ==Chart == |
− | | | + | {{GraphChart|width=400|height=100|type=area|x=1,2,3,4,5,6,7,8|y=10, 12, 6, 14, 2, 10, 7, 9}} |
− | + | ||
− | | | + | ==Graph Chart== |
− | | | + | {{Graph:Chart|width=100|height=100|type=pie|legend=Legende |
− | | | + | |x=A,B,C,D,E,F,G,H,I|y1=100,200,150,300,100,100,150,50,200 |
− | | | + | |y2=7,8,9,8,8,9,10,9,5|showValues=}} |
− | | | + | |
− | | | + | <graph> |
− | | | + | |
− | | | + | { |
− | + | "version": 2, | |
− | + | "width": 300, | |
− | + | "height": 300, | |
− | | | + | "data": [ |
− | | | + | { |
− | | | + | // Data is retrieved from the MediaWiki API. By default it uses current wiki's "Extension by category" |
− | | | + | "name": "table", |
− | | | + | "url": "wikiapi:///?generator=categorymembers&gcmtitle=Category:Extensions+by+category&gcmtype=subcat&action=query&gcmlimit=max&prop=categoryinfo&formatversion=2&format=json", |
− | | | + | // We are only interested in the content of query.pages subelement. |
− | | | + | "format": {"property": "query.pages","type": "json"}, |
− | | | + | "transform": [ |
− | | | + | // sort in descending order using category size as the sort key |
− | | | + | {"type": "sort","by": "-categoryinfo.size"}, |
− | | | + | // To visualize, use "pie" transformation to add layout_start, layout_end, and layout_mid fields to each page object |
− | | | + | // These fields contain angles at which to start and stop drawing arcs. First element's start will be 0, and last element's end will be 360 degrees (in radians) |
− | | | + | {"type": "pie","field": "categoryinfo.size"} |
+ | ] | ||
+ | } | ||
+ | ], | ||
+ | // Scales are like functions -- marks use them to convert a data value into a visual value, like x or y coordinate on the graph, or a color value. | ||
+ | "scales": [ | ||
+ | { | ||
+ | // This scale will be used to assign a color to each slice, using a palette of 10 colors | ||
+ | "name": "color", | ||
+ | "domain": {"data": "table","field": "title"}, | ||
+ | "range": "category10", | ||
+ | "type": "ordinal" | ||
+ | } | ||
+ | ], | ||
+ | "marks": [ | ||
+ | { | ||
+ | // This mark draws the actual pie chart from the data source | ||
+ | // Each element is an arc between layout_start and layout_end angles (as calculated by the pie transformation) | ||
+ | // drawn with a given radius, stroke, and fill. | ||
+ | "from": {"data": "table"}, | ||
+ | "type": "arc", | ||
+ | "properties": { | ||
+ | "enter": { | ||
+ | "fill": {"scale": "color","field": "title"}, | ||
+ | "outerRadius": {"value": 200}, | ||
+ | "startAngle": {"field": "layout_start"}, | ||
+ | "endAngle": {"field": "layout_end"}, | ||
+ | "stroke": {"value": "white"}, | ||
+ | "strokeWidth": {"value": 1} | ||
+ | } | ||
+ | } | ||
+ | }, | ||
+ | { | ||
+ | // This mark draws labels around the pie chart after the pie chart has been drawn | ||
+ | "type": "text", | ||
+ | // Before drawing, we need to perform a number of calculations to figure out the exact location and orientation of the text | ||
+ | "from": { | ||
+ | "data": "table", | ||
+ | "transform": [ | ||
+ | // For each data point (datum), each of these transformations will be ran in order. | ||
+ | // Formula transformation evaluates the expression and assigns result to the datapoint | ||
+ | // Size of the pie slice, in degrees: sliceSize = (end - start) * 180 / Pi | ||
+ | { "type": "formula", "field": "sliceSize", "expr": "(datum.layout_end - datum.layout_start)*180/PI" }, | ||
+ | // Draw text only if the slice of the arc is more than 2 degrees to avoid overcrowding | ||
+ | { "type": "filter", "test": "datum.sliceSize > 2" }, | ||
+ | // Remove namespace from the text - keeps only text after the first ':' symbol, limits to 40 chars. | ||
+ | { "type": "formula", "field": "title", "expr": "substring(datum.title, 1+indexof(datum.title,':'), 40)" }, | ||
+ | // Determine the side of the pie chart we are on - left or right. | ||
+ | { "type": "formula", "field": "invert", "expr": "datum.layout_mid*180/PI < 180 ? 1 : -1" }, | ||
+ | // If on the left, the text should be right-aligned (go from the rim inward) | ||
+ | { "type": "formula", "field": "align", "expr": "datum.invert < 0 ? 'left' : 'right'" }, | ||
+ | // At what angle should the text be drawn relative to the point on the circle | ||
+ | { "type": "formula", "field": "angle", "expr": "(datum.layout_mid*180/PI)-90*datum.invert" }, | ||
+ | // Make font smaller for smaller pie slices | ||
+ | { "type": "formula", "field": "fontSize", "expr": "datum.sliceSize > 20 ? 15 : (datum.sliceSize > 10 ? 14 : 10)" }, | ||
+ | // Make font bold for largest pie slices | ||
+ | { "type": "formula", "field": "fontWeight", "expr": "datum.sliceSize > 15 ? 'bold' : 'normal'" } | ||
+ | ] | ||
+ | }, | ||
+ | "properties": { | ||
+ | "enter": { | ||
+ | // Use the fields calculated in the transformation to draw category names | ||
+ | "align": {"field": "align"}, | ||
+ | "angle": {"field": "angle"}, | ||
+ | "baseline": {"value": "middle"}, | ||
+ | "fill": {"value": "black"}, | ||
+ | "fontSize": {"field": "fontSize"}, | ||
+ | "fontWeight": {"field": "fontWeight"}, | ||
+ | "radius": {"value": 270}, | ||
+ | "text": {"field": "title"}, | ||
+ | "theta": {"field": "layout_mid"} | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | ] | ||
+ | } | ||
+ | </graph> | ||
+ | |||
+ | == Ausgeschriebene Infos bei Teamseiten == | ||
+ | |||
+ | {{#ifexpr:{{#ask:[[Has team::BerlinCS]] [[Has wplatz::1]] [[Has object type::Event team]]|format=count|default=0}}>0 | ||
+ | |Das Team hat bei folgenden Kubbturnieren den ersten Platz erreicht: | ||
+ | {{#ask: [[Has team::BerlinCS]] [[Has wplatz::1]] [[Has object type::Event team]] | ||
+ | |?Has event= | ||
+ | |?Has wjahr= | ||
+ | |?Has wland= | ||
+ | |headers=hide | ||
+ | |format=list | ||
+ | |sep= und  | ||
+ | |limit=300 | ||
+ | |mainlabel=- | ||
+ | |link=none | ||
+ | |default=. | ||
}} | }} | ||
− | {{ | + | | }} |
− | | | + | |
− | | | + | {{#ifexpr:{{#ask:[[Has team::BerlinCS]] [[Has wplatz::2]] [[Has object type::Event team]]|format=count|default=0}}>0 |
− | | | + | |Nach dem Erreichen des Endspieles wurde die Mannschaft {{FULLPAGENAME}} ein starker Zweiter in folgenden Kubbturnieren: |
− | | | + | {{#ask: [[Has team::BerlinCS]] [[Has wplatz::2]] [[Has object type::Event team]] |
− | | | + | |?Has event= |
− | | | + | |?Has wland= |
+ | |headers=hide | ||
+ | |format=list | ||
+ | |sep= und  | ||
+ | |limit=300 | ||
+ | |mainlabel=- | ||
+ | |link=none | ||
+ | |default=. | ||
}} | }} | ||
− | {{ | + | | }} |
− | | | + | |
− | | | + | {{#ifexpr:{{#ask:[[Has team::BerlinCS]] [[Has wplatz::3]] [[Has object type::Event team]]|format=count|default=0}}>0 |
− | | | + | |Leider verpasste das Team von {{FULLPAGENAME}} den Einzug in das Finale, konnte sich aber immerhin einen Platz auf dem Podium sicher: Nach dem Erreichen des Endspieles wurde die Mannschaft {{FULLPAGENAME}} starker Zweiter in folgenden Kubbturnieren: |
− | | | + | {{#ask: [[Has team::BerlinCS]] [[Has wplatz::3]] [[Has object type::Event team]] |
− | | | + | |?Has event= |
− | | | + | |?Has wland= |
+ | |headers=hide | ||
+ | |format=list | ||
+ | |sep= und  | ||
+ | |limit=300 | ||
+ | |mainlabel=- | ||
+ | |link=none | ||
+ | |default=. | ||
}} | }} | ||
− | - | + | | }} |
+ | |||
+ | |||
+ | {{#ifexpr:{{#ask:[[Has team::BerlinCS]] [[Has object type::Event team]]|?Has wplatz|format=max|default=0}} | ||
+ | |Die schlechteste Platzierung in einem Kubbwikiturnier vom Team {{FULLPAGENAME}} war im Turnier vom: | ||
+ | {{#ask: [[Has team::BerlinCS]] [[Has wplatz::{{#ask:[[Has team::BerlinCS]] [[Has object type::Event team]]|?Has wplatz|format=max|default=0}}]] [[Has object type::Event team]] | ||
+ | |?Has event= | ||
+ | |?Has wplatz= | ||
+ | |headers=hide | ||
+ | |format=list | ||
+ | |sep= und  | ||
+ | |limit=300 | ||
+ | |mainlabel=- | ||
+ | |link=none | ||
+ | |default=. | ||
+ | }} | ||
+ | | }} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===Basis=== | ||
+ | |||
+ | |||
+ | ask: [[Has team::{{FULLPAGENAME}}]] [[Has object type::Event team]] | ||
+ | |?Has wjahr= {{Tl Jahr}} | ||
+ | |?Has wplatz= {{Tl Platz}} | ||
+ | |?Has event= {{Tl Turnier}} | ||
+ | |?Has wland= {{Tl Land}} | ||
+ | |?Has eventpt={{Tl Punkte}} | ||
+ | |?Has wkpoint= {{Tl_Wertung}} | ||
+ | |?Has turnierteam_cp= | ||
+ | | format=template | ||
+ | | introtemplate=Turnier_Team_begin | ||
+ | | template=Turnier_Team_data | ||
+ | | outrotemplate=Turnier_Team_ende | ||
+ | | link=all | ||
+ | |mainlabel=- | ||
+ | |limit=300 | ||
+ | |||
+ | == Team Logo == | ||
+ | |||
+ | [[{{#ask: [[BerlinCS]]| ?Has logo|mainlabel=-|headers=hide}}]] | ||
+ | |||
+ | {{Teamlogo|BerlinCS}} | ||
+ | |||
+ | |||
+ | == Points Turnier == | ||
+ | |||
+ | {{#ask:[[Has bturnier::Gipfeltreffen_2018]] | ||
+ | |?Has wjahr | ||
+ | |?Has team | ||
+ | |sort=Has wjahr | ||
+ | |order=asc | ||
+ | |headers=hide | ||
+ | |mainlabel=- | ||
+ | }} | ||
+ | |||
+ | == Team Logo== | ||
+ | |||
+ | {{#ask: [[Has object type::Team_rang]] [[Has bturnier::Gipfeltreffen_2018] | ||
+ | |?Has land | ||
+ | |?Has kp2018#-n | ||
+ | |?Has Teamname | ||
+ | |?Has logo | ||
+ | |headers=show | ||
+ | |default= Keine Daten | ||
+ | |order=descending | ||
+ | }} | ||
+ | </td> | ||
+ | |||
+ | |||
+ | == Teamsanzahl== | ||
+ | |||
+ | |||
+ | ==2016 Turniere Auflistung der CP Daten== | ||
+ | |||
+ | {{#ask: | default=keine | ||
+ | |?Turnierauflage={{Tl Anzahl}} | ||
+ | |?Turnierevent=Detaileintrag | ||
+ | |?Land={{Tl Land}} | ||
+ | |?Typus={{Tl Typ}} | ||
+ | |?Has year#={{Tl Spielbeginn}} | ||
+ | |?Has_turnier_gesamt_cp#=TOP EVENT CP | ||
+ | |?Has punkte count#=Anzahl der Teams | ||
+ | |sort=?Has punkte count# | ||
+ | |headers=show | ||
+ | |class=sortable wikitable smwtable | ||
+ | |order=ASC,DESC, | ||
+ | |mainlabel=- | ||
+ | |limet=200 | ||
+ | }} |
Version vom 7. September 2020, 22:43 Uhr
Inhaltsverzeichnis
Chart
Graph Chart
Ausgeschriebene Infos bei Teamseiten
Das Team hat bei folgenden Kubbturnieren den ersten Platz erreicht: BerlinCS Kubbtag 2013 (2013, Deutschland) und Kubb Slackfest Chemnitz 2017 (2017, Deutschland) und Offene Ruppiner Wikingerschach-Meisterschaften 2019 (2019, Deutschland) und Spandauer Kubbturnier (2018, Deutschland)
Nach dem Erreichen des Endspieles wurde die Mannschaft Testseite13 ein starker Zweiter in folgenden Kubbturnieren: BerlinCS Kubbtag 2015 (Deutschland) und Kubb Mirow Herbstturnier 2019 (Deutschland) und Kubb in AB 2015 (Deutschland) und Kubb in AB 2016 (Deutschland) und Offene Ruppiner Wikingerschach-Meisterschaften 2017 (Deutschland) und Offene Ruppiner Wikingerschach-Meisterschaften 2023 (Deutschland)
Leider verpasste das Team von Testseite13 den Einzug in das Finale, konnte sich aber immerhin einen Platz auf dem Podium sicher: Nach dem Erreichen des Endspieles wurde die Mannschaft Testseite13 starker Zweiter in folgenden Kubbturnieren: AHOI-Beachkubb 2021 (Deutschland) und DORF- UND SPORTFEST BRÜSEWITZ 2022 (Deutschland) und EM6 2020 (Deutschland) und Kubb Turnier Mirow Herbst 2018 (Deutschland) und Kubb in AB 2014 (Deutschland) und Offene Ruppiner Wikingerschach-Meisterschaften 2015 (Deutschland) und Offene Ruppiner Wikingerschach-Meisterschaften 2018 (Deutschland) und Stockschlacht 2018 (Deutschland)
Die schlechteste Platzierung in einem Kubbwikiturnier vom Team Testseite13 war im Turnier vom:
EM 2015 (66)
Basis
ask: Testseite13 Event team |?Has wjahr= Jahr |?Has wplatz= Platz |?Has event= Turnier |?Has wland= Nation |?Has eventpt=Punkte |?Has wkpoint= Wertung |?Has turnierteam_cp= | format=template | introtemplate=Turnier_Team_begin | template=Turnier_Team_data | outrotemplate=Turnier_Team_ende | link=all |mainlabel=- |limit=300
Team Logo
Points Turnier
Team Logo
{{#ask: Team_rang [[Has bturnier::Gipfeltreffen_2018] |?Has land |?Has kp2018#-n |?Has Teamname |?Has logo |headers=show |default= Keine Daten |order=descending }}
Teamsanzahl
2016 Turniere Auflistung der CP Daten
keine<ul><li>Die Abfrage enthält hat eine leere Bedingung.</li> <!--br--><li>Der Name des Attributs „?Has punkte count#“ enthält das ungültige Zeichen „?“, das nicht hierfür verwendet werden kann.</li></ul>