Template:Notice: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{| style="width: 85%; border: 1px solid #aaa; box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2); border-left: 10px solid {{{color|#1E90FF}}}; margin: 0 auto;" class="{{{class|}}}"
<includeonly>{| class="notice" class="{{{class|}}}"
| [[File:{{{image|Ambox notice.png}}}|link=|40x40px]]
| [[File:{{{image|Ambox notice.png}}}|link=|40x40px]]
|style="padding:0 0.5em"| {{{1|This is a notification template. To use it in any page, place <code><nowiki>{{notice|Text of the notice}}</nowiki></code> in the page.<br>It is possible to customize the icon image, like so: <code><nowiki>{{notice|Text of the notice|image=Another_icon.png}}</nowiki></code>.}}}
|style="padding:0 0.5em"| {{{1|This is a notification template. To use it in any page, place <code><nowiki>{{notice|Text of the notice}}</nowiki></code> in the page.<br>It is possible to customize the icon image, like so: <code><nowiki>{{notice|Text of the notice|image=Another_icon.png}}</nowiki></code>.}}}
|}</includeonly><noinclude>{{doc}}</noinclude>
|}</includeonly><templatestyles src="Template:Notice/styles.css"/><noinclude>{{doc}}</noinclude>

Revision as of 22:25, 1 January 2023

File:Ambox notice.png This is a notification template. To use it in any page, place {{notice|Text of the notice}} in the page.
It is possible to customize the icon image, like so: {{notice|Text of the notice|image=Another_icon.png}}.

Examples

{{notice|To edit frame data, edit values in [[GGACR/Venom/Data]].}}
File:Ambox notice.png To edit frame data, edit values in GGACR/Venom/Data.