Hi Frank,

for me this special page helps a lot: 
https://www.mediawiki.org/wiki/Special:ExpandTemplates

Enter following text into the input box:

{{note|Foo}}
{{note|Foo|reminder}}
{{note|Foo|error}}
{{note|Foo|gotcha}}
{{tip|Foo}}
{{note}} Loose test

and check out the result.
There is still a lot of work to be done because of the css-classes used,
check out the talk-page of the template:

https://www.mediawiki.org/wiki/Template_talk:Note

After defining the appropriate classes in your common.css you might define a
template like this:

<div style="background-position: left 7px top 50%; padding-right: 0.5em;
padding-left: 40px;" class="{{#switch:{{{2|info}}}
|info=note-info
|reminder=note-reminder
|error|gotcha=note-error
|...
|#default=}}" >{{{1|Foo}}}</div>

hth
Manuela



--
Sent from: http://mediawiki-i.429.n8.nabble.com/

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to