Zeile 13: | Zeile 13: | ||
-->|{{errortext|Bitte eine oder mehrere Serviceportalseiten angeben, auf denen Artikel für diesen Service angezeigt werden!}}[[Category:Servicepages with erroneous input]]}}<!-- | -->|{{errortext|Bitte eine oder mehrere Serviceportalseiten angeben, auf denen Artikel für diesen Service angezeigt werden!}}[[Category:Servicepages with erroneous input]]}}<!-- | ||
* set display name to {{{displayname}}} oif set, to page name otherwise | * set display name to {{{displayname}}} oif set, to page name otherwise | ||
− | -->{{#set:has display title={{#if:{{{displayname|}}}|{{{displayname}}}|{{PAGENAME}}}}}}<!-- | + | -->{{#set:has display title={{#if:{{{displayname|}}}|{{{displayname}}}|{{PAGENAME}}}}}}{{DISPLAYTITLE:{{#if:{{{displayname|}}}|{{{displayname}}}|{{PAGENAME}}}}}}<!-- |
* and now categorize the service | * and now categorize the service | ||
-->{{#ifeq:{{{active|Nein}}}|Ja|[[Category:Services]]|[[Category:Inactive services]]}} | -->{{#ifeq:{{{active|Nein}}}|Ja|[[Category:Services]]|[[Category:Inactive services]]}} |
Aktuelle Version vom 13. April 2023, 06:57 Uhr
Description[Quelltext bearbeiten]
Links a technical service (PAGENAME) to one or many service landing page(s) (parameter portal). Page will also be categorized in Category:Services or Category:Inactive services, depending on parameter active.
When in another namespace than 3608 (Service), returns the associated service portal pages as comma separated list.
Special: When in 3500 (Meta) sets category Category:Inactive services and displays an error.
Parameters[Quelltext bearbeiten]
Links a technical service (PAGENAME) to a service landing page.
Parameter | Beschreibung | Typ | Status | |
---|---|---|---|---|
Serviceportal | portal | Depicts the service landing page, articles belonging to that technical service are listed on | Seite | erforderlich |
Aktiv | active | Activates or deactivates the service. | Boolesch | optional |
Anzeigename | displayname | Sets the name for this service used in the drop down on article forms. | Zeile | optional |
Usage[Quelltext bearbeiten]
{{service |portal=PAGE |active=Ja }}
See also[Quelltext bearbeiten]
- {{service portal}}
- {{article}}
- {{os}}