Template:Documentation/layout: Difference between revisions

From Daniel Larson Wiki
Jump to navigation Jump to search
(Created page with "<div id="template-documentation" class="template-documentation"><templatestyles src="Template:Documentation/styles.css" /><!-- -->{{#if: {{PROTECTIONLEVEL:edit}} | {{Protected}} }}<!-- -->{{#ifeq: {{{heading|}}} | false | | <div class="template-documentation-heading mw-content-{{dir|{{{lang|}}}}}" lang="{{{lang|}}}" dir="{{dir|{{{lang|}}}}}"><!-- --><span class="template-documentation-title">{{#if: {{{heading|}}} | {{{heading|}}} | File:Test Template Info-Icon.sv...")
 
(Blanked the page)
Tag: Blanking
 
Line 1: Line 1:
<div id="template-documentation" class="template-documentation"><templatestyles src="Template:Documentation/styles.css" /><!--
 
-->{{#if: {{PROTECTIONLEVEL:edit}} | {{Protected}} }}<!--
-->{{#ifeq: {{{heading|}}} | false |
| <div class="template-documentation-heading mw-content-{{dir|{{{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;&nbsp;{{#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;'''·''' <!--
  --><nowiki/>|<!--
    -->[{{fullurl:{{transclude|{{{1|{{DocPageName}}}}}}}|action=edit&preload=Template:Documentation/preload}} {{#invoke:TNT|msg|lang={{{lang|{{int:lang}}}}}|I18n/Documentation.tab|create-link-display}}]&nbsp;'''·''' <!--
  --><nowiki/>}}}}<!--
  -->[{{fullurl:{{FULLPAGENAME}}|action=purge}} {{#invoke:TNTFallback|msg|lang={{{lang|{{int:lang}}}}}|I18n/Documentation.tab|purge-link-display|fallback={{{purge|}}}}}]<!--
  -->&nbsp;&#93;</span></div>
}}
{{#if: {{{content|}}}
| <!-- do not show notice when /doc is not transcluded-->
<div class="template-documentation-content" lang="" dir="auto">
{{{content|}}}
</div>
| <div class="template-documentation-transcludedfrom mw-content-{{dir|{{{lang|}}}}}" 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" lang="" dir="auto">
{{ {{{1|{{DocPageName}}}}} }}
</div>
}}
</div><noinclude>
{{#ifeq: {{SUBPAGENAME}} | sandbox | [[Category:Sandbox templates]] }}
[[Category:Layout templates]]
</noinclude>

Latest revision as of 00:59, 3 May 2023