Jump to content

Template talk:Documentation

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Beverly Dana (talk | contribs) at 08:43, 6 April 2025 (SIX MINING Cloud Mining: Opening a new model of investment and financial management: new section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Sandbox documentation

The documentation often includes calls to the template as a way to demonstrate the output. When testing a change to the template in the sandbox, the sandbox template includes the live documentation which then displays the sample output from the live template. It is possible to clone the documentation under the sandbox and alter the sandbox template to be explicit about including the sandbox version of the documentation. This however has the danger that when the sandbox template is published to live, the documentation fudge will not be undone and the live template will end up with documentation showing the sandbox template. Setting up a testcase sub-page is probably the "correct" way around all this, but is there another / simpler way? Could this template test for being in the sandbox and default to the sandbox version of the documentation? — GhostInTheMachine talk to me 19:50, 20 January 2025 (UTC)[reply]

You should almost never need a sandbox page of documentation. If the documentation changes between versions, just update it when you sync the templates. If you want to test changes to how the template looks, that is what /testcases is for. Gonnym (talk) 11:02, 21 January 2025 (UTC)[reply]
I assumed so. It is just that having a sandbox version of the documentation allowed for a simple "live" preview during editing — GhostInTheMachine talk to me 11:33, 21 January 2025 (UTC)[reply]
You can still do that with /testcases. At the bottom of a template in editing mode, you have "Preview page with this template", put the /testcases page there and you can view it with your changes without saving them. Gonnym (talk) 11:35, 21 January 2025 (UTC)[reply]
True, and I guess that setting up /testcases is probably simpler than creating /sandbox/doc. Kinder on the next editor too ... — GhostInTheMachine talk to me 11:39, 21 January 2025 (UTC)[reply]

Hiding templates in documentation

Is it possible to hide templates in the documentation, so that the user sees a ready-made template that will be specified in the documentation? For example: Template link from Kazakh Wiktionary. This has the template at the bottom, and I tried Help:Transclusion, but nothing worked. I tried <inlcudeonly> but there is a space that brings the text down. And other templates are attached to it.

The same problem: https://kk.wikipedia.org/wiki/Үлгі:Аралас_стильдегі_жауынгер Murat Karibay (talk) 17:23, 24 January 2025 (UTC)[reply]

Template documentation generally displays a sample ready-made template. See the documentation for Infobox person. Is that what you were looking for? — GhostInTheMachine talk to me 20:53, 24 January 2025 (UTC)[reply]
Actually no I wanted to hide the infobox or other templates from the documentation. For example, I specified a template with an example in the documentation, but at the end of the documentation is the template itself, I would like to hide it, but if you use <includeonly> then in articles appears a space that interferes. Example Murat Karibay (talk) 21:11, 28 January 2025 (UTC)[reply]
Murat Karibay, see Template:Human history for an example of not seeing the template below or above the documentation. Two notes:
  1. On English Wikipedia, by convention, the code of the template goes first, then the documentation in a <noinclude>...</noinclude> block
  2. It's important to have zero line breaks between <includeonly>...</includeonly> and <noinclude>...</noinclude>.
Here's the relevant bit of wikitext of Template:Human history for reference:
}}</includeonly><noinclude>
{{documentation|content=
The closing tag }} and </includeonly> are the last pieces of wikitext of the template itself. <noinclude> and {{documentation are the first lines of the documentation's wikitext. There is zero whitespace between the two. For more details, see Wikipedia:Template documentation § Put documentation in the template. —⁠andrybak (talk) 23:31, 28 January 2025 (UTC)[reply]
Thanks, that helped. But there are spaces down when viewing from a smartphone browser.
Murat Karibay (talk) 16:03, 30 January 2025 (UTC)[reply]

The redirect T:DOC has been listed at redirects for discussion to determine whether its use and function meets the redirect guidelines. Readers of this page are welcome to comment on this redirect at Wikipedia:Redirects for discussion/Log/2025 February 13 § T:DOC until a consensus is reached. Utopes (talk / cont) 13:14, 13 February 2025 (UTC)[reply]

Template-protected edit request on 10 March 2025

On line 229, please change the function to this:

	function envFuncs.templateTitle()
		--[[
		-- The template (or module, etc.) title object.
		-- Messages:
		-- 'sandbox-subpage' --> 'sandbox'
		-- 'testcases-subpage' --> 'testcases'
		--]]
		local subjectSpace = env.subjectSpace
		local title = env.title
		local subpage = title.subpageText
		if subpage == message('sandbox-subpage') or subpage == message('testcases-subpage') or (subpage == message('doc-subpage') and mw.title.getCurrentTitle().namespace == env.docSpace) then
			return mw.title.makeTitle(subjectSpace, title.baseText)
		else
			return mw.title.makeTitle(subjectSpace, title.text)
		end
	end

This will make the doc environment behave correctly, giving the actual template name on the doc page rather than the name of the "doc" subpage. Aasim (話すはなす) 00:17, 10 March 2025 (UTC)[reply]

 Completed. P.I. Ellsworth , ed. put'er there 03:39, 12 March 2025 (UTC)[reply]

Heading displays wrongly in mobile view

In mobile but not desktop view, there is no space between Documentation and the first link: for example I see

Documentation[view] [edit] [history] [purge]

instead of

Documentation [view] [edit] [history] [purge]

This is true both on the mobile webpage and in the Android app, but the desktop view is fine. Using |heading=Documentation&nbsp; as a workaround produces the correct appearance on mobile, but the extra space is then visible in desktop view. Musiconeologist (talk) 12:35, 21 March 2025 (UTC)[reply]

SIX MINING Cloud Mining: Opening a new model of investment and financial management

In today's ever-changing financial world, various innovative models continue to emerge in the investment field, bringing new opportunities and choices to investors. Among them, SIX MINING cloud mining, with its unique advantages and charm, is gradually becoming a hot commodity in the eyes of many investors, opening up a new investment and financial management model.

Although traditional investment methods, such as stocks, funds, and bonds, have matured, they often face many risks and challenges in the context of intensified market volatility and complex and changing economic situations. Moreover, these investment methods usually require investors to have certain professional knowledge and experience, and the entry threshold is relatively high for ordinary investors. The rise of the cryptocurrency market, while bringing huge investment opportunities, is also accompanied by high risks and high volatility. At the same time, traditional mining methods require investors to invest a lot of money to purchase mining machines, build mining farms, pay high electricity bills, etc., which is not only costly, but also faces a series of problems such as technical difficulties and equipment maintenance, which discourages many investors interested in cryptocurrency mining.

The emergence of SIX MINING cloud mining has perfectly solved these problems. It breaks the various limitations of traditional mining and allows ordinary investors to easily participate in the field of cryptocurrency mining. The so-called cloud mining, in simple terms, is that investors purchase cloud computing power and conduct mining operations in the cloud. Investors do not need to purchase expensive mining equipment, nor do they need to worry about the construction and maintenance of the mine, let alone the high electricity bills. Just choose the appropriate cloud computing package on the SIX MINING platform, and you can start mining and enjoy the benefits brought by cryptocurrency.

SIX MINING cloud mining platform has advanced technology and a professional team. Its technical team continuously develops and optimizes mining algorithms to improve mining efficiency and ensure that investors can obtain more benefits. At the same time, the platform also uses advanced security protection technology to ensure the safety of investors' funds and data. The professional customer service team provides investors with considerate services at any time and answers various questions encountered by investors in the mining process, so that investors have no worries.

From the perspective of return on investment, SIX MINING cloud mining also has great advantages. Compared with traditional investment methods, the income of cloud mining is relatively more stable. Although there is a certain volatility in the cryptocurrency market, through cloud mining, investors can continue to obtain the output of cryptocurrency and accumulate a certain amount of cryptocurrency over time. Moreover, as the cryptocurrency market continues to develop and become more popular, its value is also expected to continue to increase, bringing rich returns to investors.

In terms of operation, the SIX MINING cloud mining platform is very simple and convenient. Even novice investors with no mining experience can quickly get started. The platform provides detailed operation guides and tutorials. Investors only need to follow the steps to easily complete the purchase of cloud computing power and mining settings. At the same time, the platform also supports a variety of payment methods, which is convenient for investors to recharge and withdraw funds.

SIX MINING cloud mining is also very flexible. Investors can choose different cloud computing packages according to their financial situation and investment needs. Whether it is a small investment or a large investment, you can find a plan that suits you. Moreover, investors can adjust their investment strategies at any time, increase or decrease the purchase of cloud computing power to adapt to market changes.

SIX MINING cloud mining is not only an investment method, but also a new financial management concept. It allows investors to better plan their finances and realize wealth appreciation while enjoying investment returns. In the future, with the continuous advancement of technology and the continuous development of the cryptocurrency market, SIX MINING cloud mining is expected to become a shining star in the field of investment and financial management, bringing wealth and opportunities to more investors.

Of course, we should also be aware that any investment has certain risks, and cloud mining is no exception. The price fluctuations of the cryptocurrency market and the operational risks of the platform may affect the returns of investors. Therefore, before investing in cloud mining, investors should fully understand the relevant knowledge and risks, formulate a reasonable investment plan, and invest prudently.

As a new investment and financial management model, SIX MINING cloud mining provides investors with a more convenient, efficient and flexible investment option. It breaks the limitations of traditional investment and mining, allowing more people to participate in the cryptocurrency market and share the dividends. I believe that in the future, SIX MINING cloud mining will continue to develop and improve, create more value for investors, and lead the investment and financial management field to a new height. Let us look forward to more excitement brought by SIX MINING cloud mining! Beverly Dana (talk) 08:43, 6 April 2025 (UTC)[reply]