Jump to content

Editing Template:Terminology Infobox/doc

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision Your text
Line 16: Line 16:
* {{F|name}} – Name of the terminology.
* {{F|name}} – Name of the terminology.
* {{F|subtitle}} – Subtitle of the terminology.
* {{F|subtitle}} – Subtitle of the terminology.
* {{F|image}} – Image of the terminology {{Color|New|including}} the file extension.
* {{F|image}} – Image of the terminology.
* {{F|image_class}} – Add a class for {{F|image|v=1}}. Notable classes:
* {{F|image_class}} – Add a class for the image. 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|light-background}} – Add a light-colored background to the image.
* {{F|images}} – Multiple images and tabs for the terminology.
** {{F|dark-background}} – Add a dark-colored background to the image.
** {{F|image-padding}} – Add a {{F|15px}} padding to the image.
* {{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 43: Line 40:
|image = Petit Planet App Icon.png
|image = Petit Planet App Icon.png
|type  = Type example 1a; Type example 1b; Type example 1c
|type  = Type example 1a; Type example 1b; Type example 1c
|group = Group example 1a; Group example 1b
|group = Group example 1a; roup example 1b
|description = Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|description = Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
}}
}}
Line 65: Line 62:
     Hexia Icon.png:Invert in light mode:day-invert-image;
     Hexia Icon.png:Invert in light mode:day-invert-image;
CSS Logo.svg:Invert in dark mode:night-invert-image;
CSS Logo.svg:Invert in dark mode:night-invert-image;
    Petit Planet Wordmark.png:Light background and padding:light-background image-padding;
Petit Planet Wordmark (White).png:Dark background and padding:dark-background image-padding;
Petit Planet App Icon.png:No class
Petit Planet App Icon.png:No class
|type    = Type example 3a
|type    = Type example 3a
Line 91: Line 86:
"image": {
"image": {
"label": "Image",
"label": "Image",
"description": "Image of the terminology including the file extension.",
"description": "Image of the terminology.",
"example": "Image.ext",
"example": "Image.ext",
"type": "wiki-file-name",
"type": "wiki-file-name",
Line 98: Line 93:
"image_class": {
"image_class": {
"label": "Image class",
"label": "Image class",
"description": "Add a class for <image>.",
"description": "Add a class for the image.",
"example": "day-invert-image, night-invert-image, light-background, dark-background, image-padding",
"example": "day-invert-image, night-invert-image",
"type": "content"
"type": "content"
},
},
"images": {
"images": {
"label": "Images",
"label": "Images",
"description": "Multiple images, tabs, and classes for the terminology.",
"description": "Multiple images and tabs 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"
Please note that all contributions to The Petit Planet Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see Petit Planet Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)
Preview page with this template
Below are commonly used wikitext from MediaWiki:Edittools. Click on any to insert them in the edit box.
File Pages==Summary====Licensing=={{Fairuse}}{{File|}}
Dynamic Page List¦²«»²{¦}²«»«/»«!----»
Array in DPL¹^2{}^2^2{¹}^2
Parser Functions{{#if:||}}
{{#ifeq:|||}}
{{#expr:}}
{{#switch:||#default=}}
{{#replace:||}}
{{#titleparts:}}
{{#tag:|}}
Markup{{}}|[][[]][[Category:]]#REDIRECT [[]] [[Category:Redirect Pages]]<code></code><includeonly></includeonly><noinclude></noinclude><nowiki></nowiki><!----><br>§
Notices{{Stub|}}{{Stub Dialogue}}{{Upcoming}}{{Under Construction}}{{Placeholder|}}
Magic Words{{!}}{{formatnum:}}{{lc:}}{{uc:}}{{PAGENAME}}{{FULLPAGENAME}}{{ROOTPAGENAME}}{{BASEPAGENAME}}{{SUBPAGENAME}}{{DISPLAYTITLE:|noreplace}}__TOC____NOTOC____EXPECTUNUSEDCATEGORY____HIDDENCAT__
HTML Entities&mdash;&nbsp;&comma;&shy;