Template:Decoration/Annotation: Difference between revisions

Template page
(Install package: OSW Core)
 
(Update package: OSW Core)
 
Line 1: Line 1:
<includeonly>{{#info: {{{text|}}} |{{{type| {{#ifeq: {{{error|}}}|1|error| {{#ifeq: {{{warning|}}}|1|warning| {{#ifeq: {{{question|}}}|1|note| {{#ifeq: {{{info|}}}|1|info|info<!-- default value -->}} }} }} }} }}} |max-width= |theme= }}</includeonly>
<onlyinclude>{{#info: {{{text|}}} |{{{type| {{#ifeq: {{{error|}}}|1|error| {{#ifeq: {{{warning|}}}|1|warning| {{#ifeq: {{{question|}}}|1|note| {{#ifeq: {{{info|}}}|1|info|info<!-- default value -->}} }} }} }} }}} |max-width= |theme= }}<nowiki /></onlyinclude>
<noinclude>[[Category:OSL/Infrastructure/Template/User]]
<noinclude>[[Category:OSL/Infrastructure/Template/User]]
<templatedata>
<templatedata>

Latest revision as of 02:04, 29 April 2024

Adds a text annotation

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
texttext

no description

Stringrequired
infoinfo

no description

Auto value
1
Booleansuggested
questionquestion

no description

Auto value
0
Booleansuggested
warningwarning

no description

Auto value
0
Booleansuggested
errorerror

no description

Auto value
0
Booleansuggested

Test

  • Default Info
  • Error
  • Warning
  • Question
  • Info
  • Explicit Warning
Cookies help us deliver our services. By using our services, you agree to our use of cookies.