Шаблон:Calculator — различия между версиями

Материал из UOGames/UOGuide - Энциклопедия Ultima Online на русском
Перейти к: навигация, поиск
(Новая страница: «<noinclude>{{Template Overview |usedon=equation-related |purpose=display an interactive JavaScript calculator |template=<nowiki>{{Calculator| }}</nowiki> |categor…»)
 
(нет различий)

Текущая версия на 12:07, 25 августа 2019

Содержание

Шаблон: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.