Template:TRS-hdrbox/doc
This page is part of Wikibooks Trainz Wikibook Administration. • It lists a template which may be useful editing Trainz. Trainz specific (special purpose) templates will be found in or under Category:Trainz Templates, which also lists/links to this Help page. |
This is a documentation subpage for Template:TRS-hdrbox It contains usage information, categories and other content that is not part of the original template page. |
- default appearance
| |||
|
|||
|
- Purpose of TRS-hdrbox
- 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
- Beginner oriented (category:Introductory Trainz (Trainz basics)
- 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 — Trainz Wikibooks lengthy topic HowTo pages about working with assets,
- category:Trainz reference pages —annotated references corresponding to the N3V Wiki pages and the similarly paired
- category:Trainz Content Creation —HowTo pages on Asset creation matters mirroring a page topic based on the TrainzOnline Wiki and
- category:Trainz content creation pages — 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
[edit source]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 defaults to blue.
- Parameter CO1 can be defined to replace the Main title line color, normally defaults to blue.
- Parameter refs2 can be defined to trigger display of the second title line which defaults to "Trainz Annotated Reference Pages".
- 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:
{ 1=p, 2=n, 3=h, 4=rh }
, 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 {{{1}}}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".
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.