Content deleted Content added
m Archiving 1 discussion(s) from Module talk:WikiProject banner) (bot |
m Archiving 1 discussion(s) from Module talk:WikiProject banner) (bot |
||
Line 475:
Just dropping this here because I don't know how to fix it yet. [[Template:WikiProject Military history]] has an unrecognised parameter error. This is because {{para|list}} and {{para|A-Class}} are passed for the benefit of the custom mask, but the banner is not expecting those parameters. Ideally we would not pass those parameters, and instead tweak the call to [[Module:Arguments]] so it looks at the parent frame arguments. — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 18:15, 17 October 2023 (UTC)
== Task force text ==
I think it would be useful to have a {{para|TF_TEXT}} option which would define how the text for each task force is formatted. It would have access to the name, link, and normalised taskforce importance via special strings _NAME_, _LINK_, _IMPORTANCE_ which will be substituted by the module. In most banner templates it would save having to define TF_1_TEXT, TF_2_TEXT, etc. separately. For example it could be used as follows:
<pre>TF_TEXT = This article is supported by the [[_LINK_|_NAME_ task force]] (rated as _IMPORTANCE_-importance)</pre> — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 07:31, 18 October 2023 (UTC)
|