Vorlage:Tb-start: Unterschied zwischen den Versionen

Aus Planungskompendium Energieverteilung
Wechseln zu:Navigation, Suche
K (1 Version importiert: X1 import - exported page from PPR-EN)
(Remove SMW has_chapter_letter)
 
Zeile 1: Zeile 1:
<includeonly>{{#if: {{{3|{{{id|}}}}}} |[[has_table_id::{{{3|{{{id|}}}}}}| ]]}}<div class="table-title {{#if: {{{4|{{{cols|}}}}}} | {{#switch: {{{4|{{{cols|}}}}}} | 2 = cols-2 | 3 = cols-3 | 4 = cols-4 | 5 = cols-5 | #default = cols-4}}}} {{#ifeq: {{{2|{{{title|+}}}}}} | {{{2|{{{title|-}}}}}}||no-title}}" {{#if: {{{3|{{{id|}}}}}} | id="{{{3|{{{id|}}}}}}"}}>{{#if: {{{2|{{{title|}}}}}} | {{Title|prefix={{txt-fig-acronym}}|num={{{1|{{{num|}}}}}}|title={{{2|{{{title|}}}}}}}} }}</div></includeonly><noinclude>
<includeonly><div class="table-title {{#if: {{{4|{{{cols|}}}}}} | {{#switch: {{{4|{{{cols|}}}}}} | 2 = cols-2 | 3 = cols-3 | 4 = cols-4 | 5 = cols-5 | #default = cols-4}}}} {{#ifeq: {{{2|{{{title|+}}}}}} | {{{2|{{{title|-}}}}}}||no-title}}" {{#if: {{{3|{{{id|}}}}}} | id="{{{3|{{{id|}}}}}}"}}>{{#if: {{{2|{{{title|}}}}}} | {{Title|prefix={{txt-fig-acronym}}|num={{{1|{{{num|}}}}}}|title={{{2|{{{title|}}}}}}}} }}</div></includeonly><noinclude>





Aktuelle Version vom 2. September 2025, 15:05 Uhr


Description

Template to add at the beginning of a table (just before the table). It defines its ID, optionally its standardized max-width, its figure number and figure title It calls the template {{Title}}, which requires one extra parameter = the prefix to add before the figure num (= the figure acronym, defined in another template)

Vorlagenparameter

ParameterBeschreibungTypStatus
Figure/table Numbernum 1

keine Beschreibung

Beispiel
F12
Unbekanntvorgeschlagen
Figure Titletitle 2

keine Beschreibung

Beispiel
This is a figure title
Mehrzeiliger Textvorgeschlagen
Table IDid 3

keine Beschreibung

Beispiel
Tab1127
Mehrzeiliger Textvorgeschlagen
Table standard max width, from 2 to 5cols 4

keine Beschreibung

Beispiel
4
Mehrzeiliger Textvorgeschlagen