User:Wisdurm/Template:Sandbox: Difference between revisions
m (Fixed minor formatting) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{User:Wisdurm/Template:Sandbox | {{User:Wisdurm/Template:Sandbox | ||
| mode = inline | |||
| type = {{Dictionary/notices|How}} | |||
| text = TEST | |||
}} | }} | ||
</onlyinclude> | <includeonly><onlyinclude>{{#switch:{{{mode|}}} | ||
| inline = <{{#if:{{{text|}}}{{{1|}}}|div|span}} style="margin:{{#if:{{{text|{{{1|}}}}}}|.5em 0|0}}; margin-{{text-dir|ltr=left|rtl=right}}:calc(2em * {{#expr:{{{offset|0}}}.}}); display:{{#if:{{{text|{{{1|}}}}}}|flex|inline-flex}}; {{#if:{{{text|{{{1|}}}}}}|gap:4px;|}} background:linear-gradient(90deg, rgba({{{color|240,240,240}}},.07) 0%, transparent 100%); border-left:2px solid rgb({{{color|240,240,240}}}); border-radius:2px; padding:{{#if:{{{text|{{{1|}}}}}}|6px 0 4px 12px|2px 0 0 8px}}; {{{root_inline_style|}}}"><!-- | |||
-->{{#if:{{{type|}}}|<strong style="display:table-cell; color:rgb({{{color|240,240,240}}}); white-space:nowrap; {{{type style|}}}">{{#if:{{{img|}}}|<span style="user-select:none; margin-right:4px; {{{img style|}}}">[[File:{{{img|}}}|{{#if:{{{size|}}}|{{{size}}}{{!}}|}}link=]]}}</span>{{{type|}}}:</strong>|}}<!-- | |||
--><span style="display:table-cell; {{{text style|}}}">{{{text|{{{1|}}}}}}</span></{{#if:{{{text|}}}{{{1|}}}|div|span}}> | |||
| #default = <div style="{{{style:default|}}}background-color:rgba(159,159,159,.05); border:1px solid rgba(159,159,159,.3); border-left:4px solid #9F9F9F; border-radius:3px; padding:10px 12px; margin-bottom:6px">{{{text|{{{1|}}}}}}</div> | |||
}}</onlyinclude></includeonly> |
Revision as of 13:54, 16 June 2024
Preview 






















Note
Todo
Warning
Deprecated
Bug
Tip
Code
Code Fix
Fix
Important
Confirm
Workaround
Risk of Confusion
Example
How
Placement Tip
Idea
Translate
Finished notices: 17 / 17 Translate
Finished notices: 17 / 17 Translate
Finished notices: 17 / 17 Translate
Finished notices: 17 / 17 Translate
Finished notices: 13 / 17 Translate
Finished notices: 17 / 17 Translate
Finished notices: 17 / 17 Translate
Finished notices: 6 / 17 Translate
Finished notices: 7 / 17 Translate
Finished notices: 1 / 17 Translate
Finished notices: 12 / 17 Translate
Finished notices: 4 / 17 Translate
Finished notices: 5 / 17 Translate
Finished notices: 7 / 17 Translate
Finished notices: 17 / 17 Translate
Finished notices: 17 / 17 Translate
Finished notices: 17 / 17 Translate
Finished notices: 5 / 17 Translate
Finished notices: 3 / 17 Translate
Finished notices: 6 / 17 Translate
Finished notices: 14 / 17 Translate
Finished notices: 17 / 17 Translate
Finished notices: 11 / 17 Translate

Category:<language shortcut>/Dictionary/Notices
and save it with following content {{subst:Category:En/Dictionary/Notices}}
See Also
- TEST