Difference between revisions of "Template:Only Category"
From AquaPedia Case Study Database
Line 10: | Line 10: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
Before Category: {{#show: {{PAGENAME}} | ?Category}} | Before Category: {{#show: {{PAGENAME}} | ?Category}} | ||
+ | Matching String: {{{Only Category|}}} | ||
+ | |||
{{#ifeq: {{#show: {{PAGENAME}} | ?Category}} | {{{Only Category|}}} | Matched![[Category:{{{Only Category|}}}]] | | {{#ifeq: {{#show: {{PAGENAME}} | ?Category}} | {{{Only Category|}}} | Matched![[Category:{{{Only Category|}}}]] | | ||
− | {{#if: {{#show: {{PAGENAME}} | ?Category}} | | + | {{#if: {{#show: {{PAGENAME}} | ?Category}} | Mismatched! | Was Blank[[Category:{{{Only Category|}}}]]}}}} |
+ | |||
After Category: {{#show: {{PAGENAME}} | ?Category}} | After Category: {{#show: {{PAGENAME}} | ?Category}} | ||
</includeonly> | </includeonly> |
Revision as of 15:19, 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.