Difference between revisions of "Template:Json"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with "{{#if:{{{old}}} | "{{{old}}}":"{{{new}}}", | }}")
 
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{{old}}}
{{#if:{{{1}}}| "{{fullurl:{{{1}}}}}":"<{{{2}}}>",<br>|}}<noinclude>
| "{{{old}}}":"{{{new}}}",
If the first param is provided then display "param-1":"param-2" for use in json data.  Otherwise, don't display anything.
| }}
</noinclude>

Latest revision as of 11:09, 13 January 2011

"{{fullurl:{{{1}}}}}":"<{{{2}}}>",
If the first param is provided then display "param-1":"param-2" for use in json data. Otherwise, don't display anything.