Template:Spec-definition

From Linux Web Expert

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

Usage: {{Spec-definition|Just an example definition.}}

Just an example definition.

Usage with a handle that functions as an anchor: {{Spec-definition|handle=ex-1|Just an example definition.}}

ex-1 Just an example definition.

Usage with a status marker: {{Spec-definition|status=todo|Just an example definition.}}

Just an example definition.

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. 
Just an example definition.
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 defining 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>