Module:Information/doc

From Safer nicotine wiki

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           = 2021-12-02
|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⧽ 2 December 2021
⧼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           = 2021-12-02   
|source         = 
|author         = 
}}
⧼wm-license-information-description⧽
⧼wm-license-information-date⧽ 2 December 2021
⧼wm-license-information-source⧽
⧼wm-license-information-author⧽
Cookies help us deliver our services. By using our services, you agree to our use of cookies.