Thanks a lot Manuela! I will look at defining the simple css classes required to make those examples work. I was just under the impression that these would already exist in the default install.
Will give it a go, thanks again!
frank
On 28/01/19 8:42 PM, Manuela wrote:
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