1====== Template for JSON Generate Document Demo ====== 2 3===== Standard patterns from Namespace Templates ===== 4''This page ID is: @''''ID@.'' 5 6This page ID is: @ID@. 7 8 9===== Show or remove sections ===== 10''@%''''$-start(name == Caramel sauce)%''\\ 11''==== Caramel sauce specific section ====''\\ 12''%''''$end%@'' 13 14@%$-start(name == Caramel sauce)% 15==== Caramel sauce specific section ==== 16%$end%@ 17 18''@%''''$-start(Ingredients.chocolate)%''\\ 19''This part is only shown, if [''''[https:/''''/en.wikipedia.org/wiki/Chocolate|chocolate]] is used.''\\ 20''%''''$end%@'' 21 22@%$-start(Ingredients.chocolate)% 23This part is only shown, if [[https://en.wikipedia.org/wiki/Chocolate|chocolate]] is used. 24%$end%@ 25 26 27===== Extract data ===== 28''==== @%''''$name%@ ===='' 29 30==== @%$name%@ ==== 31 32''Type: @%''''$type%@, sugar: @%''''$Ingredients.sugar%@.'' 33 34Type: @%$type%@, sugar: @%$Ingredients.sugar%@. 35 36''<co''''de javascript>''\\ 37''@%''''$Ingredients%@''\\ 38''</c''''ode>'' 39 40<code javascript> 41@%$Ingredients%@ 42</code> 43