Template:Documentation: Difference between revisions

From Greyhawk Wiki
Jump to navigation Jump to search
m 1 revision imported: Import from Wikimedia Commons
Renegade54 (talk | contribs)
replace template
Line 1: Line 1:
<includeonly>{|class="grey" style="width:100%;"
|-
!Template documentation follows
|-
|<em><strong>Note:</strong> the template above may sometimes be partially or fully invisible.</em>
|-
|<span class="noicon">[{{fullurl:{{ns:10}}:{{{1|{{PAGENAME}}}}}/doc|action=purge}} View] &bull; [{{fullurl:{{ns:10}}:{{{1|{{PAGENAME}}}}}/doc|action=edit}} Edit] &bull; [{{fullurl:{{ns:10}}:{{{1|{{PAGENAME}}}}}/doc|action=history}} History]</span>
|}
{{#ifexist: {{FULLPAGENAME}}/doc|
:''The following documentation is transcluded from [[{{FULLPAGENAME}}/doc]]:''
{{/doc}}
|:''This template is not yet documented. Please create documentation here: [[{{FULLPAGENAME}}/doc]]''[[Category:Templates without documentation]]}}</includeonly><noinclude>{{doc}}[[Category:Maintenance templates|{{PAGENAME}}]]</noinclude>
<!--
<!-- {{#invoke:Autotranslate|autotranslate}} is used to avoid "Warning: This page calls Template:Autotranslate which causes a template loop (an infinite recursive call). "-->
<!-- {{#invoke:Autotranslate|autotranslate}} is used to avoid "Warning: This page calls Template:Autotranslate which causes a template loop (an infinite recursive call). "-->
<onlyinclude>{{#invoke:Autotranslate|autotranslate
<onlyinclude>{{#invoke:Autotranslate|autotranslate
Line 16: Line 30:
  |content = {{{content|}}}
  |content = {{{content|}}}
}}</onlyinclude>
}}</onlyinclude>
-->

Revision as of 20:41, 14 December 2021

Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured;

Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.[ [https://gateway.greyhawk.city/greyhawkwiki/Template:Documentation/doc Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.· [https://gateway.greyhawk.city/greyhawkwiki/index.php?title=Template:Documentation/doc&action=edit Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.· [https://gateway.greyhawk.city/greyhawkwiki/index.php?title=Template:Documentation/doc&action=history Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.· [https://gateway.greyhawk.city/greyhawkwiki/index.php?title=Template:Documentation&action=purge Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.

See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.
] ]
This documentation is transcluded from Template:Documentation/doc.

This template can be used on any other template page to transclude documentation on how to use the other template.

If a documentation subpage (/doc) already exists, the content of that page will be displayed (like in this case). Otherwise, it will show a short note about missing documentation combined with a link to the subpage to be written.

This is useful to reduce the amount of wikicode that is transcluded every time the template in question is used. Everything that does not need to be transcluded should be put on this subpage, including interwiki links.

Usage

When creating a template page, copy and paste the following, to automatically insert the Usage information, if it exists.

<noinclude>{{doc}}</noinclude>
Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured;

Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.[ [https://gateway.greyhawk.city/greyhawkwiki/Template:Documentation/doc Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.· [https://gateway.greyhawk.city/greyhawkwiki/index.php?title=Template:Documentation/doc&action=edit Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.· [https://gateway.greyhawk.city/greyhawkwiki/index.php?title=Template:Documentation/doc&action=history Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.· [https://gateway.greyhawk.city/greyhawkwiki/index.php?title=Template:Documentation&action=purge Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.

See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.
] ]
This documentation is transcluded from Template:Documentation/doc.

This template can be used on any other template page to transclude documentation on how to use the other template.

If a documentation subpage (/doc) already exists, the content of that page will be displayed (like in this case). Otherwise, it will show a short note about missing documentation combined with a link to the subpage to be written.

This is useful to reduce the amount of wikicode that is transcluded every time the template in question is used. Everything that does not need to be transcluded should be put on this subpage, including interwiki links.

Usage

When creating a template page, copy and paste the following, to automatically insert the Usage information, if it exists.

<noinclude>{{doc}}</noinclude>

-->