Content deleted Content added
m Archiving 1 discussion(s) from Template talk:WPBannerMeta) (bot |
m Archiving 1 discussion(s) from Template talk:WPBannerMeta) (bot |
||
Line 588:
:::Where I wrote "I have just been checking the code more carefully.", this was the ''sandbox'' code as per {{oldid|Template:WPBannerMeta/core/sandbox|1043881411|this revision}}. There is no DEFAULTSORT in there at all. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] 🌹 ([[User talk:Redrose64|talk]]) 20:33, 1 October 2021 (UTC)
::::Ah, that makes more sense then! — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 21:22, 1 October 2021 (UTC)
== Need help with Note #4 at [[:Template:WikiProject Cities]] ==
Note 4 is currently auto-categorizing all talk pages into [[:Category:Unclassified articles missing geocoordinate data]]; however, if one of the {{para|in}} parameters are used, then it goes into the proper classified category. How could we change the NOTE_4_CAT to only categorize those talk pages where in, in2 or in3 is not used?
Example code, as it is now:
<pre>
|note 4={{{needs-geocoord|{{{geocoord-needed|{{{geocoord-requested|{{{geocoord|}}}}}}}}}}}}
|NOTE_4_TEXT = This {{pagetype|{{{class|}}}}} lacks Geocoordinate data. {{#if:{{{small|}}}||Once the Geocoordinates data is added, please remove the {{para|needs-geocoord}} parameter from this template.}} <includeonly>{{#if:{{{in|}}}|[[Category:{{{in}}} articles missing geocoordinate data|{{PAGENAME}}]]}}{{#if:{{{in2|}}}|[[Category:{{{in2}}} articles missing geocoordinate data|{{PAGENAME}}]]}}{{#if:{{{in3|}}}|[[Category:{{{in3}}} articles missing geocoordinate data|{{PAGENAME}}]]}}</includeonly>
|NOTE_4_IMAGE = Blank_globe.svg
|NOTE_4_CAT = Unclassified articles missing geocoordinate data
</pre>
--[[User:Funandtrvl|Funandtrvl]] ([[User talk:Funandtrvl|talk]]) 21:27, 19 February 2022 (UTC)
:It looks like {{tl|coord missing}} uses the Unclassified articles category also. --[[User:Funandtrvl|Funandtrvl]] ([[User talk:Funandtrvl|talk]]) 21:30, 19 February 2022 (UTC)
::This could do it. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 21:37, 19 February 2022 (UTC)
<pre>
|NOTE_4_CAT = {{#if:{{{in|}}}{{{in2|}}}{{{in3|}}}||Unclassified articles missing geocoordinate data}}
</pre>
:::{{ping|User:WOSlinker}} thank you! --[[User:Funandtrvl|Funandtrvl]] ([[User talk:Funandtrvl|talk]]) 05:49, 20 February 2022 (UTC)
|