Template:Decoration/Annotation: Difference between revisions

Template page
(Update 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 09:22, 20 December 2023

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.