Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
If you make an edit, a temporary account will be created for you.

Template:Item/doc: Difference between revisions

Template page
Updated
No edit summary
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:
* {{F|text}} – Display another text instead of the name of the item.
* {{F|text}} – Display another text instead of the name of the item.
* {{F|no_text}} – Set to {{F|1}} to omit the complete text.
* {{F|no_text}} – Set to {{F|1}} to omit the complete text.
* {{F|invert}} – Set to apply a filter to the image for either day/light or night/dark mode. Available values:
** Default – See: [[Module:Item/Invert]].
** {{F|Day}} – Invert the image in day/light mode. Will invert light-colored icons to gray in day/light mode.
** {{F|Night}} – Invert the image in night/dark mode. Will invert dark-colored icons to white in night/dark mode.
* {{F|note}} – Append a note after the item text and count.
* {{F|note}} – Append a note after the item text and count.
* {{F|ref}} – Append a reference to the item text.
* {{F|ref}} – Append a reference to the item text.
Line 116: Line 120:
"example": "1",
"example": "1",
"type": "boolean"
"type": "boolean"
},
"invert": {
"label": "Invert",
"description": "Set to apply a filter to the image for either day/light or night/dark mode.",
"example": "Day, Night",
"type": "string"
}
}
},
},
Line 127: Line 137:
"link",
"link",
"no_text",
"no_text",
"invert",
"note",
"note",
"ref",
"ref",