User:GSK/MDCard
Usage
This template is used to visually draw attention inline in a message, to a warning about something, such as inappropriate editor behavior, a coding difficulty to watch out for, etc. It is not used in articles, only user space pages (prefixed with User:). This template does not, and will likely never, support images as the purpose of it is to be as minimal as possible. As a result, soft colors are suggested rather than using hard colors (for red, use #733 instead of #F00).
When using a darkened template, I recommend using #333 as a base for other darker color choices. When using as a lightened template, I recommend using #DDD as a base for other lighter color choices.
This template uses four parameters; the first three are required. The parameters control the following options of the template, in this order: Text, Background Color, Text Color, Border Color (optional).
{{User:GSK/box|Text to display|#333|#DDD}}
Will render the following:
{{User:GSK/box|Text to display|#333|#DDD|#F00}}
Will render the following:
Examples
Dark
{{User:GSK/box|Dark|#333|#DDD}}
{{User:GSK/box|Dark Red|#733|#DDD}}
{{User:GSK/box|Dark Blue|#337|#DDD}}
{{User:GSK/box|Dark Green|#373|#DDD}}
{{User:GSK/box|Dark Purple|#737|#DDD}}
Light
{{User:GSK/box|Light|#CCC|#222}}
{{User:GSK/box|Light Red|#FCC|#222}}
{{User:GSK/box|Light Blue|#CCF|#222}}
{{User:GSK/box|Light Green|#CFC|#222}}
{{User:GSK/box|Light Pink|#FCF|#222}}
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.