Vorlage:Bank Account Template: Unterschied zwischen den Versionen

Aus Open Source Ecology - Germany
Zur Navigation springen Zur Suche springen
(Kontonummer und BLZ entfernt, SEPA erfordert lediglich IBAN)
(+documentation; readable parameters)
Zeile 1: Zeile 1:
<div class="roundgrid">
+
<noinclude>
 +
Genercic template to display bank accounts.
 +
 
 +
== Usage ==
 +
 
 +
<nowiki>{{</nowiki>{{PAGENAME}}
 +
|account holder label=Kontoinhaber
 +
|account holder=OSE Germany e.V.
 +
|bank name=GLS Bank, Bochum, Germany
 +
|BIC=GENODEM1GLS
 +
|IBAN=DE19 4306 0967 1190 6553 00
 +
|purpose label=Verwendungszweck
 +
|purpose=OSEG Tiva
 +
}}
 +
 
 +
… gets displayed as:
 +
 
 +
{{ {{PAGENAME}}
 +
|account holder label=Kontoinhaber
 +
|account holder=OSE Germany e.V.
 +
|bank name=GLS Bank, Bochum, Germany
 +
|BIC=GENODEM1GLS
 +
|IBAN=DE19 4306 0967 1190 6553 00
 +
|purpose label=Verwendungszweck
 +
|purpose=OSEG Tiva
 +
}}
 +
 
 +
It is more practical to wrap this {{FULLPAGENAME}} in another template to have a generic bank account for ''one account holder'' or ''one purpose'', in this case, e.g. a [[template: Bankkonto OSEG]] (in German for the Open Source Ecology Germany, but different reason for payment). Please categorize them to get hold of the data later on:
 +
* use [[:category: Sensitive Daten]] (German)
 +
* use [[:category: Sensitive Data]] (English)
 +
 
 +
== Dependencies ==
 +
 
 +
* [[template: Multilingual switch]]
 +
 
 +
== Parameters ==
 +
 
 +
The template has the following parameters ('''mandatory in bold''', optional in normal font), the labels:
 +
<div class="definition-inline code-bold-only">
 +
; <code>|account holder label=</code> : label of the account holder
 +
; <tt>|IBAN label=</tt> : label of IBAN the <u>I</u>nternational <u>B</u>ank <u>A</u>ccount <u>N</u>umber (default: IBAN)
 +
; <tt>|BIC label=</tt> : label of BIC, the <u>B</u>ank <u>I</u>dentifier <u>C</u>ode (default: BIC)
 +
; <code>|purpose label=</code> : label of purpose or reason for payment
 +
</div>
 +
… and the data:
 +
 
 +
<div class="definition-inline code-bold-only">
 +
; <code>|account holder=</code> : the account holder
 +
; <code>|IBAN=</code> : the actual IBAN
 +
; <code>|BIC=</code> : the actual BIC
 +
; <code>|purpose=</code> : the actual purpose or reason for payment
 +
; <code>|bank name=</code> : the actual bank name
 +
</div>
 +
 
 +
And below you see the parameters (generic) layout:
 +
</noinclude><div class="roundgrid">
 
<div class="roundgriditem" style="text-align: right;">
 
<div class="roundgriditem" style="text-align: right;">
''{{{accountHolderLabel}}}'': <br/>
+
''{{{accountHolderLabel|{{{account holder label}}}}}}'': <br/>
''{{{ibanLabel}}}'': <br/>
+
''{{{ibanLabel|{{{IBAN label|<abbr title="{{Multilingual switch |de=Internationale Bank Abrechnungskonto Nummer |en=International Bank Account Number }}">IBAN</abbr>}}}}}}'': <br/>
''{{{bicLabel}}}'': <br/>
+
''{{{bicLabel|{{{BIC label|<abbr title="{{Multilingual switch |de=Bank Identifizierungs Code|en=Bank Identifier Code}}">BIC</abbr>}}}}}}'': <br/>
''{{{purposeLabel}}}'':  
+
''{{{purposeLabel|{{{purpose label}}}}}}'':  
 
</div>
 
</div>
 
<div class="roundgriditem" style="text-align: left;">
 
<div class="roundgriditem" style="text-align: left;">
'''{{{accountHolder}}}'''<br/>
+
'''{{{accountHolder|{{{account holder}}}}}}'''<br/>
'''{{{iban}}}'''<br/>
+
'''{{{iban|{{{IBAN}}}}}}'''<br/>
'''{{{bic}}}''' ({{{bankname}}})<br/>
+
'''{{{bic|{{{BIC}}}}}}''' ({{{bankname|{{{bank name}}}}}})<br/>
 
'''{{{purpose}}}'''
 
'''{{{purpose}}}'''
</div></div><noinclude>[[Category:Templates]] [[Category:Sensitive Data]]</noinclude>
+
</div></div>

Version vom 26. Februar 2020, 13:38 Uhr

Genercic template to display bank accounts.

Usage

{{Bank Account Template
|account holder label=Kontoinhaber
|account holder=OSE Germany e.V.
|bank name=GLS Bank, Bochum, Germany
|BIC=GENODEM1GLS
|IBAN=DE19 4306 0967 1190 6553 00
|purpose label=Verwendungszweck
|purpose=OSEG Tiva
}}

… gets displayed as:

Kontoinhaber:
IBAN:
BIC:
Verwendungszweck:

OSE Germany e.V.
DE19 4306 0967 1190 6553 00
GENODEM1GLS (GLS Bank, Bochum, Germany)
OSEG Tiva

It is more practical to wrap this Vorlage:Bank Account Template in another template to have a generic bank account for one account holder or one purpose, in this case, e.g. a template: Bankkonto OSEG (in German for the Open Source Ecology Germany, but different reason for payment). Please categorize them to get hold of the data later on:

Dependencies

Parameters

The template has the following parameters (mandatory in bold, optional in normal font), the labels:

|account holder label=
label of the account holder
|IBAN label=
label of IBAN the International Bank Account Number (default: IBAN)
|BIC label=
label of BIC, the Bank Identifier Code (default: BIC)
|purpose label=
label of purpose or reason for payment

… and the data:

|account holder=
the account holder
|IBAN=
the actual IBAN
|BIC=
the actual BIC
|purpose=
the actual purpose or reason for payment
|bank name=
the actual bank name

And below you see the parameters (generic) layout:

{{{account holder label}}}:
IBAN:
BIC:
{{{purpose label}}}:

{{{account holder}}}
{{{IBAN}}}
{{{BIC}}} ({{{bank name}}})
{{{purpose}}}