Skip to content

Allow regex for including template name via include={templateName} #497

@AnataBakka

Description

@AnataBakka

Feature summary (what you would like to be able to do and where):
https://dpl3.wikitide.org/wiki/Controlling_output_volume#include_contents_related_to_templates. I need to include the paramaters of something like {{ {{{1}}} |param1=}}, but it currently appears impossible.

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
It's weird that include = {#.*} appears to work, albeit with some reliability issues as per https://dpl3.wikitide.org/wiki/Controlling_output_volume#include_parser_function_calls The search itself is based on simple heuristics, so the output may not always be correct. and https://followthescore.org/dpldemo/index.php?title=DPL_Example_026 where it adds In the following example the dpl call is not recognized ... .

But include {.*} does not work at all.
Also include = { {{{1}}} } does not work.

Benefits (why should this be implemented?):
Higher use cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions