Template:OOO-Notice: Difference between revisions

m updated guide
mNo edit summary
 
Line 47: Line 47:
}}
}}


<templatedata>
{
  "description": "Creates a branded notice box styled for the Out of Ore Wiki.",
  "params": {
    "type": {
      "label": "Type",
      "description": "Visual style of the notice.",
      "type": "string",
      "default": "info",
      "suggestedvalues": [
        "info",
        "success",
        "warning",
        "danger"
      ]
    },
    "title": {
      "label": "Title",
      "description": "Notice title text.",
      "type": "string",
      "required": true
    },
    "text": {
      "label": "Content",
      "description": "Main notice message. You can use line breaks and basic formatting.",
      "type": "content",
      "required": true
    }
  }
}
</templatedata>
</noinclude>
</noinclude>