Vorlage:Documentation/layout: Unterschied zwischen den Versionen

Aus How to be a Hero
Zur Navigation springen Zur Suche springen
/>Andrybak
(Turn the new line into paragraph break.)
K (69 Versionen importiert: Test)
 
(31 dazwischenliegende Versionen von 10 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
<div class="template-documentation mw-content-{{dir|{{int:lang}}}}" style="margin-top:1em; clear: both; border: 2px dotted #666666; padding: 0.6em; background-color: #ECFCF4;" lang="{{int:lang}}" dir="{{dir|{{int:lang}}}}">{{#ifeq:{{{heading|}}} | false | | <div style="padding-bottom:3px; border-bottom:1px solid #aaa; margin-bottom:1ex;"><span style="font-size:150%">{{#if: {{{heading|}}} | {{{heading}}} |[[File:Test Template Info-Icon.svg|50px|link=|alt=Documentation icon]] {{{documentation|Documentation}}} }}</span><span class="mw-editsection plainlinks" id="doc_editlinks">[{{fullurl:{{{1}}}}} {{{view|{{int:vector-view-view}}}}}] [{{fullurl:{{{1}}}|action=edit{{#ifexist: {{{1}}} ||&preload=Template:Documentation/preload}}}} {{{edit|{{int:vector-view-edit}}}}}] [{{fullurl:{{{1}}}|action=history}} {{{history|{{int:vector-view-history}}}}}] • [{{fullurl:{{FULLPAGENAME}}|action=purge}} {{{purge|{{int:Code-rev-purge-link}}}}}]</span></div>}}
<div id="template-documentation" class="template-documentation"><templatestyles src="Template:Documentation/styles.css" /><!--
{{#if:{{{content|}}}<!--
-->{{#if: {{PROTECTIONLEVEL:edit}} | {{Protected}} }}<!--
-->|<!-- do not show notice when /doc is not transcluded
-->{{#ifeq: {{{heading|}}} | false |
-->|<!-- show notice about transclusion -->''<small>{{{text|text parameter not translated in [[Template:Documentation]]}}}</small>''}}
| <div class="template-documentation-heading mw-content-{{dir|{{{lang|}}}}}" lang="{{{lang|}}}" dir="{{dir|{{{lang|}}}}}"><!--
{{#if:{{{content|}}}|{{{content}}}|
  --><span class="template-documentation-title">{{#if: {{{heading|}}}
 
  | {{{heading|}}}
{{{{{1}}}}}}}<div style="clear:both;"></div></div>{{#ifeq:{{SUBPAGENAME}}|sandbox|[[Category:Sandbox templates]]}}<noinclude>
  | [[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]]
[[Category:Layout templates]]
</noinclude>
</noinclude>

Aktuelle Version vom 13. April 2022, 20:55 Uhr

Datei:Test Template Info-Icon.svg Lua-Fehler in Modul:TNT, Zeile 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab[ [{{fullurl:Template:Vorlage:DocPageName|action=edit&preload=Template:Documentation/preload}} Lua-Fehler in Modul:TNT, Zeile 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab· Lua-Fehler in Modul:TNT, Zeile 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab ]
(text: [[Template:Vorlage:DocPageName]]) — Vorlage:Error