Template:Austroboss/doc
This is a documentation subpage for Template:Austroboss. It may contain usage information, categories and other content that is not part of the original template page. |
{{austroboss}} is a template for building tables of Austrian government ministers and other office holders quickly and with few keystrokes.
Usage
[edit]Articles on ministries
[edit]Simple example from the Ministry of Civil Service:
<table class="wikitable"> {{austroposse|e=Ministry of Civil Service and Sports|g=Bundesministerium für öffentlichen Dienst und Sport}} {{austroboss|cv=Kurz I|nv=Heinz-Christian Strache|pv=FPÖ|dv=January 1, 2018}} </table>
Ministry of Civil Service and Sports Bundesministerium für öffentlichen Dienst und Sport |
||||
Cabinet: | Minister: | Party: | Date appointed: | |
Kurz I | Heinz-Christian Strache | FPÖ | January 1, 2018 |
As you can see, the template will automatically
- link to the article on the cabinet;
- show the party symbol in the correct party color and make it link to the party article;
- link to the article on the office holder.
For every parameter denoting a value there is an optional companion parameter specifying a rowspan number for the table cell in question.
Names of value parameters end in v
; names of rowspan parameters end in r
.
What are the rowspan parameters good for? Look at this example from the Ministry of Education:
<table class="wikitable"> {{austroposse|e=State Secretariat of Popular Enlightenment and Education|g=Staatsamt für Volksaufklärung, für Unterricht und Erziehung und für Kultusangelegenheiten|a=Secretary}} {{austroboss|cv=Renner IV|nv=Ernst Fischer (writer){{!}}Ernst Fischer|pv=KP|dv=April 27, 1945}} {{austroposse|e=Ministry of Education|g=Bundesministerium für Unterricht|a=Minister}} {{austroboss|cv=Figl I|nr=2|nv=Felix Hurdes|pr=2|pv=VP|dv=December 20,1945}} {{austroboss|cv=Figl II|dv=November 8, 1949}} </table>
State Secretariat of Popular Enlightenment and Education Staatsamt für Volksaufklärung, für Unterricht und Erziehung und für Kultusangelegenheiten |
||||
Cabinet: | Secretary: | Party: | Date appointed: | |
Renner | Ernst Fischer | KPÖ | April 27, 1945 | |
Ministry of Education Bundesministerium für Unterricht |
||||
Cabinet: | Minister: | Party: | Date appointed: | |
Figl I | Felix Hurdes | ÖVP | December 20,1945 | |
Figl II | November 8, 1949 |
Mr Hurdes was minister in two consecutive cabinets. Plenty of people are ministers in two or more consecutive cabinets. Christian Broda was appointed Minister of Justice five consecutive times, took a short break, and then served for another four consecutive terms. Heinrich Drimmel was Minister of Education six times in a row. Hans Schüff and Anton Proksch both lead Ministries for seven consecutive terms. Printing someone's name and party symbol on seven consecutive table rows would neither look nice nor make the table easier to read. So therefore rowspans.
Articles on cabinets
[edit]<table class="wikitable"> <tr><td>'''Department:''' <td>'''Office:''' <td>'''Officeholder:''' <td>'''Party:''' {{austroboss| lt=Federal Chancellery (Austria)| lv=Chancellery| lr=2| ov=Chancellor| nv=Ernst Streeruwitz| pv=CS}} {{austroboss| ov=Vice chancellor|nv=Vinzenz Schumy| pv=LBd}} {{austroboss| lt=Ministry of Justice (Austria)| lv=Ministry of Justice |ov=Minister| nv=Franz Slama| pv=GDVP}} {{austroboss| lt=Ministry of Education (Austria)| lv=Ministry of Education |ov=Minister| nv=Emmerich Czermak| pv=CS}} {{austroboss| lt=Ministry of Social Affairs (Austria)| lv=Ministry of Social Affairs |ov=Minister| nv=Josef Resch| pv=CS}} {{austroboss| lt=Ministry of Finance (Austria)| lv=Ministry of Finance|ov=Minister| nv=Johann Josef Mittelberger| pv=CS}} {{austroboss| lt=Ministry of Agriculture (Austria)| lv=Ministry of Agriculture and Forestry| ov=Minister| nv=Florian Födermayr| pv=CS}} {{austroboss| lt=Ministry of Economy (Austria)| lv=Ministry of Commerce and Transport| ov=Minister| nv=Hans Schürff| pv=GDVP}} {{austroboss| lt=Ministry of Defense (Austria)| lv=Ministry of the Army| ov=Minister| nv=Carl Vaugoin|pv=CS}} </table>
Department: | Office: | Officeholder: | Party: |
Chancellery | Chancellor | Ernst Streeruwitz | CS |
Vice chancellor | Vinzenz Schumy | LBd | |
Ministry of Justice | Minister | Franz Slama | GDVP |
Ministry of Education | Minister | Emmerich Czermak | CS |
Ministry of Social Affairs | Minister | Josef Resch | CS |
Ministry of Finance | Minister | Johann Josef Mittelberger | CS |
Ministry of Agriculture and Forestry | Minister | Florian Födermayr | CS |
Ministry of Commerce and Transport | Minister | Hans Schürff | GDVP |
Ministry of the Army | Minister | Carl Vaugoin | CS |
Formal documentation
[edit]Each invocation of the template creates one table row, usually containing four cells.
Technically, no parameters are required, but a row without either a nv
or a dv
will not render.
Field name | Prerequisite | Description | Example | Result |
cv
|
none |
|
Klaus II
|
Klaus II |
cr
|
cv
|
|
||
tv
|
none |
|
||
tl
|
tv
|
|
||
tr
|
tv
|
|
||
ov
|
none |
|
Chancellor
|
Chancellor |
or
|
ov
|
|
||
nv
|
none |
|
Alois Mock
|
Alois Mock |
nr
|
nv
|
|
||
n
|
nv
|
|
interim
|
(interim) |
pv
|
none |
|
VP
|
ÖVP |
pr
|
pv
|
|
||
dv
|
none |
|
June 2, 1969
|
June 2, 1969 |
dr
|
dv
|
|