You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Difference between revisions of "Template:Documentation"

From Wikitech-static
Jump to navigation Jump to search
imported>Alex Paskulin
m (2 revisions imported from mw:Template:Documentation: Adding useful contribution template for creating docs landing pages)
imported>Nhatminh01
(Replaced content with "{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}")
 
Line 1: Line 1:
<includeonly>
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}
</includeonly><noinclude>
{{documentation|content=
{{Lua|Module:Documentation}}
==Usage==
===Customizing display===
Overrides exist to customize the output in special cases:
* <nowiki>{{</nowiki>documentation{{!}}'''heading'''=<nowiki>}}</nowiki> - change the text of the "documentation" heading. If this is set to blank, the entire heading line (including the first [edit] link) will also disappear.
==Rationale==
This template allows any page to use any documentation page, and makes it possible to protect templates while allowing anyone to edit the template's documentation, categories, and interwiki links.
It also reduces server resources by circumventing a [[w:Wikipedia:Template limits|technical limitation of templates]] (see a [{{fullurl:en:Project:Village pump (technical)|diff=prev&oldid=69888944}} developer's explanation]).
==See also==
* {{tiw|documentation subpage}}
* {{tim|Documentation}}
* [[w:Wikipedia:Template documentation]]
}}
[[Category:Formatting templates|Template documentation]]
[[Category:Template documentation| ]]
</noinclude>

Latest revision as of 02:28, 7 October 2021

Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.