Zeile 6: | Zeile 6: | ||
== Parameters == | == Parameters == | ||
<templatedata>{ | <templatedata>{ | ||
− | "description": " | + | "description": "When on a service portal page, prints all articles of given type associated to that service landings page (through being assigned to corresponding service).", |
"params": { | "params": { | ||
"type": { | "type": { | ||
Zeile 26: | Zeile 26: | ||
<!-- see https://www.mediawiki.org/wiki/Extension:TemplateData#Format for more information about template data --> | <!-- see https://www.mediawiki.org/wiki/Extension:TemplateData#Format for more information about template data --> | ||
== Usage == | == Usage == | ||
− | + | <pre> | |
{{Service portal listing|type=Information,Policy,FAQ}} | {{Service portal listing|type=Information,Policy,FAQ}} | ||
− | </ | + | </pre> |
== Variables == | == Variables == | ||
Zeile 54: | Zeile 54: | ||
* {{tl|Service portal listing/list}} | * {{tl|Service portal listing/list}} | ||
− | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | + | [[Category:Hilfewiki templates]]<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | |
{{#ifeq:{{SUBPAGENAME}}|sandbox | | | {{#ifeq:{{SUBPAGENAME}}|sandbox | | | ||
<!-- ADD CATEGORIES AFTER THIS LINE --> | <!-- ADD CATEGORIES AFTER THIS LINE --> | ||
− | [[Category:Query | + | [[Category:Query templates]] |
}} | }} | ||
}}</includeonly> | }}</includeonly> |
Version vom 30. September 2016, 11:37 Uhr
This is a documentation subpage for Vorlage:Service portal listing. It contains usage information, categories and other content that is not part of the original vorlage page. |
Description[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).
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 |
display format | format | controls which type of display format will be used. possible values are list, table.
| Zeile | vorgeschlagen |
Usage[Quelltext bearbeiten]
{{Service portal listing|type=Information,Policy,FAQ}}
Variables[Quelltext bearbeiten]
The templates sets these variables to the described values:
- input_type
- array
- Types (for filter) provided by user
- error_type
- all errorneous types provided by user
- type
- temporary variable used to create type_arr
- type_arr
- array
- result of input_type filtered by type_valid_values thus provided the resulting list of types used as selector for the query
- type_valid_values
- array
- all valid types in system