From: Yaron K. <ya...@wi...> - 2017-11-27 21:35:38
|
Hi David, If you're talking about a multiple-instance template, then if you make that template "embedded" within a field in the main template, the template calls will all get "collapsed", including the newlines between calls - so they will look like: {{foo|bar=aaa|baz=bbb}}{{foo|bar=aaa|baz=bbb}}... To see how to implement this, look for "embed in field" here: https://www.mediawiki.org/wiki/Extension:Page_Forms/Defining_forms -Yaron On Mon, Nov 27, 2017 at 2:00 AM, David Schor <sch...@gm...> wrote: > Hi all, > > I am looking for a way to make Page Forms output a collapsed template > output. Maybe there is an option I missed. > > Basically, by default saving a form will outputs the standard one > entry per line: > > {{foo > |bar=aaa > |baz=bbb > }} > {{foo > |bar=aaa > |baz=bbb > }} > > I am looking for a way to make it output a collapsed output: > > {{foo|bar=aaa|baz=bbb}} > {{foo|bar=aaa|baz=bbb}} > > For one particular template of ours. > > > Regards, > > David > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Semediawiki-user mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > -- WikiWorks · MediaWiki Consulting · http://wikiworks.com |