Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Documentation/layout: Difference between revisions

Template page
Undo revision 582075398 by ExE Boss (talk): template documentation pages should not redirect in the first place, but even if one or two do, let’s just show the reality, instead of doing expensive Lua calls on tens of thousands of pages
m 75 revisions imported
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div id="template-documentation" class="template-documentation"><templatestyles src="Template:Documentation/styles.css" /><!--
<div id="template-documentation" class="template-documentation"><templatestyles src="Template:Documentation/styles.css" /><!--
-->{{#if: {{PROTECTIONLEVEL:edit}} | {{Protected}} }}<!--
-->{{#if: {{PROTECTIONLEVEL:edit}}
-->{{#ifeq: {{{heading|}}} | false |
| {{Protected}}
| <div class="template-documentation-heading mw-content-{{dir|{{{lang|}}}}}" lang="{{{lang|}}}" dir="{{dir|{{{lang|}}}}}"><!--
}}<!--
-->{{#ifeq: {{{heading|}}} | false
|
| <div class="template-documentation-heading" {{#if: {{{lang|}}}
  | lang="{{{lang|}}}" dir="{{#dir:{{{lang|}}}}}"
  }}><!--
   --><span class="template-documentation-title">{{#if: {{{heading|}}}
   --><span class="template-documentation-title">{{#if: {{{heading|}}}
   | {{{heading|}}}
   | {{{heading|}}}
   | [[File:Test Template Info-Icon.svg|50px|link=|alt=]] {{{documentation|{{#switch:{{NAMESPACENUMBER}}
   | [[File:Test Template Info-Icon.svg|50px|link=|alt=]] {{#switch:{{NAMESPACENUMBER}}
     | 6   = {{#invoke:TNT|msg|lang={{{lang|{{int:lang}}}}}|I18n/Documentation.tab|file-namespace-heading}}
     |6 = {{#invoke:TNTFallback|msg|lang={{{lang|{{int:lang}}}}}|I18n/Documentation.tab|file-namespace-heading|fallback={{{documentation|}}}}}
     | 10 = {{#invoke:TNT|msg|lang={{{lang|{{int:lang}}}}}|I18n/Documentation.tab|template-namespace-heading}}
     |10 = {{#invoke:TNTFallback|msg|lang={{{lang|{{int:lang}}}}}|I18n/Documentation.tab|template-namespace-heading|fallback={{{documentation|}}}}}
     | 828 = {{#invoke:TNT|msg|lang={{{lang|{{int:lang}}}}}|I18n/Documentation.tab|module-namespace-heading}}
     |828 = {{#invoke:TNTFallback|msg|lang={{{lang|{{int:lang}}}}}|I18n/Documentation.tab|module-namespace-heading|fallback={{{documentation|}}}}}
     | #default = {{#invoke:TNT|msg|lang={{{lang|{{int:lang}}}}}|I18n/Documentation.tab|other-namespaces-heading}}
     |#default = {{#invoke:TNTFallback|msg|lang={{{lang|{{int:lang}}}}}|I18n/Documentation.tab|other-namespaces-heading|fallback={{{documentation|}}}}}
    }}}}}
    }}
   }}</span><span class="mw-editsection-like plainlinks" id="doc_editlinks"><!--
   }}</span><!--
  -->&#91;&nbsp;{{#if:{{{content|}}}||{{#ifexist:{{transclude|{{{1|{{SUBJECTPAGENAME}}/doc}}}}}|<!--
  --><span class="mw-editsection-like plainlinks" id="doc_editlinks">&#91;&#x202F;{{#if: {{{content|}}}
    -->[{{fullurl:{{transclude|{{{1|{{SUBJECTPAGENAME}}/doc}}}}}}} {{{view|{{#invoke:TNT|msg|lang={{{lang|{{int:lang}}}}}|I18n/Documentation.tab|view-link-display}}}}}]&nbsp;'''·''' <!--
  |
    -->[{{fullurl:{{transclude|{{{1|{{SUBJECTPAGENAME}}/doc}}}}}|action=edit}} {{{edit|{{#invoke:TNT|msg|lang={{{lang|{{int:lang}}}}}|I18n/Documentation.tab|edit-link-display}}}}}]&nbsp;'''·''' <!--
  | {{#ifexist: {{Transclude|{{{1|{{DocPageName}}}}}}}
    -->[{{fullurl:{{transclude|{{{1|{{SUBJECTPAGENAME}}/doc}}}}}|action=history}} {{{history|{{#invoke:TNT|msg|lang={{{lang|{{int:lang}}}}}|I18n/Documentation.tab|history-link-display}}}}}]&nbsp;'''·''' <!--
    | <!--
  --><nowiki/>|<!--
      -->[{{fullurl:{{Transclude|{{{1|{{DocPageName}}}}}}}}} {{#invoke:TNTFallback|msg|lang={{{lang|{{Int:Lang}}}}}|I18n/Documentation.tab|view-link-display|fallback={{{view|}}}}}]&nbsp;'''·'''<!--
    -->[{{fullurl:{{transclude|{{{1|{{SUBJECTPAGENAME}}/doc}}}}}|action=edit&preload=Template:Documentation/preload}} {{#invoke:TNT|msg|lang={{{lang|{{int:lang}}}}}|I18n/Documentation.tab|create-link-display}}]&nbsp;'''·''' <!--
      --> [{{fullurl:{{Transclude|{{{1|{{DocPageName}}}}}}}|action=edit}} {{#invoke:TNTFallback|msg|lang={{{lang|{{Int:Lang}}}}}|I18n/Documentation.tab|edit-link-display|fallback={{{edit|}}}}}]&nbsp;'''·'''<!--
  --><nowiki/>}}}}<!--
      --> [{{fullurl:{{Transclude|{{{1|{{DocPageName}}}}}}}|action=history}} {{#invoke:TNTFallback|msg|lang={{{lang|{{Int:Lang}}}}}|I18n/Documentation.tab|history-link-display|fallback={{{history|}}}}}]&nbsp;'''·'''<!--
   -->[{{fullurl:{{FULLPAGENAME}}|action=purge}} {{{purge|{{#invoke:TNT|msg|lang={{{lang|{{int:lang}}}}}|I18n/Documentation.tab|purge-link-display}}}}}]<!--
      -->
   -->&nbsp;&#93;</span></div>
    | <!--
}}
      -->[{{fullurl:{{transclude|{{{1|{{DocPageName}}}}}}}|action=edit&preload=Template:Documentation/preload}} {{#invoke:TNT|msg|lang={{{lang|{{Int:Lang}}}}}|I18n/Documentation.tab|create-link-display}}]&nbsp;'''·'''<!--
{{#if: {{{content|}}}
      -->
    }}
  }}<!--
   --> [{{fullurl:{{FULLPAGENAME}}|action=purge}} {{#invoke:TNTFallback|msg|lang={{{lang|{{Int:Lang}}}}}|I18n/Documentation.tab|purge-link-display|fallback={{{purge|}}}}}]<!--
   -->&#x202F;&#93;</span><!--
  --></div>
}}<!--
-->{{#if: {{{content|}}}
| <!-- do not show notice when /doc is not transcluded-->
| <!-- do not show notice when /doc is not transcluded-->
<div class="template-documentation-content" lang="" dir="auto">
<div class="template-documentation-content" dir="auto">
{{{content|}}}
{{{content|}}}
</div>
</div>
| <div class="template-documentation-transcludedfrom mw-content-{{dir|{{{lang|}}}}}" lang="{{{lang|}}}" dir="{{dir|{{{lang|}}}}}">{{tmpl<!--
| <div class="template-documentation-transcludedfrom" lang="{{{lang|}}}" dir="{{#dir:{{{lang|}}}}}">{{tmpl<!--
-->|0={{{text|(text: $1) &mdash; {{error|parameter text is not translated in [[Template:Documentation]]}}}}}<!--
-->|0 = {{{text|(text: $1) &mdash; {{error|parameter text is not translated in [[Template:Documentation]]}}}}}<!--
-->|1=[[{{transclude|{{{1|{{SUBJECTPAGENAME}}/doc}}}}}]]<!--
-->|1 = [[{{transclude|{{{1|{{DocPageName}}}}}}}]]<!--
-->}}</div>
-->}}</div>
<div class="template-documentation-content" lang="" dir="auto">
<div class="template-documentation-content" dir="auto">
{{ {{{1|{{SUBJECTPAGENAME}}/doc}}} }}
{{ {{{1|{{DocPageName}}}}} }}
</div>
</div>
}}
}}

Latest revision as of 06:05, 9 August 2026

Template documentation[ create · purge ]
(text: Template:Documentation/layout/doc) — parameter text is not translated in Template:Documentation
Cookies help us deliver our services. By using our services, you agree to our use of cookies.