Content deleted Content added
No edit summary |
No edit summary |
||
| Line 229: | Line 229: | ||
], |
], |
||
"default": "traditional", |
"default": "traditional", |
||
"suggested": true |
"suggested": true, |
||
"label": { |
|||
"he": "סוג הבאנר" |
|||
} |
|||
}, |
}, |
||
"bg-color": { |
"bg-color": { |
||
"label": |
"label": { |
||
"en": "Background color", |
|||
"he": "צבע רקע" |
|||
}, |
|||
"type": "string", |
"type": "string", |
||
"suggestedvalues": [ |
"suggestedvalues": [ |
||
| Line 242: | Line 248: | ||
}, |
}, |
||
"border-color": { |
"border-color": { |
||
"label": |
"label": { |
||
"en": "Border color", |
|||
"he": "צבע מסגרת" |
|||
}, |
|||
"type": "string", |
"type": "string", |
||
"suggestedvalues": [ |
"suggestedvalues": [ |
||
| Line 252: | Line 261: | ||
}, |
}, |
||
"text-color": { |
"text-color": { |
||
"label": |
"label": { |
||
"en": "Text color", |
|||
"he": "צבע טקסט" |
|||
}, |
|||
"type": "string", |
"type": "string", |
||
"suggestedvalues": [ |
"suggestedvalues": [ |
||
| Line 261: | Line 273: | ||
}, |
}, |
||
"icon": { |
"icon": { |
||
"label": |
"label": { |
||
"en": "Icon", |
|||
"he": "אייקון" |
|||
}, |
|||
"description": "Font Awesome icon name", |
"description": "Font Awesome icon name", |
||
"type": "string" |
"type": "string" |
||
}, |
}, |
||
"icon-type": { |
"icon-type": { |
||
"label": |
"label": { |
||
"en": "Icon type", |
|||
"he": "משקל האייקון" |
|||
}, |
|||
"description": "Font Awesome icon weight", |
"description": "Font Awesome icon weight", |
||
"type": "string", |
"type": "string", |
||
| Line 279: | Line 297: | ||
}, |
}, |
||
"content bold": { |
"content bold": { |
||
"label": |
"label": { |
||
"en": "Bold content", |
|||
"he": "טקסט מודגש" |
|||
}, |
|||
"type": "line", |
"type": "line", |
||
"suggested": true |
"suggested": true |
||
}, |
}, |
||
"content": { |
"content": { |
||
"label": |
"label": { |
||
"en": "Content", |
|||
"he": "תוכן" |
|||
}, |
|||
"type": "line", |
"type": "line", |
||
"suggested": true |
"suggested": true |
||
}, |
}, |
||
"link": { |
"link": { |
||
"label": |
"label": { |
||
"en": "Link to page", |
|||
"he": "קישור לדף" |
|||
}, |
|||
"type": "wiki-page-name", |
"type": "wiki-page-name", |
||
"suggested": true |
"suggested": true |
||
}, |
}, |
||
"direction": { |
"direction": { |
||
"label": |
"label": { |
||
"en": "Direction", |
|||
"he": "הפיכת כיוון" |
|||
}, |
|||
"description": "click if RTL", |
"description": "click if RTL", |
||
"suggestedvalues": [ |
"suggestedvalues": [ |
||
"rtl" |
"rtl" |
||
] |
|||
}, |
|||
"icon-size": { |
|||
"label": { |
|||
"he": "גודל האייקון", |
|||
"en": "גודל האייקון" |
|||
}, |
|||
"type": "string", |
|||
"suggestedvalues": [ |
|||
"fa-2xs", |
|||
"fa-xs", |
|||
"fa-sm", |
|||
"fa-lg", |
|||
"fa-xl", |
|||
"fa-2xl", |
|||
"fa-1x", |
|||
"fa-2x", |
|||
"fa-3x", |
|||
"fa-4x", |
|||
"fa-5x" |
|||
] |
] |
||
} |
} |
||
}, |
}, |
||
"description": |
"description": { |
||
"en": "Template for text alerts and banners", |
|||
"he": "תבנית להוספת באנר התראה" |
|||
}, |
|||
"paramOrder": [ |
"paramOrder": [ |
||
"content", |
"content", |
||
| Line 312: | Line 365: | ||
"icon-type", |
"icon-type", |
||
"link", |
"link", |
||
"direction" |
"direction", |
||
"icon-size" |
|||
], |
], |
||
"format": "inline" |
"format": "inline" |
||
Revision as of 05:57, 2 May 2025
Examples:
openfox colors:
Source
{{Alert|content=a tailwind based skin|content bold=Lisa:|type=top border|bg-color=bg-light-purple|border-color=border-fox-purple|text-color=text-fox-purple|icon-type=fa-regular}}
Lisa:
a tailwind based skin
Traditional
Source
{{Alert
|type=traditional
|content = an alert
|content bold = This is
|icon = info-circle
|icon-type = fad
}}
Result
This is an alert
Modern with Badge
Source
{{Alert
|type=modern
|content = an alert
|content bold = This is
|icon = info-circle
|icon-type = fad
|link=https://example.com
}}
Result
This isan alert
Left Accent Border
Source
{{Alert
|type=left border
|content = an alert
|content bold = This is
|icon = info-circle
|icon-type = fad
|link=https://example.com
}}
Result
This is
an alert
Titled
Source
{{Alert
|type=titled
|content = an alert
|content bold = This is
|icon = info-circle
|icon-type = fad
|link=https://example.com
}}
Result
This is
an alert
Solid
Source
{{Alert
|type=solid
|content = an alert
|content bold = This is
|icon = info-circle
|icon-type = fad
|link=https://example.com
}}
Result
This is an alert
Top Accent Border
Source
{{Alert
|type=top border
|content = an alert
|content bold = This is
|icon = info-circle
|icon-type = fad
|link=https://example.com
}}
Result
This is
an alert
Banner
Source
{{Alert
|type=banner
|content = an alert
|content bold = This is
|icon = info-circle
|icon-type = fad
|link=https://example.com
}}
Result
This is
an alert
Titled
Source
{{Alert
|type=Titled
|content = an alert
|content bold = This is
|icon = info-circle
|icon-type = fad
|link=https://example.com
}}
Result
Template for text alerts and banners
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Content | content | no description | Line | suggested |
| Bold content | content bold | no description | Line | suggested |
| type | type | no description
| String | suggested |
| Background color | bg-color | no description
| String | suggested |
| Border color | border-color | no description
| String | suggested |
| Text color | text-color | no description
| String | optional |
| Icon | icon | Font Awesome icon name | String | optional |
| Icon type | icon-type | Font Awesome icon weight
| String | suggested |
| Link to page | link | no description | Page name | suggested |
| Direction | direction | click if RTL
| Unknown | optional |
| גודל האייקון | icon-size | no description
| String | optional |