Template:Notice: Difference between revisions

From Fallenchungus Wiki
Jump to navigation Jump to search
per tper
 
m 1 revision imported: To get boxes working.
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Mbox
<noinclude>
| name      = Notice
<templatedata>
| demospace  = {{{demospace|}}}
{
| style      = {{#if:{{{style|}}} |{{{style}}} }}
    "description": "For warnings or otherwise needed information.",
| subst      = <includeonly>{{subst:substcheck}}</includeonly>
    "params": {
| type      = notice
        "image": {
| image      = {{#if:{{{image|}}} |[[File:{{{image}}}|40px|Notice|alt={{{imagealt|}}}]]}}
            "label": "Image",
| small      = {{{small|}}}
            "description": "Image to be displayed on the the left hand side.",
| smallimage = {{#if:{{{image|}}} |[[File:{{{image}}}|30px|Notice|alt={{{imagealt|}}}]]}}
            "type": "unknown"
| imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
        },
| textstyle  = {{{textstyle|text-align: {{#if:{{{center|}}}|center|{{{align|left}}}}};}}}
        "notice": {
| text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="{{{headstyle|text-align: {{#if:{{{center|}}}|center|left}};}}}">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
            "label": "Notice Text",
             -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
            "description": "Text to be displayed on the notice.",
}}<noinclude>
             "type": "string"
{{Documentation}}
        }
    }
}
</templatedata>
</noinclude>
</noinclude>
{| style="background: white; color: black;width:610px; padding: 0.5em; text-align: center; margin-left:auto; margin-right:auto; border: 2px solid black;">
| rowspan="2" | {{{image|[[File:Fat.jpeg|60px]]}}}
|{{{notice| '''''Warning!''''' Put whatever notice, don't be a faggot and just invoke this o algo.}}}
|}<noinclude>[[Category:Templates]][[Category:Notice templates]]</noinclude>

Latest revision as of 09:44, 25 May 2025

For warnings or otherwise needed information.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Imageimage

Image to be displayed on the the left hand side.

Unknownoptional
Notice Textnotice

Text to be displayed on the notice.

Stringoptional


Warning! Put whatever notice, don't be a faggot and just invoke this o algo.