Module talk:WikiProject banner/Archive 9: Difference between revisions

Content deleted Content added
MiszaBot II (talk | contribs)
m Archiving 2 thread(s) from Template talk:WPBannerMeta.
MiszaBot II (talk | contribs)
m Archiving 2 thread(s) from Template talk:WPBannerMeta.
Line 532:
:::OK, I updated the template code and added logic for a category if any of the invalid parameters are used. Still need to create the category but you can see it if you look at the bottom of the code for the template.. I tested the change [[Talk:iPhone|here]]. Prior to changing iphone to iOS the task force did not display. Once the task force name was updated all was good. It seems like there are only a couple hundred articles with that task force parameter so it shouldn't be too hard to go through those. --[[User:Kumioko|Kumioko]] ([[User talk:Kumioko|talk]]) 04:22, 29 November 2011 (UTC)
::::Thanks so much for your help! --[[User:Pnm|Pnm]] ([[User talk:Pnm|talk]]) 00:14, 3 December 2011 (UTC)
== needs-image ==
 
I am trying to work out for a number of projects how to have different categories depending on a task force. Take for example [[Template:WikiProject Computing/sandbox]], if the needs-image is set to yes then it places the talk page in [[:Category:Computing articles needing images]]. However I would like to change this to [[:Category:Software articles needing images]] if the task force ''software'' is set. I do not however want to keep the original categorisation and duplicate the request, as current you can see with [[Template talk:WikiProject United States#image-needed]]. How can I do this? --[[User:Traveler100|Traveler100]] ([[User talk:Traveler100|talk]]) 11:47, 30 December 2011 (UTC)
:I've made the changes in the [//en.wikipedia.org/w/index.php?title=Template:WikiProject_Computing/sandbox&diff=468638302&oldid=468594307 sandbox]. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 18:46, 30 December 2011 (UTC)
 
:: Thanks that is useful.--[[User:Traveler100|Traveler100]] ([[User talk:Traveler100|talk]]) 22:02, 30 December 2011 (UTC)
 
: Related question; I am struggling to understand the syntax a little. In [[Template:WikiProject Trains]] for example there is code to set specific categories when two parameters are set. For example '' <nowiki>|cat 1={{#ifeq:{{lc:{{{NYPT|{{{NYCS|}}}}}}}}|yes|yes}} |CAT_1 = New York City public transportation articles needing images</nowiki>'' . But why does this only get set when ''Imageneeded'' is set? --[[User:Traveler100|Traveler100]] ([[User talk:Traveler100|talk]]) 18:10, 30 December 2011 (UTC)
::For that one, it's because it is within NOTE_3_TEXT so only sets the cats when that note is visible. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 18:37, 30 December 2011 (UTC)
 
::: I think I am beginning to understand, not the most user-friendly syntax though :-) . Can you recommend a text editor that counts and displays the brackets well? --[[User:Traveler100|Traveler100]] ([[User talk:Traveler100|talk]]) 22:02, 30 December 2011 (UTC)
 
== Requesting assistance with Christianity banner ==
 
I've tried adding the material from [[Wikipedia:WikiProject Arminianism]] to [[Template:WikiProject Christianity]], but have screwed up so far. If anyone can get the material added, probably with the image on the Arminianism project page, I would be very, very appreciative. [[User:John Carter|John Carter]] ([[User talk:John Carter|talk]]) 20:52, 31 December 2011 (UTC)
 
:I've done a version in the [[Template:WikiProject Christianity/sandbox|sandbox]] for you to check. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 21:22, 31 December 2011 (UTC)
::Looks good. Knowing this is a great deal of work, would there be any way to move the Arminianism to directly below the Anglicanism, and, maybe, add parameters for [[Wikipedia:WikiProject Catholic canon law]] so that that line would appear just below the Catholicism? I know it is a great deal of work, but it would be useful. [[User:John Carter|John Carter]] ([[User talk:John Carter|talk]]) 01:01, 4 January 2012 (UTC)