Template:TRS-top

From Wikibooks, open books for an open world
Jump to: navigation, search
This template generates a header box with the general default appearance as shown below
as controlled by defining the keyword 'type=' per the options in the table below.
  • The control parameter 'CAT' when defined alters the mode and presents a category page heading message instead.
logo
General Trainz  — Multi-page Threaded Tutorial

Apples are good for sucking up to teachers
Trainz | Introductory Trainz  | Trainz AM&C | Creation | Appendixes  |  References  • Containers • Kinds • Tags • Index • Grps • Vers

Usage[edit]

A call to TRS-top|Type= or type= defines the above numerated phrases as title box text, and these passed to {{TRS-hdrbox}} properly turned into standardized boilerplate.

usage

Defines switch boilerplate texts for calls to FUN-beg for tutorials header boxes display messages:

keyword(s) Results/Purposes
GT, INFO General Trainz Informational Topic
TUT, SAT Stand-alone Tutorial
TT, MPT Multi-page Threaded Tutorial
Further
Defining CC and AM&C present a secondary title that can be overridden by defining alttitle2. The second title line need is sensed and provided, though defining both or refs2 standard parameters does make doubly sure!

If and when alttitle2 is left undefined, the tool keyword/parameter is alive and is presented withing the boilerplate when

  1. AM&C is defined generates the secondary title: Managing assets using {{{tool}}}
  2. CC is defined generates the secondary title: Content Creation using {{{tool}}}

The standard Trainz header template color parameters are alive and default as {{{CO1|blue}}} and {{{CO2|black}}}