Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a44dd1019bb7aedd

Jump to content

Template:8values/doc

From Wikipedia, the free encyclopedia

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:

{{8values|...|...|...|...}}

Alternatively, the same values may be specified by their original names:

{{8values|e=...|d=...|g=...|s=...}}

TemplateData

[edit]

Displays the results of an 8values test taken by a user.

Template parameters

ParameterDescriptionTypeStatus
Economy1 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).

Default
50.0
Numberrequired
Diplomacy2 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).

Default
50.0
Numberrequired
Government3 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).

Default
50.0
Numberrequired
Society4 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).

Default
50.0
Numberrequired
Widthw 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.

Default
400
Example
350
Numberoptional
Disable link?nolink no-link

Suppress the header's permalink to the 8values results page that this template normally generates.

Default
false
Booleanoptional
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.

Default
false
Booleanoptional
Floatfloat

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.

Suggested values
none left right center
Default
none
Stringoptional
CSS classclass classes

One or more CSS classes to apply to the outermost frame element. Do not enclose with quotes!

Default
Example
red-border grey-bg
Stringoptional
CSS stylestyle

CSS directives applied to the outermost frame element. Do not enclose with quotes!

Default
Example
border: 1px solid silver; padding: 2px; background: light-dark(#eee,#333);
Stringoptional

Example

[edit]
{{8values|57.3|55.9|61.5|69.6}}
8values
8values
Social Liberalism
Economic Axis: Centrist
57.3%
42.7%
Diplomatic Axis: Balanced
44.1%
55.9%
Civil Axis: Liberal
61.5%
38.5%
Societal Axis: Progressive
30.4%
69.6%