Template:Trainz-admin
Appearance
This page is part of Wikibooks Trainz Wikibook Administration. 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. |
Above is the Default appearance with Lorem simulating a message in Main or article namespace, note the 'simulated text passed' message continues on the same line as the header line. So prefix with HTML break or hardbreaks as best suits your needs.
- Usage
Place as top item in a Trainz Wikibook-How-to-edit tutorial, Template or Trainz Wikibook Project organization or tutorial page.
- See the auto-category pages listed: Category:Trainz Admin for examples and Trainz templates for other Trainz project templates easing editing chores.
- Default message in Category namespaces
This page is part of Wikibooks Trainz Wikibook Administration. • This Category page lists some Trainz pages which are not directly part of the Wikibook Trainz project, but are intended for it's administration and upkeep. |
- Appearance with default message in Template Namespaces
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. |
Control and optional Parameters:
- The 'inhibit' parameter suppresses message box generation but auto-categorizes the page. If expressed, that is ALL the template will do.
- The Admin=something asserts the autocategorization into Category:Trainz Admin.
The 'noAdmin' or 'no' parameter instead suppresses the normal and usual auto-category declaration incorporating the page into Category:Trainz Admin. Then the template does no Auto-categorization and at least one must be defined on the page. - The 'pipe' named parameter can be used as a 'auto-pipetrick override' to alter the category sort order from the default {{SUBPAGENAME}}
- The 'ns' parameter will replace the auto-namespace sensing, so change the output to the default message depending on which namespace contains the tag.
- The 'altmsg' named parameter takes a text string and presents that alternative message, replacing the two default messages which assert by namespace.
- Only Categories and Template namespaces currently sense spaces and have boilerplate messages. If adding the template to a page in those namespaces, place the template, and evaluate whether to override it or not. You can then cut and paste the boilerplate and customize it as seems appropriate in the altmsg definition.
- Defining ns= causes the namespace message generation to be skipped, showing only the output 'co-msg' or 'message' parameters. After the text box 'main explaination' passed in by defining 'text' or '|1='.
- The bulleted part (namespace sensed) is programmable with the 'alt-msg' override parameter. (The linefeed and prefixed bullet are provided free of charge.)
- Only Categories and Template namespaces currently sense spaces and have boilerplate messages. If adding the template to a page in those namespaces, place the template, and evaluate whether to override it or not. You can then cut and paste the boilerplate and customize it as seems appropriate in the altmsg definition.
- The default message is ANDED with either 'co-msg' or 'message' - both of which may be blank (undefined), so presents only a box template as shown here. (Template namespace message shown)
- If defined, the 'co-msg' will insert a break and hard break (line across) before displaying the co-msg. 'Co-msg' asserts over 'message ', which appends the '1 or text' parameters first displaying their text under the standard title line. (First line above in the box)
- The 'message' parameter will asuffix onto the namespace boilerplate text, or if 'ns' suppresses the canned messages, will present as the sole message without a leading bullet. To suppress the two boilerplate messages (category space or Template namespaces, define '|ns= ' which skips to the default (do nothing prefix text)
- If defined, the 'co-msg' will insert a break and hard break (line across) before displaying the co-msg. 'Co-msg' asserts over 'message ', which appends the '1 or text' parameters first displaying their text under the standard title line. (First line above in the box)