Module:InfoboxSnippet/doc: Difference between revisions

From Bibliotheca Anonoma
(Created page with "{{Module}} This infobox module is for internal use by Template:Snippet, which adds to a cargo template. Please use that instead. == Usage == {{#invoke: InfoboxSnippet |...")
 
m (add description in place of caption)
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:


This infobox module is for internal use by [[Template:Snippet]], which adds to a cargo template. Please use that instead.
This infobox module is for internal use by [[Template:Snippet]], which adds to a cargo template. Please use that instead.
Two options are provided, one with and without an image.


== Usage ==
== Usage ==
Line 7: Line 9:
{{#invoke: InfoboxSnippet | default  
{{#invoke: InfoboxSnippet | default  
| image          = test.png
| image          = test.png
| caption       = This '''image''' is a test image that is found on Wikimedia Commons.  
| description       = This '''image''' is a test image that is found on Wikimedia Commons.  
| story          = [[YourStory]]
| story          = [[YourStory]]
| creation_date  = 2016-08-01
| creation_date  = 2016-08-01
| discovery_date  = 2016-08-02
| discovery_date  = 2016-08-02
| language      = English
| language      = English
| setting        = United States
| source_url  = https://test.url
| source_url  = https://test.url
| provenance  = 2channel,4chan,8chan
| provenance  = 2channel,4chan,8chan
Line 20: Line 21:
{{#invoke: InfoboxSnippet | default  
{{#invoke: InfoboxSnippet | default  
| image          = test.png
| image          = test.png
| caption       = This '''image''' is a test image that is found on Wikimedia Commons.  
| description       = This '''image''' is a test image that is found on Wikimedia Commons.  
| story          = [[YourStory]]
| creation_date  = 2016-08-01
| discovery_date  = 2016-08-02
| language      = English
| source_url  = https://test.url
| provenance  = 2channel,4chan,8chan
}}
</nowiki></pre>
 
== Usage (no image) ==
 
{{#invoke: InfoboxSnippet | noimage
| description        = >type in a short description
| story          = [[YourStory]]
| creation_date  = 2016-08-01
| discovery_date  = 2016-08-02
| language      = English
| source_url  = https://test.url
| provenance  = 2channel,4chan,8chan
}}
 
<pre><nowiki>
{{#invoke: InfoboxSnippet | noimage
| description = >type in a short description
| story          = [[YourStory]]
| story          = [[YourStory]]
| creation_date  = 2016-08-01
| creation_date  = 2016-08-01
| discovery_date  = 2016-08-02
| discovery_date  = 2016-08-02
| language      = English
| language      = English
| setting        = United States
| source_url  = https://test.url
| source_url  = https://test.url
| provenance  = 2channel,4chan,8chan
| provenance  = 2channel,4chan,8chan
}}
}}
</nowiki></pre>
</nowiki></pre>

Latest revision as of 22:29, 3 September 2018

This page is a module. It contains no Bibliotheca Anonoma-related information, but should be used as part of other articles or templates. For more information, read wp:Help:Lua.

Please do not experiment with this module; you could ruin all pages using this module. If you want to edit this module, copy the text to Module:Sandbox, edit and test it there, and copy it back when it works.

Click here to edit the documentation page, and feel free to voice your opinion regarding this module.

This infobox module is for internal use by Template:Snippet, which adds to a cargo template. Please use that instead.

Two options are provided, one with and without an image.

Usage[edit]

Module:InfoboxSnippet/doc
File:Test.png
This image is a test image that is found on Wikimedia Commons.
Story YourStory
Language English
Source URL https://test.url
Provenance 2channel,4chan,8chan
Creation Date 2016-08-01
Discovery Date 2016-08-02
{{#invoke: InfoboxSnippet | default 
| image          = test.png
| description        = This '''image''' is a test image that is found on Wikimedia Commons. 
| story          = [[YourStory]]
| creation_date   = 2016-08-01
| discovery_date  = 2016-08-02
| language       = English
| source_url   = https://test.url
| provenance   = 2channel,4chan,8chan
}}

Usage (no image)[edit]

Module:InfoboxSnippet/doc
Story YourStory
Language English
Source URL https://test.url
Provenance 2channel,4chan,8chan
Creation Date 2016-08-01
Discovery Date 2016-08-02
>type in a short description
{{#invoke: InfoboxSnippet | noimage
| description = >type in a short description
| story          = [[YourStory]]
| creation_date   = 2016-08-01
| discovery_date  = 2016-08-02
| language       = English
| source_url   = https://test.url
| provenance   = 2channel,4chan,8chan
}}