Difference between revisions of "Template:Only Category"

From AquaPedia Case Study Database
Jump to: navigation, search
(Created page with "<noinclude> This is the "Only Category" template. It should be called in the following format: <pre> {{Only Category |Only Category= }} </pre> Edit the page to see the templat...")
 
Line 8: Line 8:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{| class="wikitable"
+
</noinclude><includeonly>
! Only Category
+
{{#ifeq: {{#show: {{PAGENAME}} | ?Category}} | {{{Only Category|}}} |  [[Category:{{{Only Category|}}}]] |
| {{{Only Category|}}}
+
  {{#if: {{#show: {{PAGENAME}} | ?Category}} | | [[Category:{{{Only Category|}}}]]}}}}
|}
+
 
</includeonly>
 
</includeonly>

Revision as of 15:06, 1 May 2012

This is the "Only Category" template. It should be called in the following format:

{{Only Category
|Only Category=
}}

Edit the page to see the template text.