Loading...
 
Features / Usability

Features / Usability


Re: Re: Re: Re: How to use variables for multiple content templates?

posts: 3665 United States

> How could I accomplish this with plugins or quicktags? I need to define in-page variables. Can this be done via plugins or quicktags?
>
> > How about with wiki plugins and/or quicktags?
> >

Copy to clipboard
{SOMEPLUGIN(variable1=>FOO, variable2=>BAR, etc) /}


So, for your automotive example, you might have:

Copy to clipboard
{SOMEPLUGIN(cost=>10000, horsepower=>120, style=sedan) /}


I'm assuming that you want the plugin to somehow format the data?

Your Car
  • Cost: $10000
  • Horsepower: 120hp
  • Style: Sedan


Then you could assign the entire plugin to a quicktag, so that your end-users click one button, then fill in the variables.

HTH,


-Rick
Now Available: TikiWiki for Dummies Smarties — A beginner's guide to using ))TikiWiki((.

There are no comments at this time.