Difference between revisions of "Template:Colored box/doc"
From Georgia Tech Student Wiki
(Colored box documentation from https://www.mediawiki.org/wiki/Template:Colored_box/doc) |
m (Updated description) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
{{Documentation subpage}} |
{{Documentation subpage}} |
||
− | This template was imported from |
+ | This template was imported from https://www.mediawiki.org/wiki/Template:Colored_box/doc and modified. |
<templatedata> |
<templatedata> |
||
{ |
{ |
||
"params": { |
"params": { |
||
− | "background-content-color": {}, |
||
− | "class": { |
||
− | "label": "extra classes", |
||
− | "description": "Extra CSS classes to apply to the outermost box (space-separated). This is mainly for other templates using TemplateStyles so that they can scope their CSS to the box, but it may be useful in other cases as well.", |
||
− | "type": "line" |
||
− | }, |
||
− | "style": { |
||
− | "label": "extra styles", |
||
− | "description": "Extra inline CSS rules to apply to the outermost element. Prefer TemplateStyles and using CSS classes if possible when using this template in another template.", |
||
− | "type": "line" |
||
− | }, |
||
− | "background-title-color": {}, |
||
− | "icon": { |
||
− | "type": "wiki-file-name", |
||
− | "suggested": true |
||
− | }, |
||
− | "title-color": {}, |
||
"title": { |
"title": { |
||
"required": true |
"required": true |
||
}, |
}, |
||
− | "link": { |
||
− | "type": "wiki-page-name" |
||
− | }, |
||
− | "link-color": {}, |
||
"content": { |
"content": { |
||
"required": true |
"required": true |
||
Line 35: | Line 14: | ||
}, |
}, |
||
"description": { |
"description": { |
||
− | "en": " |
+ | "en": "Use this template to create cards with titles and content." |
− | "fr": "Le modèle boîte colorée est conçu pour les pages communautaires. Il s'inspire de la page d'accueil de Wikidata. " |
||
}, |
}, |
||
"format": "block" |
"format": "block" |
||
Line 43: | Line 21: | ||
== Examples == |
== Examples == |
||
+ | * <code><nowiki>{{Colored box| |
||
+ | title=College of Engineering| |
||
+ | content=List of majors: |
||
+ | * Aerospace Engineering |
||
+ | * Biomedical Engineering |
||
+ | * Chemical and Biomolecular Engineering |
||
+ | * Civil and Environmental Engineering |
||
+ | * Electrical and Computer Engineering |
||
+ | * Industrial and Systems Engineering |
||
+ | * Materials Science and Engineering |
||
+ | * Mechanical Engineering |
||
+ | }}</nowiki></code> |
||
+ | {{Colored box| |
||
− | * <code><nowiki>{{Colored box|title=TITLE|content=CONTENT}}</nowiki></code> |
||
+ | title=College of Engineering| |
||
− | {{Colored box|title=TITLE|content=CONTENT}} |
||
+ | content=List of majors: |
||
− | * <code><nowiki>{{Colored box|title=TITLE|link=MediaWiki|content=CONTENT}}</nowiki></code> |
||
+ | * Aerospace Engineering |
||
− | {{Colored box|title=TITLE|link=MediaWiki|content=CONTENT}} |
||
+ | * Biomedical Engineering |
||
− | * <code><nowiki>{{Colored box|title=TITLE|link=MediaWiki|content=CONTENT|view-text=VIEW-TEXT}}</nowiki></code> |
||
+ | * Chemical and Biomolecular Engineering |
||
− | {{Colored box|title=TITLE|link=MediaWiki|content=CONTENT|view-text=VIEW-TEXT}} |
||
+ | * Civil and Environmental Engineering |
||
− | |||
+ | * Electrical and Computer Engineering |
||
− | * <code><nowiki>{{Colored box|title=TITLE|link=MediaWiki|icon=OOjs_UI_icon_download-progressive.svg|content=CONTENT|view-text=VIEW-TEXT}}</nowiki></code> |
||
+ | * Industrial and Systems Engineering |
||
− | {{Colored box|title=TITLE|link=MediaWiki|icon=OOjs_UI_icon_download-progressive.svg|content=CONTENT|view-text=VIEW-TEXT}} |
||
+ | * Materials Science and Engineering |
||
+ | * Mechanical Engineering |
||
+ | }} |
Latest revision as of 22:51, 8 July 2022
Template:Strong for Template:Terminate sentence It contains usage information, categories and other content that is not part of the original template page. |
This template was imported from https://www.mediawiki.org/wiki/Template:Colored_box/doc and modified.
Use this template to create cards with titles and content.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | no description | Unknown | required |
Content | content | no description | Unknown | required |
Examples[edit source]
{{Colored box| title=College of Engineering| content=List of majors: * Aerospace Engineering * Biomedical Engineering * Chemical and Biomolecular Engineering * Civil and Environmental Engineering * Electrical and Computer Engineering * Industrial and Systems Engineering * Materials Science and Engineering * Mechanical Engineering }}
College of Engineering
List of majors:
- Aerospace Engineering
- Biomedical Engineering
- Chemical and Biomolecular Engineering
- Civil and Environmental Engineering
- Electrical and Computer Engineering
- Industrial and Systems Engineering
- Materials Science and Engineering
- Mechanical Engineering