10 Jahre Stabführer.de
Wir feiern unsere Spielleute-Geschichte!
Gesucht werden Daten, Geschichten, Fotos, Dokumente um Teil des Spielleute-Archivs zu werden. Hilf gerne mit!
Melde dich unter info@stabfuehrer.de

Vorlage:TOC: Unterschied zwischen den Versionen

Aus Stabführer.de
Die Seite wurde neu angelegt: „{{#if:{{{limit|}}}|<templatestyles src="TOC/limit-styles.css"/>}}<div style="{{#if:{{{clear|}}}{{{align|}}}| clear: {{{clear|both}}}; }} margin-bottom: .5em; float: {{{align|none}}}; {{#ifeq: {{lc:{{{align|}}}}} | right | margin-left:2em; | {{#ifeq: {{lc:{{{align|}}}}} | left | margin-right:2em; | <!-- align=none --> }} }} width: {{{width|auto}}};" {{#if:{{{limit|}}}|class="toclimit-{{{limit}}}"}}>__TOC__</div><noinclude> {{doc}} Category:Utility templa…“
 
KKeine Bearbeitungszusammenfassung
 
Zeile 2: Zeile 2:
{{doc}}
{{doc}}
[[Category:Utility templates|{{PAGENAME}}]]
[[Category:Utility templates|{{PAGENAME}}]]
</noinclude>
<templatedata>
{
"params": {
"limit": {
"label": {
"en": "Heading level limit",
"cs": "Limit úrovně nadpisu",
                "pt": "Limite de nível do cabeçalho"
},
"description": {
"en": "How many heading levels to show in the table of contents. The lower, the fewer headings are shown. Note that in articles, the main level for headings starts at 2 (the article title is H1, so limit=1 would generally show no headings at all).",
"cs": "Kolik úrovní nadpisů se má zobrazit v obsahu. Čím níže, tím méně nadpisů je zobrazeno. Všimněte si, že v článcích začíná hlavní úroveň nadpisů na 2 (název článku je H1, takže limit=1 by obecně nezobrazoval žádné nadpisy).",
                "pt": "Quantos níveis de cabeçalho a mostrar na tabela de conteúdos. Quanto mais baixo, são mostrados menos cabeçalhos. Note que, nos artigos, o nível principal dos cabeçalhos começa no 2.º (o título do artigo é H1, pelo que limit=1 geralmente não mostraria quaisquer títulos)."
},
"example": "2",
"type": "number"
},
"align": {
"label": {
"en": "Alignment",
"cs": "Zarovnání",
                "pt": "Alinhamento"
},
"description": {
"en": "Whether to align the table of contents to the \"right\" or \"left\". The default is left.",
"cs": "Zda zarovnat obsah \"vpravo\" nebo \"vlevo\". Výchozí nastavení je vlevo.",
                "pt": "Se alinhar a tabela de conteúdos à \"direita\" ou \"esquerda\". A predefinição é à esquerda."
},
"example": "right",
"type": "string"
}
},
"description": {
"en": "Template for changing the way the table of contents is rendered.\n",
"cs": "Šablona pro změnu způsobu vykreslování obsahu.\n",
        "pt": "Modelo para alterar o modo em que a tabela de conteúdos é renderizada.\n"
}
}
</templatedata></noinclude>

Aktuelle Version vom 19. Juni 2026, 19:04 Uhr

Vorlage:Doc

Template for changing the way the table of contents is rendered.

Vorlagenparameter[Vorlagendaten bearbeiten]

ParameterBeschreibungTypStatus
Heading level limitlimit

How many heading levels to show in the table of contents. The lower, the fewer headings are shown. Note that in articles, the main level for headings starts at 2 (the article title is H1, so limit=1 would generally show no headings at all).

Beispiel
2
Zahlenwertoptional
Alignmentalign

Whether to align the table of contents to the "right" or "left". The default is left.

Beispiel
right
Mehrzeiliger Textoptional