Шаблон:Calculator

Материал из UOGames/UOGuide - Энциклопедия Ultima Online на русском
Версия от 12:07, 25 августа 2019; Alastar (обсуждение | вклад) (Новая страница: «<noinclude>{{Template Overview |usedon=equation-related |purpose=display an interactive JavaScript calculator |template=<nowiki>{{Calculator| }}</nowiki> |categor…»)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

Содержание

Шаблон:Calculator is designed for use on equation-related pages to display an interactive JavaScript calculator.

Template

{{Calculator| }}

Parameters

{{#fornumargs: key | value | [[Category:{{#var: value}}|Calculator]] }}

1

  • Usage: Mandatory
  • Description: The 1 parameter takes a string denoting the ID of the calculator to display. This is used to generate the id property of the div tag that the JavaScript hooks onto. This parameter, the template's only one, is an anonymous parameter, which means that no parameter name needs to be explicitly specified when using Шаблон:Calculator.
  • Valid Value(s): Any string that corresponds to an implemented JavaScript calculator.