Template:Container: Difference between revisions

Template page
Fix formatted text being displayed in columns in the flex-container
No edit summary
Line 9: Line 9:
   font-weight: var(--font-weight-medium);
   font-weight: var(--font-weight-medium);


   background-color: var({{{2|--color-information}}});
   background-color: var({{{2|--color-information-bg}}});
   
   
   padding: 12px 16px;
   padding: 12px 16px;
Line 24: Line 24:
{{Container
{{Container
   |This is a note.
   |This is a note.
   |--color-brand-hero-cyan /* Hero Cyan */
   |--color-information-bg  /* Hero Cyan */
   |[[File:PotatoBadge.png|40px|Note|link=]]}}
   |[[File:PotatoBadge.png|40px|Note|link=]]}}
{{Container
{{Container
   |This is a note with a large amount of text to test how it overflows. {{Lorem ipsum}}
   |This is a note with a large amount of text to test how it overflows. {{Lorem ipsum}}
   |--color-brand-hero-cyan /* Hero Cyan */
   |--color-information-bg /* Hero Cyan */
   |[[File:PotatoBadge.png|40px|Note|link=]]}}
   |[[File:PotatoBadge.png|40px|Note|link=]]}}
{{Container
{{Container
   |This note is potatoless.
   |This note is potatoless.
   |--color-brand-hero-cyan /* Hero Cyan */}}
   |--color-information-bg /* Hero Cyan */}}
{{Container
{{Container
   |This is a note with a large amount of text that's potatoless. {{Lorem ipsum}}
   |This is a note with a large amount of text that's potatoless. {{Lorem ipsum}}
   |--color-brand-hero-cyan /* Hero Cyan */}}
   |--color-information-bg /* Hero Cyan */}}
{{Container
{{Container
   |This is a note using a svg instead of png.
   |This is a note using a svg instead of png.
   |--color-brand-hero-cyan /* Hero Cyan */
   |--color-information-bg /* Hero Cyan */
   |[[File:InformationIcon.svg|40px|link=]]}}
   |[[File:InformationIcon.svg|40px|link=]]}}
{{Container
{{Container
   |This is a note using an svg instead of png. With more text! {{Lorem ipsum}}
   |This is a note using an svg instead of png. With more text! {{Lorem ipsum}}
   |--color-brand-hero-cyan /* Hero Cyan */
   |--color-information-bg /* Hero Cyan */
   |[[File:InformationIcon.svg|40px|link=]]}}
   |[[File:InformationIcon.svg|40px|link=]]}}

Revision as of 00:43, 15 February 2024

Example Text

Examples

Note
This is a note.
Note
This is a note with a large amount of text to test how it overflows. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
This note is potatoless.
This is a note with a large amount of text that's potatoless. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
This is a note using a svg instead of png.
This is a note using an svg instead of png. With more text! Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.