Hello, Using images like
[[Image:image01.png|thumb|150px|]]
appears to be pretty straight forward.
Using a template for this is rather simple too:
Image Template
[[Image:{{{Image Name|}}}|thumb|150x150px|]]
Call of Template
{{Image Template | Image Name=image01.png}}
But when it comes to engaging Semantic MediaWiki, currently I'm
failing to accomplish this:
Semantic MediaWiki Image Template
[[Image:[[smwImage:={{{smwImage|}}}]]|thumb|150x150px|]]
Call of Template
{{Semantic MediaWiki Image Template | smwImage=image01.png}}
Saving my template results in:
Template:Semantic MediaWiki Image Template
Image Template Test > Sandbox > Semantic MediaWiki Image Template
Test > Sandbox > Template:Semantic MediaWiki Image Template
| thumb | center]]
Usage of this template:
{{{smwImage}}} | thumb | center]]
Categories: Sandbox | Template Definition
Using this template generates the following output:
Semantic MediaWiki Image Template Test
Semantic MediaWiki Image Template Test > Sandbox > Template:Semantic
MediaWiki Image Template > Sandbox > Semantic MediaWiki Image
Template Test
image01.png | thumb | center]] Categories: Sandbox | Semantic MediaWiki What have I done wrong? How can I fix this? Cheers, Martin
PGP.sig
Description: This is a digitally signed message part
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ Semediawiki-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/semediawiki-user
