MediaWiki:Lékařská kalkulačka/Generator
Tento prvek vyžaduje JavaScript.
<fieldset id='lekarska_kalkulacka_Generator-obecne'> <input type='text' name='Generator-nazev' id='lekarska_kalkulacka_Generator-nazev' value='Název kalkulačky' /> <input type='text' name='Generator-id' id='lekarska_kalkulacka_Generator-id' value='id' /> <input type='text' name='Generator-popis' id='lekarska_kalkulacka_Generator-popis' value='Popis' /> </fieldset> <orderedlist id='lekarska_kalkulacka_Generator-fieldsets'>
</orderedlist> <button id='lekarska_kalkulacka_Generator-vytvor'>Vytvoř</button>
<fieldset id='lekarska_kalkulacka_Generator-pridejdalsi'> <legend>Přidej další otázku</legend>
<input type='radio' name='Generator-typ' id='lekarska_kalkulacka_Generator-typ-radio' value='radio' checked='checked' /> <label for='lekarska_kalkulacka_Generator-typ-radio'>klikací</label>
<input type='radio' name='Generator-typ' id='lekarska_kalkulacka_Generator-typ-slider' value='slider' /> <label for='lekarska_kalkulacka_Generator-typ-slider'>slider</label> <breakline /> <breakline /> <breakline />
<division id='lekarska_kalkulacka_Generator-parametry-radio'> <input type='text' name='radio-otazka' id='lekarska_kalkulacka_Generator-radio-otazka' value='otazka00' />
<input type='text' name='radio-nazev-promenne' id='lekarska_kalkulacka_Generator-radio-nazev-promenne' value='nazev-promenne00' /> <input type='text' name='radio-id-promenne' id='lekarska_kalkulacka_Generator-radio-id-promenne' value='id-promenne00' />
<label for='lekarska_kalkulacka_Generator-radio-pocet-moznosti00'>Počet možností</label> <input type='number' name='radio-pocet-moznosti' id='lekarska_kalkulacka_Generator-radio-pocet-moznosti' value='2' min='2' max='100' step='1' /> <breakline /> </division>
<division id='lekarska_kalkulacka_Generator-parametry-slider'> <input type='text' name='slider-otazka' id='lekarska_kalkulacka_Generator-slider-otazka' value='otazka00' />
<input type='text' name='slider-nazev-promenne' id='lekarska_kalkulacka_Generator-slider-nazev-promenne' value='nazev-promenne00' /> <input type='text' name='slider-id-promenne' id='lekarska_kalkulacka_Generator-slider-id-promenne' value='id-promenne00' />
<label for='lekarska_kalkulacka_Generator-slider-min'>Minimální hodnota</label> <input type='number' name='slider-min' id='lekarska_kalkulacka_Generator-slider-min' value='0' min='0' max='1000' step='1' />
<label for='lekarska_kalkulacka_Generator-slider-max'>Maximální hodnota</label> <input type='number' name='slider-max' id='lekarska_kalkulacka_Generator-slider-max' value='100' min='0' max='1000' step='1' />
<label for='lekarska_kalkulacka_Generator-slider-step'>Krok</label> <input type='number' name='slider-step' id='lekarska_kalkulacka_Generator-slider-step' value='1' min='0' max='1000' step='1' /> <breakline /> </division> <button id='lekarska_kalkulacka_Generator-pridej'>Přidej</button> </fieldset>
<division id='lekarska_kalkulacka_Generator-results'>
<textarea id='lekarska_kalkulacka_Generator-html' rows='20'></textarea>
<textarea id='lekarska_kalkulacka_Generator-js' rows='20'></textarea>
</division>