Module:Tech news/doc
Appearance
This is the documentation page for Module:Tech news
This page is kept for historical interest. Any policies mentioned may be obsolete. If you want to revive the topic, you can use the talk page or start a discussion on the community forum. |
See also: Module:Assemble multilingual message
This module is rated as beta, and is ready for widespread use. It is still new and should be used with some caution to ensure the results are as expected. |
This module contains various hacks that were used by Tech News. Since MassMessage now supports translated content, this module is no longer widely used.
Assemble newsletter
[edit]Assemble the distributable version (no longer necessary). It’s used on Tech/News/Sandbox in the form
{{#invoke:Tech news|assembleNewsletter|year=year|week=week|language1|language2|…}}
for example
{{#invoke:Tech news|assembleNewsletter|year=2024|week=49|en|de|es}}
Get the section tag
[edit]Get the <section begin="..."/>
and <section end="..."/>
tags used when distributing directly using MassMessage instead of the above assembler function.
{{subst:#invoke:Tech news|getSectionTag|begin}} ... {{subst:#invoke:Tech news|getSectionTag|end}}