Vorlage:BD-Satz-Kopf
Aus BogenWiki
(Unterschied zwischen Versionen)
		            		            		            					
					
		| Nugman  (Diskussion | Beiträge) | Nugman  (Diskussion | Beiträge)  | ||
| (Der Versionsvergleich bezieht 14 dazwischenliegende Versionen mit ein.) | |||
| Zeile 61: | 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 |    // Template: BD-Satz-Kopf | ||
|    Gebiet = '</html>{{{Gebiet}}}<html>'; |    Gebiet = '</html>{{{Gebiet}}}<html>'; | ||
| Zeile 156: | Zeile 165: | ||
|    } |    } | ||
| </script></html> | </script></html> | ||
| + | {{SH|Cmd=InitJS}} | ||
| {|style="background:#C0C0C0" cellpadding="6" cellspacing="1" width="100%" | {|style="background:#C0C0C0" cellpadding="6" cellspacing="1" width="100%" | ||
| |-valign="top" style="background:#D0D0D0" | |-valign="top" style="background:#D0D0D0" | ||
| Zeile 162: | Zeile 172: | ||
| |<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:{{{KatNrText1|}}}|{{{KatNrText1}}}|<nowiki | />{{#if:{{{KatNrText1|}}}|{{{KatNrText1}}}|<nowiki | ||
| - |    />{{#if:{{{KatNrText|}}}|{{{KatNrText}}}|KatNr.}} {{#ifeq:{{{MiNr1|-}}}|-|{{{MiNr}}}|{{SeiteLink|Typ=Marke|Gebiet={{{Gebiet}}}|Gebiet1={{{Gebiet1}}}|KatNr={{{MiNr}}}}}/{{{MiNr1}}}}}<nowiki | + |    />{{#if:{{{KatNrText|}}}|{{{KatNrText}}}|KatNr.}} {{#ifeq:{{{Gebiet1|-}}}|MHB|MHB}}{{#ifeq:{{{MiNr1|-}}}|-|{{{MiNr}}}|{{SeiteLink|Typ=Marke|Gebiet={{{Gebiet}}}|Gebiet1={{{Gebiet1}}}|KatNr={{{MiNr}}}}}/{{{MiNr1}}}}}<nowiki | 
| />}}<nowiki | />}}<nowiki | ||
| />{{#if:{{{Anlass|}}}|<nowiki>:</nowiki> {{{Anlass}}}}}</b></big> | />{{#if:{{{Anlass|}}}|<nowiki>:</nowiki> {{{Anlass}}}}}</b></big> | ||
| Zeile 169: | Zeile 179: | ||
| <html><script type="text/javascript"> | <html><script type="text/javascript"> | ||
| var ebvEinAus = document.getElementById('bvEinAus'); | var ebvEinAus = document.getElementById('bvEinAus'); | ||
| - | |||
| - | |||
| - | |||
| - | |||
| if (ebvEinAus) { | if (ebvEinAus) { | ||
|    if (bvStatus > 0) { |    if (bvStatus > 0) { | ||
| - |      if (! | + |      if (!isPrintable) { | 
|        ebvEinAus.style.display = 'inline'; |        ebvEinAus.style.display = 'inline'; | ||
|        bvStatus = (bvStatus==1 ? 2 : 1); |        bvStatus = (bvStatus==1 ? 2 : 1); | ||
Aktuelle Version vom 06:51, 12. Aug. 2025
| Beschreibung 
 | ||||||||||||||||||||||||
| Beispiele 
 | ||||||||||||||||||||||||
| Zurück zur Referenzliste der Vorlagen | 
