Template:Cite Austrian gazette: Difference between revisions
Appearance
Content deleted Content added
Typo |
New syntax |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{type|}}} |
<includeonly>{{#if: {{{type|}}} |
||
| {{#switch: {{{type}}} |
| {{#switch: {{{type}}} |
||
| |
| RGBl |
||
| |
| StGBl |
||
| |
| BGBl |
||
⚫ | |||
| bgb |
|||
| {{#ifexpr: {{#ifeq: x{{{date}}}x | x1934-IIx | 1 | 0}} |
|||
| bgl |
|||
or ({{isnumeric|{{{date}}}|boolean=true}} |
|||
and {{trunc|{{{date}}}|4}} >= 1848 |
|||
and {{trunc|{{{date}}}|4}} <= 2099) |
|||
⚫ | |||
| {{#ifexpr: {{{date}}} >= 1945 or {{{p|0}}} > 0 |
| {{#if: {{{no|}}} |
||
| {{#ifexpr: {{trunc|{{{date}}}|4}} >= 1945 or {{{p|0}}} > 0 |
|||
| {{#ifexpr: {{{date}}} >= 1945 |
| <cite id="CITEREF{{{type}}}_{{{date}}}/{{{no}}}" class="citation web">{{#ifexpr: {{trunc|{{{date}}}|4}} >= 1945 |
||
| [https://www.ris.bka.gv.at/Dokumente/BgblPdf/{{{date}}}_{{{ |
| [https://www.ris.bka.gv.at/Dokumente/BgblPdf/{{{date}}}_{{{no}}}_0/{{{date}}}_{{{no}}}_0.pdf {{{type}}} {{{date}}}/{{{no}}}{{#if: {{{ensub|}}} |, {{{ensub}}} | {{#if: {{{desub|}}} |, {{{desub}}} }}}}]. |
||
⚫ | |||
| sgb = StGBl. |
|||
| RGBl = rgb&datum={{{date}}}{{#ifeq: x{{{date}}}x | x1849x | 000{{{volid|5}}} | 0004 }} |
|||
| bgb = BGBl. |
|||
| StGBl = sgb&datum={{{date}}}0004 |
|||
⚫ | |||
| BGBl = {{#ifexpr: {{#ifeq: x{{{date}}}x | x1934-IIx | 1 | 0}} |
|||
⚫ | |||
or ({{trunc|{{{date}}}|4}} >= 1935 |
|||
| pgs = RGBl. |
|||
and {{trunc|{{{date}}}|4}} <= 1938) |
|||
| rgb = RGBl. |
|||
| bgl&datum={{trunc|{{{date}}}|4}}0004 |
|||
| sgb = StGBl. |
|||
| bgb |
| bgb&datum={{{date}}}0004}} |
||
| |
| GBlÖ = glo&datum={{{date}}}0004 |
||
⚫ | |||
| glo = GBlÖ. |
|||
| {{error|Can't happen}}}} {{{date}}}/{{{issue}}}{{#if: {{{ensub|}}} |, {{{ensub}}} | {{#if: {{{desub|}}} |, {{{desub}}} }}}}]. |
|||
}} {{#if: {{{promdate|}}} | {{{promdate}}}. |
}} {{#if: {{{promdate|}}} | {{{promdate}}}. |
||
}} {{#if: {{{accessdate|}}} | Accessed {{{accessdate}}}. }} |
}} {{#if: {{{accessdate|}}} | Accessed {{{accessdate}}}. }}</cite> |
||
| {{error|Missing p}}}} |
| {{error|Missing p}}}} |
||
| {{error|Missing |
| {{error|Missing no}}}} |
||
| {{error|Invalid date; should be four-digit year between |
| {{error|Invalid date; should be four-digit year between 1848 and 2099}}}} |
||
| {{error|Missing date}}}} |
| {{error|Missing date}}}} |
||
| {{error|Invalid type; should be one of |
| {{error|Invalid type; should be one of RGBl, StGBl, BGBl, GBlÖ}}}} |
||
| {{error|Missing type}}}}</includeonly><noinclude> |
| {{error|Missing type}}}}</includeonly><noinclude> |
||
{{Documentation}} |
{{Documentation}} |
Revision as of 21:07, 1 October 2018
This template uses TemplateStyles: |
An alternative to {{cite web}}
citing an Austrian law gazette:
- Given nothing but gazette id, year, act number, and page number, the template builds a link to either the RIS PDF or the ÖNB ALEX scanned book page.
- For laws promulgated 1945 or later, even the page number is optional.
- The output is enclosed in
cite
tags with a CITEREF equal to the result of an{{sfnref}}
of the form{{sfnref|BGBl 2018/1}}
.
Syntax
{{cite Austrian gazette| type= | date= | issue= | no= | p= | desub= | ensub= | promdate= | accessdate= }}
Example
You type this:
* {{cite Austrian gazette| type=StGBl| date=1945| no=4| desub=Verfassungs-Überleitungsgesetz}}
You see this:
Yes, we show the year first and the act number second, in order to make citation lists more scannable. Yes, we're allowed to do that.
Parameters
Name | Required? | Description | ||||||||||||||||||||||
type
|
required |
| ||||||||||||||||||||||
date
|
required |
| ||||||||||||||||||||||
issue
|
optional |
| ||||||||||||||||||||||
no
|
required |
| ||||||||||||||||||||||
p
|
required until 1940 |
| ||||||||||||||||||||||
desub
|
optional |
| ||||||||||||||||||||||
ensub
|
optional |
| ||||||||||||||||||||||
promdate
|
optional |
| ||||||||||||||||||||||
accessdate
|
optional |
|
Gazette names and identifiers
Polity | Date | Gazette | Abbreviation | ALEX aid value
|
Austrian Empire | 1848 – 1867 | Reichsgesetzblatt | RGBl | pgs
|
Cisleithania | 1867 – 1918 | Reichsgesetzblatt | RGBl | rgb
|
Republic of German-Austria | 1918 – 1919 | Staatsgesetzblatt | StGBl | sgb
|
Republic of Austria, provisional constitution | 1919 – 1920 | Staatsgesetzblatt | StGBl | sgb
|
Republic of Austria, Kelsen constitution | 1920 – 1934 | Bundesgesetzblatt | BGBl | bgb
|
Federal State of Austria | 1934 – 1938 | Bundesgesetzblatt | BGBl | bgl
|
State of Austria | 1938 – 1940 | Gesetzblatt für das Land Österreich | GBlÖ | glo
|
No Austrian law promulgated between April 1940 and April 1945 | ||||
Republic of Austria, provisional government | 1945 | Staatsgesetzblatt | StGBl | sgb
|
Republic of Austria, normal operations restored | 1945 – | Bundesgesetzblatt | BGBl | bgb
|