This template (like all templates) is within the scope of WikiProject Templates, a group dedicated to improving the maintenance of Wikipedia's templates. This particular template is especially important to the project because it is used in the maintenance of other templates. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.TemplatesWikipedia:WikiProject TemplatesTemplate:WikiProject TemplatesTemplates
Text has been copied to or from this page; see the list below. The source pages now serve to provide attribution for the content in the destination pages and must not be deleted as long as the copies exist. For attribution and to access older versions of the copied text, please see the history links below.
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.
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. ExampleMurat Karibay (talk) 21:11, 28 January 2025 (UTC)[reply]
This edit request to Module:Documentation has been answered. Set the |answered= or |ans= parameter to no to reactivate your request.
On line 229, please change the function to this:
functionenvFuncs.templateTitle()--[[ -- The template (or module, etc.) title object. -- Messages: -- 'sandbox-subpage' --> 'sandbox' -- 'testcases-subpage' --> 'testcases' --]]localsubjectSpace=env.subjectSpacelocaltitle=env.titlelocalsubpage=title.subpageTextifsubpage==message('sandbox-subpage')orsubpage==message('testcases-subpage')or(subpage==message('doc-subpage')andmw.title.getCurrentTitle().namespace==env.docSpace)thenreturnmw.title.makeTitle(subjectSpace,title.baseText)elsereturnmw.title.makeTitle(subjectSpace,title.text)endend
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]
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 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]