Vorlage:SetHTMLContent
Aus BogenWiki
(Unterschied zwischen Versionen)
Nugman (Diskussion | Beiträge) |
Nugman (Diskussion | Beiträge) |
||
Zeile 5: | Zeile 5: | ||
Type=InfoAdd: "xxx" => "<html><span id="Bg1-S2">xxx</span></html>" <br> | Type=InfoAdd: "xxx" => "<html><span id="Bg1-S2">xxx</span></html>" <br> | ||
{{BD-Satz-BDZelleInfo|Typ=InfoAdd|Bg=Bg1|Sp=S2|Info=yyy}} | {{BD-Satz-BDZelleInfo|Typ=InfoAdd|Bg=Bg1|Sp=S2|Info=yyy}} | ||
- | |||
- | |||
</noinclude><includeonly>{{#switch:{{{Typ|-}}} | </noinclude><includeonly>{{#switch:{{{Typ|-}}} | ||
|JS=<html> | |JS=<html> | ||
Zeile 29: | Zeile 27: | ||
|InfoSet=<html><script type="text/javascript">SetBDZelleInfo('</html>{{{Bg}}}<html>','</html>{{{Sp}}}<html>','</html>{{{Info}}}<html>');</script></html> | |InfoSet=<html><script type="text/javascript">SetBDZelleInfo('</html>{{{Bg}}}<html>','</html>{{{Sp}}}<html>','</html>{{{Info}}}<html>');</script></html> | ||
|InfoAdd=<html><script type="text/javascript">AddBDZelleInfo('</html>{{{Bg}}}<html>','</html>{{{Sp}}}<html>','</html>{{{Info}}}<html>');</script></html> | |InfoAdd=<html><script type="text/javascript">AddBDZelleInfo('</html>{{{Bg}}}<html>','</html>{{{Sp}}}<html>','</html>{{{Info}}}<html>');</script></html> | ||
- | |||
|#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 18:27, 7. Feb. 2022
Type=InfoSet: "xxx" => "xxx"
Type=InfoAdd: "xxx" => "xxx"