Jump to content

Template:Spec-example

From mediawiki.org
(Redirected from Template:Example)

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.

Styled box for example text in guidelines and policies.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Text1

Text to be displayed

Default
Auto value
text
Stringsuggested
Discussiondiscussion

Any discussion to be shown below the paragraph

Default
Auto value
discussion text
Stringoptional
Handlehandle

A moniker that functions as an anchor

Default
Auto value
handle
Stringoptional
Statusstatus

A status marker like 'wip' or 'fixme' or 'todo'.

Default
Auto value
status
Stringoptional