Template:Spec-norm

From Linux Web Expert

Revision as of 15:21, 6 July 2023 by imported>DKinzler (WMF) ({{subst:Spec-paragraph/subst|norm|normative|Some normative text.}})
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Mark text as normative, for use in guidelines and policies.

Usage: {{Spec-norm|Some normative text.}}

Some normative text.

Usage with a handle that functions as an anchor: {{Spec-norm|handle=ex-1|Some normative text.}}

ex-1 Some normative text.

Usage with a status marker: {{Spec-norm|status=todo|Some normative text.}}

Some normative text.

This template can also attach a discussion to a part of a guideline:

Usage with discussion:

{{{{BASEPAGENAME}}|{{{2|SAMPLE}}}
|discussion=Some ongoing discussion.
: Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
:: At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. 
: Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. 
Some normative text.
Some ongoing discussion.
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

<templatedata> { "description": "Styled box for normative text in guidelines and policies.", "params": { "1": { "label": "Text", "description": "Text to be displayed", "type": "string", "default": "", "suggested": true, "autovalue": "text" }, "discussion": { "label": "Discussion", "description": "Any discussion to be shown below the paragraph", "type": "string", "default": "", "suggested": false, "autovalue": "discussion text" }, "handle": { "label": "Handle", "description": "A moniker that functions as an anchor", "type": "string", "default": "", "suggested": false, "autovalue": "handle" }, "status": { "label": "Status", "description": "A status marker like 'wip' or 'fixme' or 'todo'.", "type": "string", "default": "", "suggested": false, "autovalue": "status" } } } </templatedata>