Module:Shindo/doc
Appearance
![]() | This is a documentation subpage for Module:Shindo. It may contain usage information, categories and other content that is not part of the original module page. |
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|convert}}
will convert a given seismic intensity into a rank.{{#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.