Welcome to Assassin's Creed Wiki! Log in and join the community.

Template talk:Imageneed: Difference between revisions

From the Assassin's Creed Wiki
Jump to navigation Jump to search
imported>Soranin
No edit summary
imported>Fielran
Line 9: Line 9:
--[[User:Fielran|Fielran]] ([[User talk:Fielran|talk]]) 02:30, 22 April 2023 (UTC)
--[[User:Fielran|Fielran]] ([[User talk:Fielran|talk]]) 02:30, 22 April 2023 (UTC)
:Seems fine to me. I just have a couple of questions: (1) does the template allow to have more than 1 media per characters for people like Hytham/Eivor that show up a lot? and (2) if there is a typo on the media name, does anything (like a catch-all category) get added? - [[User:Soranin|Soranin]] ([[User talk:Soranin|talk]]) 12:17, 22 April 2023 (UTC)
:Seems fine to me. I just have a couple of questions: (1) does the template allow to have more than 1 media per characters for people like Hytham/Eivor that show up a lot? and (2) if there is a typo on the media name, does anything (like a catch-all category) get added? - [[User:Soranin|Soranin]] ([[User talk:Soranin|talk]]) 12:17, 22 April 2023 (UTC)
::It will scan a list added as a template parameter and add anything that appears in the list, so say [[Altaïr Ibn-La'Ahad]]'s page has all the images it needs from AC1, but needs more from Altaïr's Chronicles and from AC Revelations, the template would be added '''<nowiki>{{imageneed|[[Assassin's Creed: Altaïr's Chronicles]], [[Assassin's Creed: Revelations]]}}</nowiki>''' and would add both corresponding categories (in this case, "Articles needing images from Altaïr's Chronicles" and "Articles needing images from Assassin's Creed: Revelations", though the final category names are definitely up for discussion).<br>
::There is not currently a mechanism to add a category specifically for pages with misspelled media, but everything still goes into the main Articles needing images category whether or not it's added to a more specific category. I could look into changing that but I'm not sure my programming is up to it and I'm honestly not sure it's possible with the extensions currently installed on the wiki.
::--[[User:Fielran|Fielran]] ([[User talk:Fielran|talk]]) 19:48, 22 April 2023 (UTC)

Revision as of 21:48, 22 April 2023

This is the discussion page for Template:Imageneed.
Here, you may discuss improving the article.

Help categorizing

Can anyone help me to make this work (putting articles into Category:Articles needing images)? Said articles with this template are already classified as Articles needing images but in the category they do not show up (on mine at least.) --Silver Mage Ω 12:53, January 24, 2010 (UTC)

Categorizing needed images by media

I have created a draft version of the template which would categorize pages by what media the image would come from. It will (if I've done it right) allow listing the media in the template, similar to Template:Update, without breaking the pages that use the current template. We'd be able to add that information as we're able, and it would automatically use that information to add the page to media-specific image needed categories, ie "Category:Articles needing images from Altaïr's Chronicles" or "Category:Articles needing images from AC2", without needing to add OoU media categories or indicators to the pages outside the template.
The code will not add categories on its own; all possible categories are coded into the template.
I've uploaded the draft to User:Fielran/Sandbox. What are people's thoughts on such a change?
--Fielran (talk) 02:30, 22 April 2023 (UTC)

Seems fine to me. I just have a couple of questions: (1) does the template allow to have more than 1 media per characters for people like Hytham/Eivor that show up a lot? and (2) if there is a typo on the media name, does anything (like a catch-all category) get added? - Soranin (talk) 12:17, 22 April 2023 (UTC)
It will scan a list added as a template parameter and add anything that appears in the list, so say Altaïr Ibn-La'Ahad's page has all the images it needs from AC1, but needs more from Altaïr's Chronicles and from AC Revelations, the template would be added {{imageneed|[[Assassin's Creed: Altaïr's Chronicles]], [[Assassin's Creed: Revelations]]}} and would add both corresponding categories (in this case, "Articles needing images from Altaïr's Chronicles" and "Articles needing images from Assassin's Creed: Revelations", though the final category names are definitely up for discussion).
There is not currently a mechanism to add a category specifically for pages with misspelled media, but everything still goes into the main Articles needing images category whether or not it's added to a more specific category. I could look into changing that but I'm not sure my programming is up to it and I'm honestly not sure it's possible with the extensions currently installed on the wiki.
--Fielran (talk) 19:48, 22 April 2023 (UTC)