Üb1: Unterschied zwischen den Versionen
Aus Spiritwiki
Adm1 (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Adm1 (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
{{#css:MyStyles.css}} | |||
If on the other hand "MyStyles.css" was a file in the /wiki/skins directory, then it would be included as shown below. Note that the file must be an absolute path with a leading slash to distinguish it from an article title. | |||
{{#css:/skins/MyStyles.css}} | |||
Alternatively, CSS rules can be directly included within the parser-function (inline) as in the following example, | |||
{{#css: | |||
body { | |||
background: yellow; | |||
font-size: 20pt; | |||
color: red; | |||
} | |||
}} | |||
{{#css: | |||
p { line-height: 150% } | |||
pre { font-size: 200%; color: green; } | |||
}} | |||
============================================================================================== | |||
== Featured Widgets == | == Featured Widgets == | ||
<table cellspacing="0" cellpadding="5" border="0"> | <table cellspacing="0" cellpadding="5" border="0"> |
Version vom 16. Oktober 2013, 15:50 Uhr
{{#css:MyStyles.css}}
If on the other hand "MyStyles.css" was a file in the /wiki/skins directory, then it would be included as shown below. Note that the file must be an absolute path with a leading slash to distinguish it from an article title.
{{#css:/skins/MyStyles.css}}
Alternatively, CSS rules can be directly included within the parser-function (inline) as in the following example,
{{#css:
body { background: yellow; font-size: 20pt; color: red; }
}}
{{#css:
p { line-height: 150% } pre { font-size: 200%; color: green; }
}}
==================================================================================
Featured Widgets
Google Street View (more interactive samples) |
YouTube video player |
Fehler beim Widget AnyName: Unable to load template 'wiki:AnyName'