Permanently protected template

Template:Comparison bar

From islamWiki...
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]
  • Bar providing a graphical representation of compatibility between two views.
  • Choose a value from the following: 0, 10, 25, 50, 75, 100 which correspond to values 0, 1, 2, 3, 4, 5 respectively.
  • These 0-100 values correspond to the percentage of total bar width.

Usage

{{Comparison bar|0}} gives:


{{Comparison bar|1}} or {{Comparison bar|10}} gives:


{{Comparison bar|2}} or {{Comparison bar|25}} gives:


{{Comparison bar|3}} or {{Comparison bar|50}} gives:


{{Comparison bar|4}} or {{Comparison bar|75}} gives:


{{Comparison bar|5}} or {{Comparison bar|100}} gives:


{{Comparison bar| comparison = 4 | height = 30px | width = 20%}} gives:

Parameters

List of parameters:

{{Comparison bar
| comparison =
| height =
| width =
}}

TemplateData

A bar providing graphical representation of compatibility between two views. Choose a value from the following: 0, 10, 25, 50, 75, 100 which correspond to values 0, 1, 2, 3, 4, 5 respectively.

Template parameters

ParameterDescriptionTypeStatus
Comparative numbercomparison1

Choose a value from the following: 0, 10, 25, 50, 75, 100 or 0, 1, 2, 3, 4, 5

Default
0
Example
50
Auto value
empty
Numberrequired
Heightheight

Height of the comparison bar

Default
20px
Example
25px
Auto value
empty
Stringsuggested
Widthwidth

Width of the comparison bar. More appropriate to define width in the form of a percentage.

Default
10%
Example
20%
Auto value
empty
Stringsuggested
Orange trademark.svg
islamWiki
This template page is, or contains, an islamWiki original asset and its use is subject to additional original asset policy restrictions, and may require permission.
IslamWiki-logo-v2.svg