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
funky hack from wikipedia's pre template
m remove sample text
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<blockquote><pre<includeonly></includeonly>><!--
<blockquote><pre<includeonly></includeonly>><!--
-->{{#if:{{{1|}}}|{{{1}}}<noinclude>|Sample text</noinclude>}}<!--
-->{{#if:{{{1|}}}|{{{1}}}}}<!--
--></pre></blockquote>
--></pre></blockquote><noinclude>
{{Documentation}}
 
[[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"
}