Template:Example: Difference between revisions

<templatestyles src="Example/style.css" /> and minor changes of →‎Tests
imported>FrozenPlum
m (Thought I had fixed this, but maybe I didn't save as I thought I had, or made some other error while doing it (likely) hopefully this remedies)
(<templatestyles src="Example/style.css" /> and minor changes of →‎Tests)
Line 1:
<templatestyles src="Example/style.css" /><!--
--><div class="demo-inputbox-wrapper">
{{#if:{{{nosandbox|}}}|<!-- has value don't display --><!-- otherwise display
-->|<div class="demo-viewpage">
Line 10 ⟶ 11:
 
==Tests==
<ol>
# <li><code><nowiki>{{example|category|base=Criteria for page selection|eg=2}}</nowiki></code> gives: {{example|category|base=Criteria for page selection|eg=2}}</li>
 
 
<ol>
<li value="2"><code><nowiki>{{example|category|base=Criteria for page selection|eg=2|nosandbox=y}}</nowiki></code> gives: {{example|category|base=Criteria for page selection|eg=2|nosandbox=y}}</li>
 
0

edits