K (Schützte „Vorlage:Service portal listing“ ([Bearbeiten=Nur Administratoren erlauben] (unbeschränkt) [Verschieben=Nur Administratoren erlauben] (unbeschränkt))) |
|||
Zeile 11: | Zeile 11: | ||
# and finally: here comes the listing # | # and finally: here comes the listing # | ||
-->{{#switch: {{{format|}}} | -->{{#switch: {{{format|}}} | ||
− | | list = {{#ask: [[shows on service landing page::{{#if:{{{service|}}}|{{{service}}}|{{BASEPAGENAME}}}}]] {{#arrayprint:type_arr| OR |@@@|[[Is of type::@@@]] }} | + | | list = {{#ask: [[Is associated to service.shows on service landing page::{{#if:{{{service|}}}|{{{service}}}|{{BASEPAGENAME}}}}]] {{#arrayprint:type_arr| OR |@@@|[[Is of type::@@@]] }} |
| ?# | | ?# | ||
| ?Is related to os# | | ?Is related to os# | ||
Zeile 23: | Zeile 23: | ||
| template=Service portal listing/list | | template=Service portal listing/list | ||
}} | }} | ||
− | | #default = {{#ask: [[shows on service landing page::{{#if:{{{service|}}}|{{{service}}}|{{BASEPAGENAME}}}}]] <q>{{#arrayprint:type_arr| OR |@@@|[[Is of type::@@@]] }}</q> | + | | #default = {{#ask: [[Is associated to service.shows on service landing page::{{#if:{{{service|}}}|{{{service}}}|{{BASEPAGENAME}}}}]] <q>{{#arrayprint:type_arr| OR |@@@|[[Is of type::@@@]] }}</q> |
| ?# | | ?# | ||
| ?Is related to os# | | ?Is related to os# |
Version vom 4. Oktober 2016, 13:56 Uhr
Description[Quelltext bearbeiten]
This template uses Lua: |
Parameters[Quelltext bearbeiten]
When on a service portal page, prints all articles of given type associated to that service landings page (through being assigned to corresponding service).
Parameter | Beschreibung | Typ | Status | |
---|---|---|---|---|
Article type | type | define, which article type(s) are used for filtering the list. provide a comma separated list if more than one
| Zeile | vorgeschlagen |
associated service | service | filters listed service for a given service-association
| Zeile | optional |
Usage[Quelltext bearbeiten]
{{Service portal listing|type=Information,Policy,FAQ}}