Template talk:Iconify

From Crusader Kings II Wiki
Jump to navigation Jump to search


This really deserves to be more robust, in the manner of EU4 Wiki's Template:Icon. I just tried to iconify "Mastermind Theologian" but that came up with a red link, because the icon file's name is capitalised differently. I tried redirecting the capitalisation I wanted (the correct one, both words capitalised) but that doesn't work. A good template would find the correct image for that name no matter its capitalisation. Hairy Dude (talk) 03:58, 21 June 2015 (CEST)

It's less flexible than eu4 wiki one, but doesn't require an admin action (these template being protected due to high usage). The approach with this template was semantics & convention over configuration:
  • Icons should be named after vanilla label/tooltlip text rather than a logical file name.
  • Multi-word wiki page titles are not capitalized (except case of proper nouns, etc.)
The redirect solution works, but the redirect needs to be in File: namespace too (ex: Mastermind Theologian ). -Romulien (talk) 09:12, 21 June 2015 (CEST)