Module:Shindo/doc explained

This is the Shindo module. Named after the Japanese term used for classifying earthquakes Japanese: {{ruby|[[wikt:震度|震度]]|しんど, this template provides utility for seismic intensity scales.

Seismic intensity data generated on . Messages on .

Usage

  1. <nowiki>{{</nowiki>#invoke:Shindo|color<nowiki>}}</nowiki> returns styling for a given seismic intensity on a scale.
  2. <nowiki>{{</nowiki>#invoke:Shindo|formatInWikitable<nowiki>}}</nowiki> returns styled text for a given seismic intensity on a scale, best suited for a wikitable.
  3. <nowiki>{{</nowiki>#invoke:Shindo|formatTag<nowiki>}}</nowiki> returns styled text for a given seismic intensity on a scale, as an HTML tag.
  4. <nowiki>{{</nowiki>#invoke:Shindo|format<nowiki>}}</nowiki> returns styled text for a given seismic intensity on a scale, as an HTML tag or table, depending on whether the parameter "format" is "wikitable".
  5. <nowiki>{{</nowiki>#invoke:Shindo|convert<nowiki>}}</nowiki> will convert a given peak ground acceleration into a seismic intensity.
  6. <nowiki>{{</nowiki>#invoke:Shindo|scale<nowiki>}}</nowiki> returns styled text for a specific scale, while shifting all the numbered arguments left, useful for invoking within templates that give specific scales.

Parameters