Module:Information/doc

From Safer nicotine wiki
Jump to navigation Jump to search

This is the documentation page for Module:Information

Module providing back-end for {{Information}} template.

Examples

Code Render
Test simple case:

{{#invoke:Information|information
description = description date = 2023-05-30 source = {{own}} author = author permission = permission other versions = <gallery>File:Image-x-generic - black.svg</gallery>
}}
⧼wm-license-information-description⧽ description
⧼wm-license-information-date⧽
⧼wm-license-information-source⧽ own
⧼wm-license-information-author⧽ author
⧼wm-license-information-permission⧽
(⧼wm-license-information-permission-reusing-text⧽)
permission
⧼wm-license-information-other-versions⧽
Test case with missing source, author and description:

{{#invoke:Information|information
description = date = 2023-05-30 source = author =
}}
⧼wm-license-information-description⧽
⧼wm-license-information-date⧽
⧼wm-license-information-source⧽
⧼wm-license-information-author⧽