Difference between revisions of "Template:Services Being Served"

From OIAr
Jump to navigation Jump to search
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
|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 = There are {{#var:numberofusages1}} services are registered in this repository to be dependent on this service::}}
+
|#default = There are {{#var:numberofusages1}} services 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      =  
Line 10: Line 10:
 
{{#vardefine:pagename|{{PAGENAME}}}}
 
{{#vardefine:pagename|{{PAGENAME}}}}
 
{{#vardefine:numberofusages2 {{#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]][[May 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 = There are {{#var:numberofusages2}} services are registered in this repository may be served by this service::}}
+
|#default = There are {{#var:numberofusages2}} services 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]][[May use service::{{#var:pagename}}]]|format=count}}
 
  | 0      =  
 
  | 0      =  
 
  |#default = {{SmartTable Service May Usage}} }}
 
  |#default = {{SmartTable Service May Usage}} }}

Revision as of 17:17, 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