Zeile 1: |
Zeile 1: |
− | <onlyinclude>{{Dokumentation/ruler}} | + | {{Dokumentation/Hinweis Demo}} |
− | <div class="mw-headline hintergrundfarbe6" style='color: #FFFFFF; float: left; font-family: "Linux Libertine","Georgia","Times",serif; font-size: 1.8rem; font-weight: normal;margin-left: 0; padding-left: 0.4rem; padding-right: 0.4rem; text-shadow: 1px 1px 1px #8080FF, 1px -1px 1px #8080FF, -1px 1px 1px #8080FF, -1px -1px 1px #8080FF;' | + | |
− | id="Dokumentation">Dokumentation</div>{{#ifeq: {{{edit|0}}} | 1 |
| + | <onlyinclude>{{#ifeq: {{{TOC|0}}} | 1 | <templatestyles src="TOC nonum/styles.css" /><div class="nonumtoc">__TOC__</div> }}<div style="border: #{{Dokumentation/style|linec}} 3px solid; clear: both; margin-bottom: 2rem; margin-left: 0; margin-right: 0; margin-top: 1rem; padding-left: 0.4rem;" id="Vorlagendokumentation"> |
− | <div class="mw-editsection" style="float: right; margin-top: 1rem;">[[{{fullurl:{{SUBJECTPAGENAME}}/Doku|action=edit}} {{int:Editsection}}]]</div>}} | + | <div style="float: right; font-size: 0.8rem; line-height: 1; margin-right: 0.4rem; margin-top: 1.46rem; white-space: nowrap;">{{#ifeq: {{{footer|1}}} | 1 | [[[#Dokumentation.Info|Werkzeuge]]]}}{{#ifeq: {{{edit|0}}} | 1 | <span style="padding-left:1em">[[{{fullurl:{{SUBJECTPAGENAME}}/Doku|action=edit}} {{int:Editsection}}]]</span>}}</div> |
− | <div style="clear:both; border-top: 1px solid #AAAAAA; margin-bottom: 1rem; width:100%" id="Vorlagendokumentation"></div></onlyinclude> | + | <h<!-- linter -->1 style="border-bottom: none; font-size: 1.66rem; line-height: 1; margin-bottom: 1rem; margin-top: 1rem;" dir="ltr" title="Dokumentation zur Benutzung dieser Vorlage" lang="{{#switch:{{int:lang}}|de-at|de-ch|de-formal|de=de">'''Dokumentation''' | en">'''Documentation''' }}</h<!-- linter -->1> |
| + | </div>{{#ifexist: {{SUBJECTPAGENAME}}/Meta | |
| + | <div class="error" style="background:#FFFF00; border: #FF0000 2px solid; padding: 0.1rem 0.2rem;"> |
| + | Unterseite <code>[[{{SUBJECTPAGENAME}}/Meta|/Meta]]</code> nicht mehr unterstützt! |
| + | </div>}}</onlyinclude> |
| | | |
| | | |
| <div style="border:3px solid #009900; border-spacing:2px; padding:1em;"> | | <div style="border:3px solid #009900; border-spacing:2px; padding:1em;"> |
− | Einheitliche Überschrift für Vorlagen-Dokumentationen oberhalb des Dokumentationsbereichs: | + | Einheitliche '''Überschrift''' für '''Vorlagen-Dokumentationen''' oberhalb des Dokumentationsbereichs: |
| * Einzel-/Doku mittels [[Vorlage:Dokumentation]], | | * Einzel-/Doku mittels [[Vorlage:Dokumentation]], |
| * generierte Dokumentationen in [[:Kategorie:Vorlage:Metadokumentation]]. | | * generierte Dokumentationen in [[:Kategorie:Vorlage:Metadokumentation]]. |
| | | |
− | Die CSS3-Eigenschaft <code style="white-space:nowrap">text-outline</code>, die jedoch noch nicht allgemein unterstützt wird, sollte langfristig statt <code style="white-space:nowrap">text-shadow</code> verwendet werden.
| + | Es wird insbesondere beim Gestalten einer Metadokumentation erwartet, dass am Fußende mit {{Vorlage|Dokumentation/footer}} eine korrespondierende Box angezeigt wird, auf die auch verlinkt wird. In der standardmäßigen {{Vorlage|Dokumentation}} ist das genauso realisiert. |
| + | |
| + | In einem Inhaltsverzeichnis wird die H1-Überschrift in Fettschrift angezeigt und trennt dadurch möglicherweise durch die demonstrierte Einbindung erzeugte Überschriften ab. |
| | | |
| == Parameter == | | == Parameter == |
Zeile 18: |
Zeile 24: |
| :* <code>0</code> – nein (Vorgabe; für Metadoku) | | :* <code>0</code> – nein (Vorgabe; für Metadoku) |
| :* <code>1</code> – ja ([[Vorlage:Dokumentation]]) | | :* <code>1</code> – ja ([[Vorlage:Dokumentation]]) |
| + | ; footer |
| + | : Bearbeiten-Link anzeigen |
| + | :* <code>1</code> – ja (Vorgabe) |
| + | :* <code>0</code> – nein (etwa substituierende) |
| + | ; TOC |
| + | : Inhaltsverzeichnis schon oberhalb des Überschriftenblocks anzeigen |
| + | :* <code>0</code> – nein (Vorgabe) |
| + | :* <code>1</code> – ja (für längere Darstellung rechtsbündiger Blöcke der Vorlage) |
| + | |
| + | == Abhängigkeiten == |
| + | * [[Vorlage:TOC nonum/styles]] |
| </div> | | </div> |
| + | |
| + | [[Kategorie:Vorlage:Vorlagendokumentation|!header]] |