Jump to content

Template:BSdirective/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This template is intended to transmit some directives to the compiler when translating a {{BS-map}} into a {{routemap}}.

  1. Inside of a {{BS-map}} structure, {{BSdirective|this_and_that}} is simply skipped.
  2. At compile time, string this_and_that is simply unprotected. The parser uses the sed rule:
    {{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.