Template:Services Being Served: Difference between revisions

From OIAr
Jump to navigation Jump to search
(Created page with "{{#vardefine:pagename|{{PAGENAME}}}} {{#vardefine:numberofusages {{#ask: Category:Service[[Must use service::{{#var:pagename}}]]|format=count}}}} {{#switch:{{#ask: Categ...")
 
No edit summary
Line 1: Line 1:
{{#vardefine:pagename|{{PAGENAME}}}}
{{#vardefine:pagename|{{PAGENAME}}}}
{{#vardefine:numberofusages {{#ask: [[Category:Service]][[Must use service::{{#var:pagename}}]]|format=count}}}}
{{#vardefine:numberofusages1 {{#ask: [[Category:Service]][[Must use service::{{#var:pagename}}]]|format=count}}}}
{{#switch:{{#ask: [[Category:Service]][[Must use service::{{#var:pagename}}]]|format=count}}
{{#switch:{{#ask: [[Category:Service]][[Must use service::{{#var:pagename}}]]|format=count}}
|0        = There are no services registered in this repository that are depending on this service.
|0        = There are no services registered in this repository that are depending on this service.
|1        = The following service is registered in this repository to be dependent on this service:
|1        = The following service is registered in this repository to be dependent on this service:
|#default = The following services are registered in this repository to be dependent on this service::}}
|#default = There are {{#var:numberofusages1}} services are registered in this repository to be dependent on this service::}}
{{#switch:{{#ask: [[Category:Service]][[Must use service::{{#var:pagename}}]]|format=count}}
{{#switch:{{#ask: [[Category:Service]][[Must use service::{{#var:pagename}}]]|format=count}}
  | 0      =  
  | 0      =  
  |#default = {{SmartTable Service Must Usage}} }}
  |#default = {{SmartTable Service Must Usage}} }}
{{#vardefine:pagename|{{PAGENAME}}}}
{{#vardefine:pagename|{{PAGENAME}}}}
{{#vardefine:numberofusages {{#ask: [[Category:Service]][[May use service::{{#var:pagename}}]]|format=count}}}}
{{#vardefine:numberofusages2 {{#ask: [[Category:Service]][[May use service::{{#var:pagename}}]]|format=count}}}}
{{#switch:{{#ask: [[Category:Service]][[Must use service::{{#var:pagename}}]]|format=count}}
{{#switch:{{#ask: [[Category:Service]][[Must use service::{{#var:pagename}}]]|format=count}}
|0        = There are no services registered in this repository that may be served by this service.
|0        = There are no services registered in this repository that may be served by this service.
|1        = The following service is registered in this repository that may be served by this service:
|1        = The following service is registered in this repository that may be served by this service:
|#default = The following services are registered in this repository may be served by this service::}}
|#default = There are {{#var:numberofusages2}} services are registered in this repository may be served by this service::}}
{{#switch:{{#ask: [[Category:Service]][[Must use service::{{#var:pagename}}]]|format=count}}
{{#switch:{{#ask: [[Category:Service]][[Must use service::{{#var:pagename}}]]|format=count}}
  | 0      =  
  | 0      =  

Revision as of 12:59, 28 November 2019


There are no services registered in this repository that are depending on this service.


There are no services registered in this repository that may be served by this service.


Template documentation