Üb1: Unterschied zwischen den Versionen

Aus Spiritwiki

Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
Dies betrifft immer nur die eine wikiseite komplett - nicht das ganze Wiki !


{{#css:MyStyles.css}}
#    {{#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.
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}}
{{#css:/skins/MyStyles.css}}


Alternatively, CSS rules can be directly included within the parser-function (inline) as in the following example,
Alternatively, CSS rules can be directly included within the parser-function (inline) as in the following example,


{{#css:
{{#css:
   body {
   body {
     background: yellow;
     background: yellow;
Zeile 16: Zeile 17:
}}
}}


{{#css:
#    {{#css:
     p { line-height: 150% }
     p { line-height: 150% }
     pre { font-size: 200%; color: green; }
     pre { font-size: 200%; color: green; }

Version vom 16. Oktober 2013, 15:52 Uhr

Dies betrifft immer nur die eine wikiseite komplett - nicht das ganze Wiki !

  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.

  1. {{#css:/skins/MyStyles.css}}

Alternatively, CSS rules can be directly included within the parser-function (inline) as in the following example,

  1. {{#css:
 body {
   background: yellow;
   font-size: 20pt;
   color: red;
 }

}}

  1. {{#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'