Template:TRS-hdrbox/doc


 * default appearance


 * Purpose of


 * This is the base (edit in one place) Trainz pages header template
 * This template is used by FUN-top with ORP-top and similar trainz box templates to set off Trainz book divisions into various Tabbed Divisions such as


 * 1) Beginner oriented (category:Introductory Trainz (Trainz basics)
 * 2) and category:Trainz AM&C (beginner classed asset reference topics) topics in the Trainz Wikibook and those organized for the more advanced users such as topics listed in 
 * category:Trainz references &mdash; Trainz Wikibooks lengthy topic HowTo pages about working with assets,
 * category:Trainz reference pages &mdash;annotated references corresponding to the N3V Wiki pages and the similarly paired
 * category:Trainz Content Creation &mdash;HowTo pages on Asset creation matters mirroring a page topic based on the TrainzOnline Wiki and
 * category:Trainz content creation pages &mdash; Trainz Wikibooks lengthy topic HowTo pages and threaded chapters of multi-page tutorials about generation and modification of 3D graphics assets in general or particular to the Trainz family of simulators.
 * Page threading:This template is the workhorse template for threading the prev-next-grouped pages of the Trainz Wikibook.

Usage
This template while it can be called directly, is usually called as sub-template by a mnemonically named book division header template with the proper default display options handled by the calling template.
 * Options
 * Parameter alttitle1 can be defined to replace the Main title line.
 * Parameter CO1 can be defined to replace the Main title line color, normally 🇨🇴. />
 * Parameter refs2 can be defined to trigger display of the second title line which defaults to "  ".<br
 * Parameter alttitle2 can be defined to replace the Second title line. This generally will not show unless the pass parameter 'both' is set.
 * Parameter CO2 can be defined to replace the Second title line's color.


 * Threading controls
 * It is also used to thread related pages together based on the placeholder parameters equated with named parameters such that:, where
 * 1 or sort is a sort pipetrick parameter for the autocategories threaded and unthreaded
 * p pr pr is a link template call building the page link to the previous page of a threaded group.
 * n is a link template call building the page link to the Next page of a threaded group.
 * h is a link template call building the page link to the Head page (subdivision or topic head) of a threaded group. This allows a threaded tutorial to refer back to a Tutorial Start or index page.
 * rh is a link template call building the page link to the right side of the header link, normally a Head TOC page (division or subdivision head) of the threaded group. Because of the sort use of use of placeholder parameters is discouraged.

The link bar is always generated if any of the four (X2) parameters are defined, and the h parameter (may) default to the Book Master table of Contents page: Trainz Wikibook with a pipetricked link title "Wikibook TOC".