K (Schützte „Vorlage:Os portal listing/list“ ([Bearbeiten=Nur Administratoren erlauben] (unbeschränkt) [Verschieben=Nur Administratoren erlauben] (unbeschränkt))) |
|||
Zeile 3: | Zeile 3: | ||
Os portal listing submits the following parameters | Os portal listing submits the following parameters | ||
1. Page | 1. Page | ||
− | 2. Service (csl) | + | 2. Service (csl) -- this is the technical service, not the service landing page. those you get after transclusion |
3. Targetgroup (csl) | 3. Targetgroup (csl) | ||
4. Type | 4. Type | ||
# convert input-strings in arrays # | # convert input-strings in arrays # | ||
− | -->{{#arraydefine:OsPortalListingList_targetgroup|{{{3|}}}|,|sort=asc,unique}}{{#arraydefine: | + | -->{{#arraydefine:OsPortalListingList_targetgroup|{{{3|}}}|,|sort=asc,unique}}{{#arraydefine:OsPortalListingList_technicalServices|{{{2|}}}|,|sort=asc,unique}}{{#vardefine:OsPortalListing_technicalServicesString|{{#arrayprint:OsPortalListingList_technicalServices|,|@@@|{{@@@}}}}}}{{#arraydefine:OsPortalListingList_servicePortal|{{#var:OsPortalListing_technicalServicesString}}|,|sort=asc,unique}}<!-- |
# and a usable link-format # | # and a usable link-format # | ||
-->{{#vardefine:OsPortalListingList_flink|{{urlencode:{{{1|}}}|WIKI}}}}<!-- | -->{{#vardefine:OsPortalListingList_flink|{{urlencode:{{{1|}}}|WIKI}}}}<!-- | ||
− | # now the entry # -->* [[{{{1}}}]] ({{#if:{{{4|}}}|{{{4}}}: <nowiki > </nowiki>|}}{{#arrayprint: | + | # now the entry # -->* [[{{{1}}}]] ({{#if:{{{4|}}}|{{{4}}}: <nowiki > </nowiki>|}}{{#arrayprint:OsPortalListingList_servicePortal|<nowiki > </nowiki>•<nowiki > </nowiki>| @@@ }}; {{#arrayprint:OsPortalListingList_targetgroup|<nowiki > </nowiki>•<nowiki > </nowiki>| @@@ | {{Icons|@@@|{{#var:OsPortalListingList_flink}}}} }})<noinclude> |
{{documentation|content=Query template for processing output. Prints items in an ul-format}} | {{documentation|content=Query template for processing output. Prints items in an ul-format}} |
Aktuelle Version vom 5. Oktober 2016, 10:47 Uhr
- [[{{{1}}}]] (; )
Template documentation
Query template for processing output. Prints items in an ul-format