(Die Seite wurde neu angelegt: „{{SandboxTemplate|para1|para1=ausgabe}}“) |
|||
(81 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
− | {{ | + | PLEASE IGNORE TEXT BELOW THIS LINE |
+ | ----- | ||
+ | |||
+ | |||
+ | |||
+ | <!-- | ||
+ | This is VE Test | ||
+ | |||
+ | == Sandbox == | ||
+ | * [[User:Oetterer/Sandbox]] | ||
+ | |||
+ | == Sandbox == | ||
+ | {{#ask:[[Category:Artikel]]|?is service list item|?is disambiguation|format=table}} | ||
+ | <!-- | ||
+ | {{#ask:[[Category:Artikel]] | ||
+ | |? belongs to metaservice=Dienst |+filter=value |+value filter switches=and or | ||
+ | |? belongs to os=Betriebssystem |+filter=value |+value filter switches=and or|+value filter collapsible=uncollapsed | ||
+ | |? is of type=Dokumenttyp |+filter=value |+value filter switches=and or|+value filter collapsible=collapsed | ||
+ | |||
+ | |format=filtered | ||
+ | |views=list | ||
+ | |headers=plain | ||
+ | |||
+ | |list view type=list | ||
+ | |limit=500 | ||
+ | }}--> | ||
+ | |||
+ | <!--{{otrs|123456}} | ||
+ | == UrlGetParameter == | ||
+ | |||
+ | This is parameter ''redir_to'': {{#urldecode:{{#urlget:redir_to|defaulting}}}} | ||
+ | |||
+ | |||
+ | == Listen == | ||
+ | {{#ask: [[Meta:+]] [[Belongs to metaservice::+]] |mainlabel=-|?#|format=ul|sort=, }} | ||
+ | |||
+ | === Alle Anleitungen === | ||
+ | {{#ask: [[is of type::Anleitung]]|?belongs to metaservice|?erstellt|?zuletzt geändert|format=table|limit=500}} | ||
+ | |||
+ | Diese Liste als {{#ask: [[is of type::Anleitung]]|?belongs to metaservice|?erstellt|?zuletzt geändert|format=csv|limit=500}}-Datei. | ||
+ | |||
+ | === Alle Informationsseiten/Policys === | ||
+ | {{#ask: [[is of type::Information]] OR [[is of type::Policy]]|?belongs to metaservice|?erstellt|?zuletzt geändert|format=table|limit=500}} | ||
+ | |||
+ | Diese Liste als {{#ask: [[is of type::Information]] OR [[is of type::Policy]]|?belongs to metaservice|?erstellt|?zuletzt geändert|format=csv|limit=500}}-Datei. | ||
+ | |||
+ | {{#ask: [[belongs to metaservice::+]] |?belongs to metaservice |format=tagcloud | ||
+ | |link=all | ||
+ | |headers=show | ||
+ | |tagorder=alphabetical | ||
+ | |increase=log | ||
+ | |widget=wordcloud }} | ||
+ | |||
+ | |||
+ | {{#ask: [[belongs to metaservice::+]] |?belongs to metaservice |format=tagcloud | ||
+ | |headers=show | ||
+ | |tagorder=alphabetical | ||
+ | |widget=sphere | ||
+ | }} | ||
+ | |||
+ | {{#ask: [[is of type::Anleitung]] |?Creation date |format=eventline|timelinesize=200px|limit=1000|timelinebands=DAY,WEEK,MONTH|timelineposition=end}} | ||
+ | |||
+ | {{#ask: [[is of type::Anleitung]] |?Creation date |?Modification date |format=timeline|timelinesize=300px|limit=1000|timelinebands=DAY,WEEK,MONTH|timelineposition=end}} | ||
+ | |||
+ | <!--{{#ask: [[is of type::Anleitung]] |?Modification date |format=json}} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | {{#ask: [[Belongs to service::Netzwerkspeicher]] [[is service list item::wahr]] [[exclude from watchlist::!wahr]] |?is service list item }} | ||
+ | |||
+ | |||
+ | {{#ask: [[Meta:+]] [[Belongs to metaservice::+]] |?belongs to metaservice= |format=ul }} | ||
+ | |||
+ | <!--{{#arraydefine:- -> | ||
+ | hier: | ||
+ | {{#ask: [[provides structure for::metaservice]]|mainlabel=-|format=list}} | ||
+ | |||
+ | == old == | ||
+ | {{#ask:[[belongs to service::mail]] | ||
+ | |?# | ||
+ | |?Is of type | ||
+ | |format=broadtable | ||
+ | |link=all | ||
+ | |headers=show | ||
+ | |searchlabel=… weitere Ergebnisse | ||
+ | |class=sortable wikitable smwtable | ||
+ | }} | ||
+ | |||
+ | <span class="js_param" id="cstatedefaulthidden">TruE</span> | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! style="width:600px" | The header !! style="width:300px" | field 2 | ||
+ | |- | ||
+ | || Click Me <span class="collapseToggler" id="careaid1"></span>|| not me | ||
+ | |- class="collapsibleArea_careaid1" style="display: none" | ||
+ | | content left || content right | ||
+ | |- class="collapsibleArea_careaid1" style="display: none" | ||
+ | | content left || content right | ||
+ | |- class="collapsibleArea_careaid1" style="display: none" | ||
+ | | content left || content right | ||
+ | |- | ||
+ | || Click Me <span class="collapseToggler" id="careaid2"></span>|| not me | ||
+ | |- class="collapsibleArea_careaid2" style="display: none" | ||
+ | | content left || content right | ||
+ | |- class="collapsibleArea_careaid2" style="display: none" | ||
+ | | content left || content right | ||
+ | |- class="collapsibleArea_careaid2" style="display: none" | ||
+ | | content left || content right | ||
+ | |- class="collapsibleArea_careaid2" style="display: none" | ||
+ | | content left || content right | ||
+ | |- class="rowToHover" id="3" | ||
+ | | Hover Me || or me | ||
+ | |- class="row3Collapse" style="display:none" | ||
+ | | content left || content right | ||
+ | |- class="row3Collapse" style="display:none" | ||
+ | | content left || content right | ||
+ | |- class="row3Collapse" style="display:none" | ||
+ | | content left || content right | ||
+ | |- class="row3Collapse" style="display:none" | ||
+ | | content left || content right | ||
+ | |- class="row3Collapse" style="display:none" | ||
+ | | content left || content right | ||
+ | |- | ||
+ | | bottom || does nothing | ||
+ | |} | ||
+ | |||
+ | <div class="rowToHover" style="width:400px" id="5"> | ||
+ | This text is collapsible. Lorem Ipsum. Situs wilat einis et abanet! | ||
+ | </div> | ||
+ | |||
+ | <div class="row5Collapse" style="width:400px"> | ||
+ | 2This text is collapsible. Lorem Ipsum. Situs wilat einis et abanet! | ||
+ | </div> | ||
+ | |||
+ | |||
+ | |||
+ | {{#arraydefine:os_valid_values|{{#ask:[[Attribut:Belongs to os]] |?Allows value= |format=list |mainlabel=- }}}}<!-- # note: need some technique to automatically get the correlation os <..> os family. as of now, maintained manually -->{{#arraydefine:windows |Windows XP, Windows Vista, Windows 7, Windows 8 }}{{#arraydefine:macos |MacOS X Snow Leopard, MacOS X Lion, MacOS X Mountain Lion }}{{#arraydefine:linux |Linux }}{{#arraydefine:ios |iOS 4, iOS 5, iOS 6 }}{{#arraydefine:android |Android Gingerbread, Android Honeycomb, Android Ice Cream Sandwich, Android Jelly Bean, Android Key Lime Pie }} | ||
+ | |||
+ | {{#arraydefine:osfamilies|windows, android, ios, macox, linux}} | ||
+ | |||
+ | {{#arraydefine:input_os|Windows 7, Windows 8, iOS 5, Android Key Lime Pie|,|sort=asc}} <!-- test: fill manually --> | ||
+ | |||
+ | <!-- plausibility test --> | ||
+ | {{#arrayprint:input_os ||@@@@ | {{#if:{{#arraysearch:os_valid_values|@@@@}}||{{#vardefine:error_os|{{#var:error_os|}}@@@@, }}}}}} | ||
+ | |||
+ | idee: | ||
+ | * ich gehe das input-array durch. für jeden wert gehe ich alle famielenarrays durch. wenn gefunden, füge ich den famieliennamen einem string hinzu (komma-separiert). | ||
+ | * aus dem string baue ich mir ein unique array | ||
+ | * wenn da mehr als 1 wert drin ist, nehme ich array mit flag ListeOSses | ||
+ | * wenn da nur ein wert drin ist, ist das meine infobox | ||
+ | {{#vardefine:familesused|{{#arrayprint:input_os ||@@@@ | {{#arrayprint:osfamilies ||#### |{{#if: {{#arraysearch:####|@@@@}}|####,|<!-- eo:if-->}} <!-- end of arrayprint:osfamilies-->}}<!-- end of arrayprint:input_os-->}}<!-- eo: vardefine-->}} | ||
+ | |||
+ | variable: {{#var:familesused|empty}} | ||
+ | |||
+ | {{#arraydefine:useInfobox|{{#var:familesused|}}|,|unique,sort=asc}} | ||
+ | |||
+ | array useInfobox: {{#arrayprint:useInfobox}} | ||
+ | |||
+ | {{#ask: [[Attribut:Written_for]] | ?Allows value=|format=list|mainlabel=-}} | ||
+ | |||
+ | {{#arraydefine:b |1, 4}} | ||
+ | |||
+ | normal arrayprint: {{#arrayprint:b}} | ||
+ | |||
+ | |||
+ | with function: {{#arrayprint:b |<br/> |@@@@ |length of @@@@:{{#len:@@@@}} }} | ||
+ | |||
+ | |||
+ | {{#if:{{#arraysearch:b | }} |gefunden|nicht gefunden}} | ||
+ | |||
+ | {{#arraydefine:a |aa, bb, cc, dd}}{{#arraydefine:aa |aa1, aa2, aa3, aa4}}{{#arraydefine:bb |bb1, bb2, bb3, bb4}}{{#arraydefine:cc |cc1, cc2, cc3, cc4}}{{#arraydefine:dd |dd1, dd2, dd3, dd4}} | ||
+ | |||
+ | {{#arrayprint:a |<br/> |@@@ |@@@: {{#arrayprint:@@@|-|###|### ({{#len:###}})}} }} | ||
+ | <!-- {{#arrayprint:@@@ |,<nowiki> </nowiki>|@@ |@@ ({{#len:@@}}) | ||
+ | {{#arrayprint:a |<br/> |@ |@: {{#arrayprint:@ |,<nowiki> </nowiki>|@@ |@@ ({{#len:@@}}) }} --> |
Aktuelle Version vom 12. März 2021, 12:19 Uhr
PLEASE IGNORE TEXT BELOW THIS LINE
idee:
- ich gehe das input-array durch. für jeden wert gehe ich alle famielenarrays durch. wenn gefunden, füge ich den famieliennamen einem string hinzu (komma-separiert).
- aus dem string baue ich mir ein unique array
- wenn da mehr als 1 wert drin ist, nehme ich array mit flag ListeOSses
- wenn da nur ein wert drin ist, ist das meine infobox
variable: android,windows,windows,ios,
array useInfobox: android, ios, windows
normal arrayprint: 1, 4
with function: length of 1:1
length of 4:1
nicht gefunden
aa: aa1 (3)-aa2 (3)-aa3 (3)-aa4 (3)
bb: bb1 (3)-bb2 (3)-bb3 (3)-bb4 (3)
cc: cc1 (3)-cc2 (3)-cc3 (3)-cc4 (3)
dd: dd1 (3)-dd2 (3)-dd3 (3)-dd4 (3)