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
m use fake pre to allow wikicode parsing
m remove sample text
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<blockquote><div class="mw-code" style="display:block;margin:0 0 10px;font-size:13px;line-height:1.5;word-break:break-all;word-wrap:break-word;border-radius:4px;><!--
<blockquote><pre<includeonly></includeonly>><!--
-->{{{1}}}<!--
-->{{#if:{{{1|}}}|{{{1}}}}}<!--
--></div></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"
}