Actually, #cargo_declare follows the standard syntax for MediaWiki parser
functions - usually, either all the parameters are named, or none of them
are. #ask is an exception, and #subobject is the very rare exception where
the first parameter is often blank (i.e., your last example).

-Yaron

On Tue, Mar 31, 2015 at 3:36 PM, John McClure <jmccl...@hypergrove.com>
wrote:

> The first parameter in the following syntax seems error-prone.
>
> {{#cargo_declare:
> _table=table name
> |field 1=field description 1
> |field 2=field description 2
> ...etc.
> }}
>
> Normally mediawiki parser functions are either
>
> {#cargo_declare: table name
> |field 1=field description 1
> |field 2=field description 2
> ...etc.
> }}
>
> {#cargo_declare:
> |_table=table name
> |field 1=field description 1
> |field 2=field description 2
> ...etc.
> }}
>
> I know/agree that{{#set}} is different.
>



-- 
WikiWorks · MediaWiki Consulting · http://wikiworks.com
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to