This template is within the scope of the Military history WikiProject. If you would like to participate, please visit the project page, where you can join the project and see a list of open tasks. To use this banner, please see the full instructions.Military historyWikipedia:WikiProject Military historyTemplate:WikiProject Military historymilitary history
This template is within the scope of WikiProject Africa, a collaborative effort to improve the coverage of Africa on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.AfricaWikipedia:WikiProject AfricaTemplate:WikiProject AfricaAfrica
The data of Source_Tempate is a sub-set of the data in Target_Template - i.e. all operations and battles of the Congo Crisis are listed in Source_Template and we re-use them in Target_Template along with other data. It does not make sense to maintain these data in two places, editors edit on one place and not the other and they are no longer in sync. Source_Template should be the sole source of data for "Operations and Battles" section, and anything changed in Source_Template should automatically update "Operations and Battles" section within Target_Template. One should do this using the "Transclusion" function - but that function seems to only work for Wiki pages and not for templates. I've been consulting on Wikipedia:Village pump (technical)#Help on "nested templates" but not gotten it to work yet.
If this does not work, we have three options:
Maintain data in both Source and Target templates and leave a comment on both template page codes to ask editors to update in both places;
Only use the expanded Target_Template and depreciate use of Source_Template
Remove the "Operations and Battles" data from Target_Template and continue using both
We will limit the Congo Crisis by date range, and one can still add to the second list, over and above the transclusion list. Farawayman (talk) 18:01, 18 June 2021 (UTC)[reply]
I've found an existing template/module ({{excerpt}}) that does the same thing and used that to make the change to {{Congo Conflict: 1960–1968}}. Note I've wrapped the comment in this template with <noinclude> tags to prevent the "and" within the section tags mentioned in the comment being transcluded. — Jts1882 | talk08:04, 19 June 2021 (UTC)[reply]
Jts1882 - Well done! Works perfectly. Thanks Jts1982!