Template:Services Being Served: Difference between revisions

From OIAr
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions 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 Must Usage}} }}
  |#default = {{SmartTable Service May Usage}} }}
<noinclude>
<noinclude>
{{Documentation}}
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 18:20, 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