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
mNo edit summary
m 75 revisions imported
 
(71 intermediate revisions by 21 users not shown)
Line 1: Line 1:
<div class="template-documentation" style="margin-top:1em; clear: both; border: 2px dotted #666666; padding: 0.6em; background-color: #f5f5f5;">{{#if:{{{heading|defaultnotblank}}}|<div style="padding-bottom:3px; border-bottom:1px solid #aaa; margin-bottom:1ex;">
<div id="template-documentation" class="template-documentation"><templatestyles src="Template:Documentation/styles.css" /><!--
<span class="editsection plainlinks" id="doc_editlinks">[[{{fullurl:{{#if: {{{1|}}} | {{{1}}} | {{SUBJECTPAGENAME}}/doc }}|action=edit{{#ifexist: {{#if: {{{1|}}} | {{{1}}} | {{SUBJECTSPACE}}:{{SUBJECTPAGENAME}}/doc }} ||&preload=Template:Documentation/preload}}}} {{{edit|}}}]]</span>
-->{{#if: {{PROTECTIONLEVEL:edit}}
<span style="font-size:150%">{{#if: {{{heading|}}} | {{{heading}}} | {{{documentation|}}} }}</span></div>}}
| {{Protected}}
<div id="template_doc_page_transcluded" class="dablink plainlinks">{{{text|}}} <small>''([[{{#if: {{{1|}}} | {{{1}}} | {{SUBJECTPAGENAME}}/doc }}|{{{view|}}}]] | [{{fullurl:{{#if: {{{1|}}} | {{{1}}} | {{SUBJECTPAGENAME}}/doc }}|action=edit{{#ifexist: {{#if: {{{1|}}} | {{{1}}} | {{SUBJECTSPACE}}:{{SUBJECTPAGENAME}}/doc }} ||&preload=Template:Documentation/preload}}}} {{{edit|}}}] | [{{fullurl:{{#if: {{{1|}}} | {{{1}}} | {{SUBJECTPAGENAME}}/doc }}|action=history}} {{{history|}}}])''</small></div>{{#if: {{{1|}}} |{{{{{1}}}}}|{{{{SUBJECTPAGENAME}}/doc}}}}<div style="clear:both;" /></div></div><noinclude>
}}<!--
 
-->{{#ifeq: {{{heading|}}} | false
[[Category:Formatting templates|{{PAGENAME}}]]
|
| <div class="template-documentation-heading" {{#if: {{{lang|}}}
  | lang="{{{lang|}}}" dir="{{#dir:{{{lang|}}}}}"
  }}><!--
  --><span class="template-documentation-title">{{#if: {{{heading|}}}
  | {{{heading|}}}
  | [[File:Test Template Info-Icon.svg|50px|link=|alt=]] {{#switch:{{NAMESPACENUMBER}}
    |6 = {{#invoke:TNTFallback|msg|lang={{{lang|{{int:lang}}}}}|I18n/Documentation.tab|file-namespace-heading|fallback={{{documentation|}}}}}
    |10 = {{#invoke:TNTFallback|msg|lang={{{lang|{{int:lang}}}}}|I18n/Documentation.tab|template-namespace-heading|fallback={{{documentation|}}}}}
    |828 = {{#invoke:TNTFallback|msg|lang={{{lang|{{int:lang}}}}}|I18n/Documentation.tab|module-namespace-heading|fallback={{{documentation|}}}}}
    |#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">&#91;&#x202F;{{#if: {{{content|}}}
  |
  | {{#ifexist: {{Transclude|{{{1|{{DocPageName}}}}}}}
    | <!--
      -->[{{fullurl:{{Transclude|{{{1|{{DocPageName}}}}}}}}} {{#invoke:TNTFallback|msg|lang={{{lang|{{Int:Lang}}}}}|I18n/Documentation.tab|view-link-display|fallback={{{view|}}}}}]&nbsp;'''·'''<!--
      --> [{{fullurl:{{Transclude|{{{1|{{DocPageName}}}}}}}|action=edit}} {{#invoke:TNTFallback|msg|lang={{{lang|{{Int:Lang}}}}}|I18n/Documentation.tab|edit-link-display|fallback={{{edit|}}}}}]&nbsp;'''·'''<!--
      --> [{{fullurl:{{Transclude|{{{1|{{DocPageName}}}}}}}|action=history}} {{#invoke:TNTFallback|msg|lang={{{lang|{{Int:Lang}}}}}|I18n/Documentation.tab|history-link-display|fallback={{{history|}}}}}]&nbsp;'''·'''<!--
      -->
    | <!--
      -->[{{fullurl:{{transclude|{{{1|{{DocPageName}}}}}}}|action=edit&preload=Template:Documentation/preload}} {{#invoke:TNT|msg|lang={{{lang|{{Int:Lang}}}}}|I18n/Documentation.tab|create-link-display}}]&nbsp;'''·'''<!--
      -->
    }}
  }}<!--
  --> [{{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-->
<div class="template-documentation-content" dir="auto">
{{{content|}}}
</div>
| <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]]}}}}}<!--
-->|1 = [[{{transclude|{{{1|{{DocPageName}}}}}}}]]<!--
-->}}</div>
<div class="template-documentation-content" dir="auto">
{{ {{{1|{{DocPageName}}}}} }}
</div>
}}
</div><noinclude>
{{#ifeq: {{SUBPAGENAME}} | sandbox | [[Category:Sandbox templates]] }}
[[Category:Layout templates]]
</noinclude>
</noinclude>

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.