Template:Cyberpunk Json: Difference between revisions

From Gralamin's Wiki
Jump to navigationJump to search
(Created page with "<noinclude> This template just standardizes writing json objects. {| {{PrettyTable}} |- |{{Hl2}}|'''You Type:''' |{{Hl2}}|'''You Get:''' |- |<pre><nowiki>{{Cyberpunk_Json |title=a.json |form={ sample: [ { a: 1}, {b: 2} ]} }}</nowiki></pre> |{{Cyberpunk_Json |title=a.json |form={ sample: [ { a: 1}, {b: 2} ]} }} |} __NOTOC__ </noinclude>={{{title}}}= <pre<noinclude></noinclude>> {{{form}}} </pre<noinclude></noinclude>>")
 
(No difference)

Latest revision as of 16:57, 15 December 2023

This template just standardizes writing json objects.

You Type: You Get:
{{Cyberpunk_Json
|title=a.json
|form={ sample: [
    { a: 1}, {b: 2}
 ]}
}}
=a.json=
{ sample: [
    { a: 1}, {b: 2}
 ]}

{{{title}}}

{{{form}}}