Difference between revisions of "Template:Required OXP"

From Elite Wiki
(Template for dependencies)
 
(I have the feeling this line is not needed, so give it a try.)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
The Category name is build by using ''Required_OXP-'' + parameter.
+
This template is meant to be used on articles about OXPs that need another OXP to work.
  
The template places the calling page into that Category if it exists.
+
The category name is build by using ''Required OXP'' + parameter, like this <code><nowiki>{{Required OXP|...}}</nowiki></code>.
 +
 
 +
The template places the calling page into that category, if it exists.
 +
 
 +
Presently the only categories in use are
 +
* [[:Category:Required OXP-Cabal Common Library|Required OXP-Cabal Common Library]] added by <code><nowiki>{{Required OXP|Cabal Common Library}}</nowiki></code>
 +
* [[:Category:Required OXP-Snoopers|Required OXP-Snoopers]] added by <code><nowiki>{{Required OXP|Snoopers}}</nowiki></code>
 +
 
 +
[[Category:OXP templates|*]]
 
</noinclude>
 
</noinclude>
  
 
{{#ifexist: :Category:Required_OXP-{{{1}}} |  
 
{{#ifexist: :Category:Required_OXP-{{{1}}} |  
 
   <includeonly>[[Category:Required_OXP-{{{1}}}]]</includeonly>
 
   <includeonly>[[Category:Required_OXP-{{{1}}}]]</includeonly>
  <noinclude>[[:Category:Required_OXP-{{{1}}}]]</noinclude>
 
 
  |}}
 
  |}}

Latest revision as of 18:32, 24 January 2016

This template is meant to be used on articles about OXPs that need another OXP to work.

The category name is build by using Required OXP + parameter, like this {{Required OXP|...}}.

The template places the calling page into that category, if it exists.

Presently the only categories in use are