Template:Spec-example: Difference between revisions

From Wikibundi
(use new base template params)
 
m (1 revision imported: Media wiki templates)
 
(No difference)

Latest revision as of 00:00, 6 August 2023

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

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

Page Template:Spec-paragraph/styles.css has no content.

This is just an example.

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

Page Template:Spec-paragraph/styles.css has no content.

ex-1 This is just an example.

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

Page Template:Spec-paragraph/styles.css has no content.

This is just an example.

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

Usage with discussion:

{{{{PAGENAME}}|{{{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. 

Page Template:Spec-paragraph/styles.css has no content.

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

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