FANDOM


(Created page with "Cat parameter seems to be not working, so I suggest to replace this code section <pre>{{#ifeq: {{{doc|}}} | yes || {{#if: {{{cat|}}} | {{{cat|}}}}}}}</pre> with <pre>{{#ifeq: ...")
 
(done)
Line 4: Line 4:
   
 
--[[User:Frostvalor|Frostvalor]] ([[User talk:Frostvalor|talk]]) 13:39, October 9, 2018 (UTC)
 
--[[User:Frostvalor|Frostvalor]] ([[User talk:Frostvalor|talk]]) 13:39, October 9, 2018 (UTC)
  +
  +
:Good catch. I made a change very close to what you suggested:
  +
:<code><nowiki>{{#ifeq: {{{doc|}}} | yes || {{#if: {{{cat|}}} | <includeonly>[[Category:{{{cat|}}}|{{PAGENAME}}]]</includeonly>}}}}</nowiki></code>
  +
:--&nbsp;[[User:Fandyllic|<span style="border-bottom:1px dotted; cursor:help;" title="WoWWiki Admin">Fandyllic</span>]]<small> ([[User talk:Fandyllic|talk]] &middot; [[Special:Contributions/Fandyllic|contr]])</small> 11 Oct 2018 11:11 AM Pacific

Revision as of 18:11, October 11, 2018

Cat parameter seems to be not working, so I suggest to replace this code section
{{#ifeq: {{{doc|}}} | yes || {{#if: {{{cat|}}} | {{{cat|}}}}}}}
with
{{#ifeq: {{{doc|}}} | yes || {{#if: {{{cat|}}} | <includeonly>[[Category:{{{cat|}}}]]</includeonly>}}}}

It seems to work for me.

--Frostvalor (talk) 13:39, October 9, 2018 (UTC)

Good catch. I made a change very close to what you suggested:
{{#ifeq: {{{doc|}}} | yes || {{#if: {{{cat|}}} | <includeonly>[[Category:{{{cat|}}}|{{PAGENAME}}]]</includeonly>}}}}
-- Fandyllic (talk · contr) 11 Oct 2018 11:11 AM Pacific
Community content is available under CC-BY-SA unless otherwise noted.