Template:OOO-Notice: Difference between revisions

mNo edit summary
m updated guide
Line 8: Line 8:
=== Usage ===
=== Usage ===


<nowiki>
<syntaxhighlight lang="wiki">
{{OOO-Notice
{{OOO-Notice
| type = warning
| type = warning  
| title = Help improve the wiki!
| title = Here Goes Your Title
| text = Your message here.
| text = Your message will go here here.
}}
}}
</nowiki>
</syntaxhighlight>
 
Change type to what you need, samples below.
You can use: info , success, warning, danger


----
----
Line 20: Line 23:
=== Available Types ===
=== Available Types ===


; Info
{{OOO-Notice
{{OOO-Notice
| type = info
| type = info
| title = Information
| title = Information title example
| text = This is a general informational notice.
| text = This is a general informational notice. <br><br> Type used is info
}}
}}


; Warning
{{OOO-Notice
{{OOO-Notice
| type = warning
| type = warning
| title = Warning
| title = Warning title example
| text = This highlights something important.
| text = This highlights something important. <br><br> Type used is warning
}}
}}


; Success
{{OOO-Notice
{{OOO-Notice
| type = success
| type = success
| title = Success
| title = Success title example
| text = Something completed successfully.
| text = Something completed successfully. <br><br> Type used is success.  
}}
}}


; Danger
{{OOO-Notice
{{OOO-Notice
| type = danger
| type = danger
| title = Critical
| title = Critical title example
| text = This indicates a serious issue.
| text = This indicates a serious issue.<br><br> Type used is Danger.
}}
}}


</noinclude>
</noinclude>