Vorlage:BD-Satz-Kopf
Aus BogenWiki
(Unterschied zwischen Versionen)
Nugman (Diskussion | Beiträge) |
Nugman (Diskussion | Beiträge) |
||
(Der Versionsvergleich bezieht 23 dazwischenliegende Versionen mit ein.) | |||
Zeile 14: | Zeile 14: | ||
; Anlass : Kurze Beschreibung des Ausgabeanlass. | ; Anlass : Kurze Beschreibung des Ausgabeanlass. | ||
; KatNrText: Text der vor der Katalognummer (MiNr/MiNr1) angezeigt werden soll. Standart ist "KatNr.". | ; KatNrText: Text der vor der Katalognummer (MiNr/MiNr1) angezeigt werden soll. Standart ist "KatNr.". | ||
+ | ; KatNrText1: Text der anstatt der Katalognummer angezeigt werden soll. Standart ist "KatNr. ''MiNr[/MiNr1]''". | ||
{{tpldoc|section=descend}} | {{tpldoc|section=descend}} | ||
{{tpldoc|section=exmplstart}} | {{tpldoc|section=exmplstart}} | ||
Zeile 31: | Zeile 32: | ||
{{tpldoc|section=exmplnewrow}} | {{tpldoc|section=exmplnewrow}} | ||
|<pre> | |<pre> | ||
- | {{BD-Satz-Kopf |Gebiet=VgnBnd |Gebiet1= | + | {{BD-Satz-Kopf |Gebiet=VgnBnd |Gebiet1=Weihnachtssiegelmarke |MiNr=1959 |KatNrText=Jahr }} |
{{BD-Satz-Abschn |Titel=Abc }} | {{BD-Satz-Abschn |Titel=Abc }} | ||
|Beliebiger Text... | |Beliebiger Text... | ||
Zeile 38: | Zeile 39: | ||
</pre> | </pre> | ||
{{tpldoc|section=exmplnewrow}} | {{tpldoc|section=exmplnewrow}} | ||
- | |{{BD-Satz-Kopf | + | |{{BD-Satz-Kopf |Gebiet=VgnBnd |Gebiet1=Weihnachtssiegelmarke |MiNr=1959 |KatNrText=Jahr }} |
{{BD-Satz-Abschn |Titel=Abc }} | {{BD-Satz-Abschn |Titel=Abc }} | ||
|Beliebiger Text... | |Beliebiger Text... | ||
Zeile 52: | Zeile 53: | ||
</pre> | </pre> | ||
{{tpldoc|section=exmplnewrow}} | {{tpldoc|section=exmplnewrow}} | ||
- | |{{BD-Satz-Kopf | + | |{{BD-Satz-Kopf |Gebiet=DDRBM |Gebiet1=FDJ |MiNr=27-32 |MiNr1=1968 |Anlass=... }} |
{{BD-Satz-Abschn |Titel=Abc }} | {{BD-Satz-Abschn |Titel=Abc }} | ||
|Beliebiger Text... | |Beliebiger Text... | ||
Zeile 60: | Zeile 61: | ||
</noinclude><includeonly><nowiki | </noinclude><includeonly><nowiki | ||
/><html><script type="text/javascript"> | /><html><script type="text/javascript"> | ||
+ | // Check if the printable version of the page is opened | ||
+ | var sQueryString = window.location.search; | ||
+ | var urlParams = new URLSearchParams(sQueryString); | ||
+ | var isPrintable = false; | ||
+ | if (urlParams.has('printable')) | ||
+ | if (urlParams.get('printable') == 'yes') | ||
+ | isPrintable = true; | ||
+ | console.log('sQueryString = ',sQueryString); | ||
+ | console.log('isPrintable = ',isPrintable); | ||
+ | // Template: BD-Satz-Kopf | ||
Gebiet = '</html>{{{Gebiet}}}<html>'; | Gebiet = '</html>{{{Gebiet}}}<html>'; | ||
Gebiet1 = '</html>{{{Gebiet1|}}}<html>'; | Gebiet1 = '</html>{{{Gebiet1|}}}<html>'; | ||
Zeile 119: | Zeile 130: | ||
} | } | ||
} | } | ||
+ | sessionStorage.setItem('SelBg_'+BogenListe[nBgIdx].KatNr+'_'+bvSessionID,sBg); | ||
} | } | ||
} | } | ||
Zeile 158: | Zeile 170: | ||
{|style="background:transparent" cellpadding="0" cellspacing="0" width="100%" | {|style="background:transparent" cellpadding="0" cellspacing="0" width="100%" | ||
|<big><b>{{SeiteLink|Typ=Übersicht|Gebiet={{{Gebiet}}}|Gebiet1={{{Gebiet1}}}|KatNr={{{MiNr}}}}} <nowiki | |<big><b>{{SeiteLink|Typ=Übersicht|Gebiet={{{Gebiet}}}|Gebiet1={{{Gebiet1}}}|KatNr={{{MiNr}}}}} <nowiki | ||
- | />{{#if:{{{KatNrText|}}}|{{{KatNrText}}} |KatNr. }}{{#ifeq:{{{MiNr1|-}}}|-|{{{MiNr}}}|{{SeiteLink|Typ=Marke|Gebiet={{{Gebiet}}}|Gebiet1={{{Gebiet1}}}|KatNr={{{MiNr}}}}}/{{{MiNr1}}}}}<nowiki | + | />{{#if:{{{KatNrText1|}}}|{{{KatNrText1}}}|<nowiki |
+ | />{{#if:{{{KatNrText|}}}|{{{KatNrText}}}|KatNr.}} {{#ifeq:{{{Gebiet1|-}}}|MHB|MHB}}{{#ifeq:{{{MiNr1|-}}}|-|{{{MiNr}}}|{{SeiteLink|Typ=Marke|Gebiet={{{Gebiet}}}|Gebiet1={{{Gebiet1}}}|KatNr={{{MiNr}}}}}/{{{MiNr1}}}}}<nowiki | ||
+ | />}}<nowiki | ||
/>{{#if:{{{Anlass|}}}|<nowiki>:</nowiki> {{{Anlass}}}}}</b></big> | />{{#if:{{{Anlass|}}}|<nowiki>:</nowiki> {{{Anlass}}}}}</b></big> | ||
|align="right"|<html><span id="bvEinAus" style="display:none;cursor:pointer;" onclick="bvEinAusOnClick();"><b>[BV aus]</b></span></html> | |align="right"|<html><span id="bvEinAus" style="display:none;cursor:pointer;" onclick="bvEinAusOnClick();"><b>[BV aus]</b></span></html> | ||
Zeile 166: | Zeile 180: | ||
if (ebvEinAus) { | if (ebvEinAus) { | ||
if (bvStatus > 0) { | if (bvStatus > 0) { | ||
- | ebvEinAus.style.display = 'inline'; | + | if (!isPrintable) { |
- | + | ebvEinAus.style.display = 'inline'; | |
- | + | bvStatus = (bvStatus==1 ? 2 : 1); | |
+ | bvEinAusOnClick(); | ||
+ | } else { | ||
+ | ebvEinAus.innerHTML = ''; | ||
+ | } | ||
} else { | } else { | ||
ebvEinAus.innerHTML = ''; | ebvEinAus.innerHTML = ''; |
Aktuelle Version vom 20:31, 24. Mär. 2025
Beschreibung
| ||||||||||||||||||||||||
Beispiele
| ||||||||||||||||||||||||
Zurück zur Referenzliste der Vorlagen |