Template:8values
| This template uses Lua: |
This template is used for displaying a user's results from taking the 8values political quiz. It generates a large chart with four sliders of variable configuration, and is designed to be displayed in a user page's main column (as opposed to its sidebar).
Usage
[edit]The 8values results page should have a URL of the form https://8values.github.io/results.html?e=...&d=...&g=...&s=.... Copy the highlighted values and paste them as template parameters in the following order:
Alternatively, the same values may be specified by their original names:
TemplateData
[edit]Displays the results of an 8values test taken by a user.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Economy | 1 e economy | The first of four values returned by an 8values test result. This one represents the former half of the economic axis (equality vs. markets).
| Number | required |
| Diplomacy | 2 d diplomacy | The second of four values returned by an 8values test result. This one represents the latter half of the diplomatic axis (national vs. global).
| Number | required |
| Government | 3 g government | The third of four values returned by an 8values test result. This one represents the former half of the civil axis (liberty vs. authority).
| Number | required |
| Society | 4 s society | The last of four values returned by an 8values test result. This one represents latter half of the societal axis (tradition vs. progress).
| Number | required |
| Width | w width | Specify the width of the test-result frame in pixels (sans <code>px</code> suffix). Height will be set automatically to 81.25% of the width parameter.
| Number | optional |
| Disable link? | nolink no-link | Suppress the header's permalink to the 8values results page that this template normally generates.
| Boolean | optional |
| Display inline? | inline | Show the results frame inline instead of as a block. This is mainly helpful for displaying it side-by-side with other inline elements, such as an image.
| Boolean | optional |
| Float | float | Align the frame to the left- or right-hand sides of the adjoining paragraphs, as per the [[Help:Extended image syntax#Location|<code>location</code> parameter]] of images.
| String | optional |
| CSS class | class classes | One or more CSS classes to apply to the outermost frame element. Do not enclose with quotes!
| String | optional |
| CSS style | style | CSS directives applied to the outermost frame element. Do not enclose with quotes!
| String | optional |
Example
[edit]{{8values|57.3|55.9|61.5|69.6}}