That's possible, here is an example:

The template

http://ontoworld.org/wiki/Template:Between

is used on the page of Spain

http://ontoworld.org/wiki/Spain

The thing is, that you can take arguments either by name, i.e. 
{{{country}}}, or by position, i.e. {{{1}}}, within a template.

As Stecki already answered, semantic templates should be activated as 
described in the installation.

I hope this helps,
cheers,
denny

Michael W. Dietrich wrote:
> Hi there,
> 
> We're about to develop a catalog page based on mediawiki and swiki.
> 
> On every page besides a loger description Text we would like to use at 
> least a couple of always the same attributes as e.g.
> 
> Vendor:=
> Artikelno:=
> Package-Width:=
> Package-Height:=
> Package-Depth:=
> Retail-Price:=
> 
> As it is very anoying to always having to type the above mentioned list, 
> we would like to define a template named T_Article and call it e.g. as 
> follows:
> 
> {{T_Article|HP|123456|225|22.3|300|21.95}}
> 
> Probably and if necessary for smw to work correctly I would even accept 
> calling it with a preceding "subst".
> 
> Has anyone ever done such a thing?
> 
> Can it be done?
> 
> May I have an example please?
> 
> Thanks and best regards
> Michael W. Dietrich
> ------------------------------------------------------
> modulo3 GmbH
> Michael W. Dietrich
> Grünstraße 32a
> D-40667 Meerbusch-Büderich
> Germany
> 
> freecall : 0 800-8767-2000
> fon : +49-2132-9373- 0
> fax : +49-2132-9373-27
> mobile : +49-151-1130 6995
> email : [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> web : http://www.modulo3.de
> ------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> swikig mailing list
> [email protected]
> http://www.aifb.uni-karlsruhe.de/mailman/listinfo/swikig

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Semediawiki-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

Reply via email to