Template:Spec-example

From Linux Web Expert

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

Usage: {{Spec-example|This is just an example.}}

This is just an example.

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

ex-1 This is just an example.

Usage with a status marker: {{Spec-example|status=todo|This is just an example.}}

This is just an example.

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. 
This is just an example.
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 example 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>