(Die Seite wurde neu angelegt: „<!-- outputs one row in the listing-table Os portal listing submits the following parameters 1. Page 2. Service (csl) 3. Targetgroup (csl) 4. Type…“) |
imported>Oetterer |
||
(Eine dazwischenliegende Version von einem anderen Benutzer wird nicht angezeigt) | |||
Zeile 2: | Zeile 2: | ||
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 a lsit of technical services, 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: | + | -->{{#arraydefine:OsPortalListingTableRow_technicalServices|{{{2|}}}|,|sort=asc,unique}}{{#vardefine:OsPortalListingTableRow_technicalServicesString|{{#arrayprint:OsPortalListingTableRow_technicalServices|,|@@@|{{@@@}}}}}}{{#arraydefine:OsPortalListingTableRow_ServicePortals|{{#var:OsPortalListingTableRow_technicalServicesString}}|,|sort=asc,unique}}<!-- |
# and a usable link-format # | # and a usable link-format # | ||
Zeile 15: | Zeile 14: | ||
# now the tr #. | # now the tr #. | ||
--> |- | --> |- | ||
− | | | + | | {{{1|}}} || {{{4|-}}} || {{#arrayprint:OsPortalListingTableRow_ServicePortals|<nowiki > </nowiki>•<nowiki > </nowiki>| @@@ }} || {{Icons user|{{{3|}}}|{{#var:OsPortalListingTableRow_flink|}}}} |
<noinclude> | <noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Aktuelle Version vom 1. März 2023, 12:03 Uhr
|- | || - || ||
Description[Quelltext bearbeiten]
Creates a row used for display format table in {{Os portal listing}}.
Parameters[Quelltext bearbeiten]
Description of the entity created by this template or of the function of this template
Parameter | Beschreibung | Typ | Status | |
---|---|---|---|---|
Article | 1 | Name of and link to article in table listing (primary information!) | Seite | erforderlich |
Service(s) | 2 | List of services the article in this line is written for (comma separated values). | Zeile | vorgeschlagen |
Target audience(s) | 3 | List of target groups the article in this line is written for (comma separated values). | Zeile | vorgeschlagen |
Article type | 4 | Type of article. | Zeile | vorgeschlagen |
Usage[Quelltext bearbeiten]
This is a query template and is calles by a semantic ask query.
Variables[Quelltext bearbeiten]
The templates sets these variables to the described values:
- OsPortalListingTableRow_flink
- link to the article in the row
- OsPortalListingTableRow_service
- array
- list of associated services