This is a documentation subpage for Template:BSdirective. It may contain usage information, categories and other content that is not part of the original template page. |
This template may have no transclusions, because it is substituted by a tool or script, it is used as part of a short-term or less active Wikipedia process, or for some other reason. |
Usage
editThis template is intended to transmit some directives to the compiler when translating a {{BS-map}} into a {{routemap}}.
- Inside of a {{BS-map}} structure, {{BSdirective|this_and_that}} is simply skipped.
- At compile time, string this_and_that is simply unprotected. The parser uses the sed rule:
s¶{{BSdirective|\([^}]*\)}}¶\1¶
The parser process therefore assumes that string this_and_that don't contain any closing curly brace.
This artifex can be used to transmit strange tw values, or any other parameter that is found missing after compilation.