Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Json example: Difference between revisions

Template page
add documentation
m remove sample text
 
Line 1: Line 1:
<blockquote><pre<includeonly></includeonly>><!--
<blockquote><pre<includeonly></includeonly>><!--
-->{{#if:{{{1|}}}|{{{1}}}<noinclude>|Sample text</noinclude>}}<!--
-->{{#if:{{{1|}}}|{{{1}}}}}<!--
--></pre></blockquote><noinclude>
--></pre></blockquote><noinclude>
{{Documentation}}
{{Documentation}}


[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 21:44, 8 February 2022

This page has been transcluded from Template:Json example/Documentation.


Styles a JSON code block.

Usage

{{json example|
{
  "forest": "open"
}
}}

Will display as:

{
  "forest": "open"
}