Vorlage:Documentation/layout: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
/>Ebrahim (Add lang tag to {{documentation}}) |
K (69 Versionen importiert: Test) |
||
(36 dazwischenliegende Versionen von 11 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
<div class="template-documentation mw-content-{{dir|{{ | <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"><!-- | |||
-->[ {{#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|}}}}}] '''·''' <!-- | |||
-->[{{fullurl:{{transclude|{{{1|{{DocPageName}}}}}}}|action=edit}} {{#invoke:TNTFallback|msg|lang={{{lang|{{int:lang}}}}}|I18n/Documentation.tab|edit-link-display|fallback={{{edit|}}}}}] '''·''' <!-- | |||
-->[{{fullurl:{{transclude|{{{1|{{DocPageName}}}}}}}|action=history}} {{#invoke:TNTFallback|msg|lang={{{lang|{{int:lang}}}}}|I18n/Documentation.tab|history-link-display|fallback={{{history|}}}}}] '''·''' <!-- | |||
--><nowiki/>|<!-- | |||
-->[{{fullurl:{{transclude|{{{1|{{DocPageName}}}}}}}|action=edit&preload=Template:Documentation/preload}} {{#invoke:TNT|msg|lang={{{lang|{{int:lang}}}}}|I18n/Documentation.tab|create-link-display}}] '''·''' <!-- | |||
--><nowiki/>}}}}<!-- | |||
-->[{{fullurl:{{FULLPAGENAME}}|action=purge}} {{#invoke:TNTFallback|msg|lang={{{lang|{{int:lang}}}}}|I18n/Documentation.tab|purge-link-display|fallback={{{purge|}}}}}]<!-- | |||
--> ]</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) — {{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
{{ Vorlage:DocPageName }}