Vorlage:SetHTMLContent
Aus BogenWiki
(Unterschied zwischen Versionen)
Nugman (Diskussion | Beiträge) |
Nugman (Diskussion | Beiträge) |
||
Zeile 4: | Zeile 4: | ||
{{BD-Satz-BDZelleInfo|Typ=SetInfo|Bg=Bg1|Sp=S1|yyy}} | {{BD-Satz-BDZelleInfo|Typ=SetInfo|Bg=Bg1|Sp=S1|yyy}} | ||
</noinclude><includeonly>{{#switch:{{{Typ|-}}} | </noinclude><includeonly>{{#switch:{{{Typ|-}}} | ||
- | |JS=<html><script type="text/javascript"> | + | |JS=<html> |
- | function | + | <script type="text/javascript"> |
+ | function SetBDZelleInfo(Bg,Sp,Info) | ||
{ | { | ||
sCellID = Bg+'-'+Sp; | sCellID = Bg+'-'+Sp; | ||
Zeile 14: | Zeile 15: | ||
} | } | ||
</script></html> | </script></html> | ||
- | |InfoSet=s<html><script type="text/javascript"> | + | |InfoSet=s<html><script type="text/javascript">SetBDZelleInfo('</html>{{{Bg}}}<html>','</html>{{{Sp}}}<html>','</html>{{{Info}}}<html>');</script></html>s |
- | |InfoAdd=a<html><script type="text/javascript"> | + | |InfoAdd=a<html><script type="text/javascript">AddBDZelleInfo('</html>{{{Bg}}}<html>','</html>{{{Sp}}}<html>','</html>{{{Info}}}<html>');</script></html>a |
- | |InfoRep=r<html><script type="text/javascript"> | + | |InfoRep=r<html><script type="text/javascript">ReplaceBDZelleInfo('</html>{{{Bg}}}<html>','</html>{{{Sp}}}<html>','</html>{{{Info}}}<html>');</script></html>r |
|DEFAULT=<span style="color:red">BD-Satz-BDZelleInfo: Typ fehlt oder unbekannt ({{{Typ}}}) !!!</span> | |DEFAULT=<span style="color:red">BD-Satz-BDZelleInfo: Typ fehlt oder unbekannt ({{{Typ}}}) !!!</span> | ||
}}</includeonly> | }}</includeonly> |
Version vom 13:00, 7. Feb. 2022
Type=SetInfo: "xxx" => "xxx"