Difference between revisions of "Template:Only Category"
From AquaPedia Case Study Database
Line 9: | Line 9: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
− | Before Category: {{#ask: [[{{PAGENAME}}]] | ?Category | link=none}} | + | Before Category: {{#ask: [[{{PAGENAME}}]] | ?Category | format=list| link=none}} |
Matching String: {{{Only Category|}}} | Matching String: {{{Only Category|}}} | ||
− | {{#ifeq: {{#ask: [[{{PAGENAME}}]] | ?Category | link=none}} | {{{Only Category|}}} | Matched![[Category:{{{Only Category|}}}]] | | + | {{#ifeq: {{#ask: [[{{PAGENAME}}]] | ?Category | format=list| link=none}} | {{{Only Category|}}} | Matched![[Category:{{{Only Category|}}}]] | |
− | {{#if: {{#ask: [[{{PAGENAME}}]] | ?Category | link=none}} | Mismatched! | Was Blank[[Category:{{{Only Category|}}}]]}}}} | + | {{#if: {{#ask: [[{{PAGENAME}}]] | ?Category | format=list| link=none}} | Mismatched! | Was Blank[[Category:{{{Only Category|}}}]]}}}} |
− | After Category: {{#ask: [[{{PAGENAME}}]] | ?Category | link=none}} | + | After Category: {{#ask: [[{{PAGENAME}}]] | ?Category | format=list| link=none}} |
</includeonly> | </includeonly> |
Revision as of 14:26, 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.