Template talk:Infobox CCG
From Paragon Wiki Archive
Revision as of 04:36, 13 December 2013 by Felderburg (Talk | contribs)
See Also Automatically Added
So this template has four articles added to a "See Also" section that directs readers to other COHCCG pages. That's fine, but for many pages (heroes mostly - e.g. Positron or Flower Knight) the "See Also" really ought to include a link to their main NPC page. Putting it in manually is fine, but time consuming. Is there some sort of "if / then" command that could grab the title of the card, and if it exists as an article in the main wiki space, automatically add that article to the "See Also" section? Felderburg 15:37, 12 December 2013 (UTC)
- Go Sekoia! It worked! ....now I just need to remove the manually entered links. Felderburg 02:51, 13 December 2013 (UTC)
- There was less than I thought, but I did find one (Radiation Aura) that is essentially the same as the Radiant Aura power. So I put the "ifexist" command at the bottom, so that pages like Radiation Aura have the same order of See Also links. Plus now all the COH CCG things will be first in the See Also section, and the other stuff will follow. Felderburg 04:36, 13 December 2013 (UTC)