Template:TRS-underconstruction/doc
Appearance
This is a documentation subpage for Template:TRS-underconstruction It contains usage information, categories and other content that is not part of the original template page. |
- Default (no Args passed or defined) appearance follows
Be advised this new Trainz Wikibooks topic page is rough and incomplete.This is Arg-1 It was last edited on 30 March 2021, and This is Arg-1 is still under heavy construction. This Page UNDERCONSTRUCTION: Content here is likely to be changed significantly in a short amount of time. All Trainzer's and Wikibookians with knowledge in this subject are welcome to help out. You can remove this tag and replace it with {{Trainz-stub}} or with section stub templates ({{Trainz-sect-stub}}) on unfinished sections when the 'page' has become more mature. |
Usage
[edit source]- Purpose and usage
- This template asserts the above message as the default 'middle mode' and has two others.
- It always auto-categorizes a page to the hidden auto-categories:
- category:Trainz pages needing attention
- Category:Trainz new pages underconstruction Or conditionally: Category:Trainz new linked pages to-be-constructed WHEN and IFF the 'NEW' parameter is used.
The three modes can be classified as:
- This page is really a dream (NEW=1), but has been linked to as a page requiring future development.
The LINK parameter should be given a back link to the linked from page. - This page has been begun, but has warts and omissions, and is not quite far enough along to call a stub page.
- Somewhere about 30-50% with stubbed in sections, a page can be reclassified as a stub.
- If about or over 75-80% complete, only retain in-line {{TRS-sect-stub}} templates
- This is a dated page needing revision, define it so (set REV=1), which has been tagged for OVERHAUL. It displays a message accordingly.
- The Fix or fix parameters have been added mimicking the Stub templates, so will affect presentations. (These have not been debugged on installation 2015-0815.)
The look of these template uses is shown below. It will always calculate the time since the page was last edited and display it with boilerplate and several text insertion options:
Template's modes
[edit source]
- The placeholder parameter '1' may be defined to alter the upper message line with a bit about the work in progress. This is particularly useful when the template is used to allocate new pages with very little on them, planned pages in other words. It also manifests in Older Overhaul messages in the same relative place when the below parameter is defined.
Add text in default mode
[edit source]Passing the following text (with some additional formatting for color:
on the WXYZ Trainz topic and it's complications. (This is where an argument passed as '1' is displayed.)
Tip: Note this same string is used below as a pass value, but DOES NOT manifest, keep that difference in mind.
Be advised this new Trainz Wikibooks topic page is rough and incomplete. on the WXYZ Trainz topic and it's complications. (This is where an argument passed as '1' is displayed.) Note how the text should lead into the boilerplate of the timestamp message... It was last edited on 30 March 2021, and on the WXYZ Trainz topic and it's complications. (This is where an argument passed as '1' is displayed.) Note how the text should lead into the boilerplate of the timestamp message... is still under heavy construction. This Page UNDERCONSTRUCTION: Content here is likely to be changed significantly in a short amount of time. All Trainzer's and Wikibookians with knowledge in this subject are welcome to help out. You can remove this tag and replace it with {{Trainz-stub}} or with section stub templates ({{Trainz-sect-stub}}) on unfinished sections when the 'page' has become more mature. |
Add text in NEW topic page mode
[edit source]- The named parameter 'NEW' bypasses (ignores) anything passed in as the '1' parameter, and alters the message boilerplate to show the page has been earmarked (and is currently a pre-stub pre-underconstruction placeholder page title) but displays the definition of NEW which is syntaxed with other boilerplate text to allow a list or outline of what the page will hold.
- Use the |1= define to ready text more suitable for a later change of status, after the page has been started for real.
- The 'LINK' named parameter manifests ONLY IN NEW mode, and is meant to take a Trainz Link Template as a pass parameter to display said hyperlink and will in it's turn, somewhat modify the standard boilerplate of the NEW message, inserting glue text to mention the current page has been linked to as a reference on another page.
• This of course aids and helps in integrating the topics and their respective coverages.
Passing the following strings, (one disappears):
|1= on the WXYZ Trainz topic and it's complications. (This is where an argument passed as '1' is displayed.) | NEW= This page has been allocated and is not yet begun... | LINK= [[Trainz/CMP|Content Manager PLUS]]
This doc page is 'a reserved article title' linked into by the Content Manager PLUS page, and it is the plan that it will cover a topic which needs elaboration for all Trainzers. The article materials should cover:This page has been allocated and is not yet begun... on the WXYZ Trainz topic and it's complications. (This is where an argument passed as '1' is displayed.) Note how the text should lead into the boilerplate of the timestamp message... It was last edited on 30 March 2021, so construction has yet to really begin! Newly minted page UNDERCONSTRUCTION: Content here is likely to be changed significantly in a short amount of time. All Trainzer's and Wikibookians with knowledge in this subject are welcome to help out. You can remove this tag and replace it with {{Trainz-stub}} or with section stub templates ({{Trainz-sect-stub}}) on unfinished sections when the 'page' has become more mature. |
Add text in Remodeling mode
[edit source]- The named parameter 'REV' ({{{REV|}}}) acts as a control switch to change the lede message from that shown above to one more suitable to overhauling an older and dated page.
- As with the default mode above '1' can be defined to refine the boilerplate message displayed with a bit about the work planned or under way.
The Overhaul box mode displayed boilerplate says:
This older Trainz Wikibooks topic page is undergoing an Overhaul {{#if:{{{1|}}}|{{{1}}}|<br/>}} (shows the switching logic if '1' defined or not.
- Note the enclosure of the break HTML command... Your custom message should end with one and tie in with the Timestamp message so everything reads nicely!
- which displays like this (unlike the NEW parameter, REV does not display)
This older Trainz Wikibooks topic page is undergoing an Overhaul on the WXYZ Trainz topic and it's complications. (This is where an argument passed as '1' is displayed.) Note how the text should lead into the boilerplate of the timestamp message... It was last edited on 30 March 2021, and is still undergoing remodeling-construction. This 'Dated Page' now Earmarked for revisions and updating... UNDERCONSTRUCTION: Content here is likely to be changed significantly in a short amount of time. All Trainzer's and Wikibookians with knowledge in this subject are welcome to help out. You can remove this tag and replace it with {{Trainz-stub}} or with section stub templates ({{Trainz-sect-stub}}) on unfinished sections when the 'page' has become more mature. |
See also
[edit source]- {{TRS-sect-stub}} or redirect target Template:TRS-section-stub
- {{Trainz-stub}} for pages which have been well begun but still need plenty of TLC.
- and the categories:
- Category:Trainz maintenance templates
- Category:Trainz new pages underconstruction
- Category:Trainz new linked pages to-be-constructed