Jump to content

Module:Shindo/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Awesome Aasim (talk | contribs) at 00:52, 12 April 2024 (Usage). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


This is the Shindo module. Named after the Japanese term used for classifying earthquakes 震度(しんど), this template provides utility for seismic intensity scales.

Usage

  • {{#invoke:Shindo|color}} returns styling for a given seismic intensity on a scale.
  • {{#invoke:Shindo|formatInWikitable}} returns styling for a given seismic intensity on a scale, best suited for a wikitable.
  • {{#invoke:Shindo|formatTag}} returns styling for a given seismic intensity on a scale, as an HTML tag.
  • {{#invoke:Shindo|format}} returns styling for a given seismic intensity on a scale, as an HTML tag or table, depending on whether the parameter "format" is "wikitable".
  • {{#invoke:Shindo|scale}} returns formatting for a specific scale, while shifting all the numbered arguments left, useful for invoking within templates that give specific scales.