Difference between revisions of "Ifincategory"

From Sega Retro

(Created page with "<includeonly>{{#if:{{#dpl: | title={{{1|}}} | category={{{2|Nothing}}} | noresultsheader=\n }}|true|}}</includeonly><noinclude> Template to check if a page exists in a categor...")
 
 
Line 1: Line 1:
 
<includeonly>{{#if:{{#dpl:
 
<includeonly>{{#if:{{#dpl:
| title={{{1|}}}
+
| titlematch={{{1|}}}
 
| category={{{2|Nothing}}}
 
| category={{{2|Nothing}}}
 
| noresultsheader=\n
 
| noresultsheader=\n
Line 7: Line 7:
 
<pre>{{ifincategory|<PAGE>|<CATEGORY>}}</pre>
 
<pre>{{ifincategory|<PAGE>|<CATEGORY>}}</pre>
  
 +
<pre>{{ifincategory|Sega Bass Fishing|Visual Memory Unit-compatible games}}</pre>
 +
{{ifincategory|Sega Bass Fishing|Visual Memory Unit-compatible games}}
 +
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 15:59, 26 August 2024

Template to check if a page exists in a category. Apparently this isn't a built-in function.

{{ifincategory|<PAGE>|<CATEGORY>}}
{{ifincategory|Sega Bass Fishing|Visual Memory Unit-compatible games}}

true