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.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting