Template:Note: Difference between revisions

Template page
Fixed parameters
Replaced example potatos with inline svg graphics from the press kit.
Line 1: Line 1:
{{User:JackTheFoxOtter/Template:Container
<onlyinclude>{{User:JackTheFoxOtter/Template:Container
   |{{{1|Example Text}}}
   |{{{1|Example Text}}}
   |{{#switch:{{{2|}}}
   |{{#switch:{{{2|}}}
Line 8: Line 8:
     |=rgba(96.9, 209.1, 249.9, 0.25) /* Hero Cyan */}}
     |=rgba(96.9, 209.1, 249.9, 0.25) /* Hero Cyan */}}
   |{{#switch:{{{2|}}}
   |{{#switch:{{{2|}}}
     |information=PotatoBadge.png
     |information=<svg style="height:40px; witdh:40px; transform: rotate(180deg); fill: rgba(96.9, 209.1, 249.9, 1)" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><circle cx="64" cy="112.28" r="13.8"/><rect x="50.2" y="1.92" width="27.59" height="85.53" rx="13.8" ry="13.8"/></svg>
     |suggestion=PotatoBadge.png
     |suggestion=<svg style="height: 40px; width: 40px; fill: rgba(89.25, 234.6, 91.8, 1)" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><circle cx="63.56" cy="112.22" r="13.8"/><path d="m98.03,36.45c0,4.64-.92,9.16-2.72,13.42-1.74,4.11-4.22,7.79-7.38,10.95-3.06,3.06-6.62,5.49-10.57,7.21v5.36c0,7.58-6.03,13.9-13.61,14-7.7.1-13.98-6.11-13.98-13.79v-16.45c0-6.79,4.9-12.43,11.36-13.58,0,0,0,0,0,0,.75-.13,1.51-.21,2.3-.21,3.81-.04,7-3.03,7.03-6.84s-3.07-6.96-6.9-6.96c-2.55,0-4.77,1.38-5.97,3.44s-3.51,3.46-5.98,3.46h-14.74c-4.52,0-7.81-4.27-6.68-8.64.42-1.62.96-3.22,1.62-4.78,1.74-4.11,4.22-7.79,7.38-10.95,3.16-3.15,6.84-5.64,10.95-7.37,3.51-1.49,7.2-2.37,10.98-2.63,0,0,0,0,0,0,.81-.06,1.62-.08,2.43-.08s1.63.03,2.43.08c0,0,0,0,0,0,3.78.26,7.47,1.14,10.98,2.63,4.11,1.74,7.79,4.22,10.95,7.37,3.16,3.16,5.64,6.84,7.38,10.95,1.8,4.27,2.72,8.78,2.72,13.42Z"/></svg>
     |warning=PotatoBadge.png
     |warning=<svg style="height:40px; witdh:40px; fill: rgba(247.35, 247.35, 112.2, 1)" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><circle cx="64" cy="112.28" r="13.8"/><rect x="50.2" y="1.92" width="27.59" height="85.53" rx="13.8" ry="13.8"/></svg>
     |danger=PotatoBadge.png
     |danger=<svg style="height:40px; witdh:40px; fill: rgba(255, 114.75, 114.75, 1)" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><circle cx="64" cy="112.28" r="13.8"/><rect x="50.2" y="1.92" width="27.59" height="85.53" rx="13.8" ry="13.8"/></svg>
     |=}}}}
     |=}}}}</onlyinclude>
 
== Examples ==
{{User:JackTheFoxOtter/Template:Note|This is a information.|information}}
{{User:JackTheFoxOtter/Template:Note|This is a suggestion.|suggestion}}
{{User:JackTheFoxOtter/Template:Note|This is a warning.|warning}}
{{User:JackTheFoxOtter/Template:Note|This is really dangerous!|danger}}

Revision as of 19:04, 18 January 2024

Example Text

Examples

This is a information.
This is a suggestion.
This is a warning.
This is really dangerous!