Vorlage:Form-File-Table: Unterschied zwischen den Versionen

Aus MoBaDaten
Wechseln zu: Navigation, Suche
 
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 
<!-- --><includeonly><!--
 
<!-- --><includeonly><!--
     -->cellpadding="2" style="border-style: solid; border-color: #aaa; border-width: <!--
+
     -->{{#switch: {{{1|}}}
 +
<!-- -->| bottom  =
 +
<!-- -->| #default = cellpadding="2"
 +
<!-- -->}}<!--
 +
    --> style="border-style: solid; border-color: #aaa; border-width: <!--
 
     -->{{#switch: {{{1|}}}
 
     -->{{#switch: {{{1|}}}
 
<!-- -->| top      = 1px 1px 0px 1px
 
<!-- -->| top      = 1px 1px 0px 1px
Zeile 11: Zeile 15:
 
<!-- -->| top      = 5px 5px 0px 5px
 
<!-- -->| top      = 5px 5px 0px 5px
 
<!-- -->| between  = 0px 5px 0px 5px
 
<!-- -->| between  = 0px 5px 0px 5px
<!-- -->| bottom  = 0px 5px 5px 5px
+
<!-- -->| bottom  = 0px 0px 0px 0px
 
<!-- -->| #default = 5px 5px 5px 5px
 
<!-- -->| #default = 5px 5px 5px 5px
 
<!-- -->}}<!--
 
<!-- -->}}<!--

Aktuelle Version vom 21. Juli 2019, 20:56 Uhr


Dokumentation Edit font awesome grey.svg
Information icon.svg Dies ist die Dokumentation der Unterseite Vorlage:Form-File-Table/Doku


1 Funktion

Die Vorlage gibt einen Formatierungscode für eine komplette Tabelle eines Formulars zur Eingabe der Dateibeschreibung aus. Sie ist eingebettet in den verschiedenen Formularen für die Eingabe der Dateibeschreibung und in erster Linie nicht für den diskreten Einsatz vorgesehen.

2 Parameter

Die Funktion besitzt eine namenlosen Parameter. Mit diesem wird wird das Verhalten hinsichtlich der Darstellung von Rahmen und Abständen in den Zellen gesteuert. Folgende Werte sind möglich:

  • top - Die Tabelle wird am Formularanfang ausgegeben
  • between - Die Tabelle wird nicht am Formularanfang und auch nicht am Formularende ausgegeben
  • bottom - Die Tabelle wird am Formularende ausgegeben
  • <Kein Wert> - Die Tabelle besteht nur aus einer Zeile

3 Beispiel

3.1 Wert top

Quelltext:

{{Form-File-Table|top}}

Ergebnis:

cellpadding="2" style="border-style: solid; border-color: #aaa; border-width: 1px 1px 0px 1px; background-color: #f9f9f9; padding: 5px 5px 0px 5px; font-size: 95%;" width="100%"

3.2 Wert between

Quelltext:

{{Form-File-Table|between}}

Ergebnis:

cellpadding="2" style="border-style: solid; border-color: #aaa; border-width: 0px 1px 0px 1px; background-color: #f9f9f9; padding: 0px 5px 0px 5px; font-size: 95%;" width="100%"

3.3 Wert bottom

Quelltext:

{{Form-File-Table|bottom}}

Ergebnis:

 style="border-style: solid; border-color: #aaa; border-width: 0px 1px 1px 1px; background-color: #f9f9f9; padding: 0px 0px 0px 0px; font-size: 95%;" width="100%"

3.4 <Kein Wert>

Quelltext:

{{Form-File-Table}}

Ergebnis:

cellpadding="2" style="border-style: solid; border-color: #aaa; border-width: 1px 1px 1px 1px; background-color: #f9f9f9; padding: 5px 5px 5px 5px; font-size: 95%;" width="100%"