Template:Terminology Infobox/doc: Difference between revisions
Template page
More actions
mNo edit summary |
No edit summary |
||
| Line 17: | Line 17: | ||
* {{F|subtitle}} – Subtitle of the terminology. | * {{F|subtitle}} – Subtitle of the terminology. | ||
* {{F|image}} – Image of the terminology. | * {{F|image}} – Image of the terminology. | ||
* {{F|image_class}} – Add a class for | * {{F|image_class}} – Add a class for {{F|image|v=1}}. Notable classes: | ||
** {{F|day-invert-image}} – Invert the image in day/light mode. Will invert light-colored icons to gray in day/light mode. | ** {{F|day-invert-image}} – Invert the image in day/light mode. Will invert light-colored icons to gray in day/light mode. | ||
** {{F|night-invert-image}} – Invert the image in night/dark mode. Will invert dark-colored icons to white in night/dark mode. | ** {{F|night-invert-image}} – Invert the image in night/dark mode. Will invert dark-colored icons to white in night/dark mode. | ||
* {{F|images}} – Multiple images and | * {{F|images}} – Multiple images, tabs, and classes for the terminology. | ||
** Format: {{F|Image 1.ext:Tab 1 name; Image 2.ext:Tab 2 name; ... ; Image N.ext:Tab N name}} or | ** Format: {{F|Image 1.ext:Tab 1 name; Image 2.ext:Tab 2 name; ... ; Image N.ext:Tab N name}} or | ||
<syntaxhighlight lang="wikitext" style="margin-left:25px;" copy> | <syntaxhighlight lang="wikitext" style="margin-left:25px;" copy> | ||
| Line 93: | Line 93: | ||
"image_class": { | "image_class": { | ||
"label": "Image class", | "label": "Image class", | ||
"description": "Add a class for | "description": "Add a class for <image>.", | ||
"example": "day-invert-image, night-invert-image", | "example": "day-invert-image, night-invert-image", | ||
"type": "content" | "type": "content" | ||
| Line 99: | Line 99: | ||
"images": { | "images": { | ||
"label": "Images", | "label": "Images", | ||
"description": "Multiple images and | "description": "Multiple images, tabs, and classes for the terminology.", | ||
"example": "Image 1.ext:Tab 1 name:image-1-class; Image 2.ext:Tab 2 name:image-2-class", | "example": "Image 1.ext:Tab 1 name:image-1-class; Image 2.ext:Tab 2 name:image-2-class", | ||
"type": "content" | "type": "content" | ||