Content deleted Content added
GoingBatty (talk | contribs) |
m Archiving 1 discussion(s) from Template talk:WPBannerMeta) (bot |
||
Line 888:
==Discussion at [[:Wikipedia talk:WikiProject Vital Articles#TfD follow-up: Fate of the vital article talk banner|Wikipedia talk:WikiProject Vital Articles § TfD follow-up: Fate of the vital article talk banner]]==
[[File:Symbol watching blue lashes high contrast.svg|25px|link=|alt=]] You are invited to join the discussion at [[:Wikipedia talk:WikiProject Vital Articles#TfD follow-up: Fate of the vital article talk banner|Wikipedia talk:WikiProject Vital Articles § TfD follow-up: Fate of the vital article talk banner]].  Information is particularly sought on whether or not it would be possible to add a parenthetical like {{tq|(Listed at level 3 in People)}} in place of e.g. {{tq|(Rated Mid-Importance)}} without making changes to this template. <span style="color:#AAA"><small>{{u|</small><span style="border-radius:9em;padding:0 5px;background:#088">[[User:Sdkb|<span style="color:#FFF">'''Sdkb'''</span>]]</span><small>}}</small></span> <sup>[[User talk:Sdkb|'''talk''']]</sup> 19:57, 27 May 2023 (UTC)<!-- [[Template:Please see]] -->
== Nested, rated for class, and inactive ==
See [[Talk:Popular culture]], where we find
:'''(Rated C-class)([[Wikipedia:WikiProject Council/Guide#Dealing with inactive WikiProjects|Inactive]])'''
the underlying markup being <syntaxhighlight lang=wikitext>(Rated C-class)([[Wikipedia:WikiProject Council/Guide#Dealing with inactive WikiProjects|Inactive]])</syntaxhighlight> notice the two parentheses are butted up together. I think that we need a space here, but since the two parentheses have different origins, I don't know where the best place is. The first parenthesis originates in [[Template:WPBannerMeta/core]] with these lines: <syntaxhighlight lang=wikitext><th class="wpb-header-assessment">{{#switch:{{#ifeq:{{str left|{{{class|}}}|1}}|H|<!--hide-->|{{str right|{{{class|¬¬}}}|1}}}}
||¬ = {{#switch:{{{importance|}}}
||¬|NA|Unknown = <span class="wpb-iefix"> <!--TO FIX IE--></span>
|#default = (Rated {{{importance|}}}-{{{IMPN}}})
}}
|#default = (Rated {{str right|{{{class|}}}|1}}-class{{#switch:{{{importance|}}}
||¬|NA|Unknown = )
|#default = , {{{importance|}}}-{{{IMPN}}})
}}
}}{{{HOOK_NESTED_ASSESS|}}}
</th></syntaxhighlight> and the second parenthesis is passed into that through {{para|HOOK_NESTED_ASSESS}} from [[Template:Inactive WikiProject banner]] which has the line <syntaxhighlight lang=wikitext> |HOOK_NESTED_ASSESS = ([[Wikipedia:WikiProject Council/Guide#Dealing with inactive WikiProjects|{{#if:{{{status|}}}|{{ucfirst:{{{status}}}}}|Inactive}}]])</syntaxhighlight> Should we add the space in [[Template:WPBannerMeta/core]] as a simple space: <syntaxhighlight lang=wikitext>}} {{{HOOK_NESTED_ASSESS|}}}</syntaxhighlight> or in [[Template:Inactive WikiProject banner]] as an encoded space: <syntaxhighlight lang=wikitext> |HOOK_NESTED_ASSESS =  ([[Wikipedia:WikiProject Council/Guide#Dealing with inactive WikiProjects|{{#if:{{{status|}}}|{{ucfirst:{{{status}}}}}|Inactive}}]])</syntaxhighlight> Opinions? --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] 🌹 ([[User talk:Redrose64|talk]]) 11:22, 10 June 2023 (UTC)
:Either works. I just did the latter and it does look better — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 12:13, 10 June 2023 (UTC)
::{{ty}} --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] 🌹 ([[User talk:Redrose64|talk]]) 16:00, 10 June 2023 (UTC)
|