Template:BSdirective

From blackwiki
Jump to navigation Jump to search

This templates does nothing by itself. Don't delete it nevertheless, since it is used to compile {{BS-map}} in to {{routemap}}. See the doc.

Template documentation[view] [edit] [history] [purge]

Usage

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:
    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.