Template:Snippet: Difference between revisions

From Bibliotheca Anonoma
No edit summary
No edit summary
Line 11: Line 11:
{{Snippet
{{Snippet
| image          = test.png
| image          = test.png
| caption       = This '''image''' is a test image that is found on Wikimedia Commons.
| description       = >describe the greentext with a short blurb about it
| story          = [[YourStory]]
| story          = [[YourStory]], if used
| creation_date  = 2016-08-01
| creation_date  = 2016-08-01
| discovery_date  = 2016-08-02
| discovery_date  = 2016-08-02
Line 23: Line 23:
_table=Snippet
_table=Snippet
  |image=File
  |image=File
  |caption=Text
  |description=Text
  |creation_date  = Date
  |creation_date  = Date
  |discovery_date  = Date
  |discovery_date  = Date
Line 34: Line 34:
  _table=Snippet
  _table=Snippet
| image          = {{{image|}}}
| image          = {{{image|}}}
| caption       = {{{caption|}}}
| description       = {{{description|}}}
| creation_date  = {{{creation_date|}}}
| creation_date  = {{{creation_date|}}}
| discovery_date  = {{{discovery_date|}}}
| discovery_date  = {{{discovery_date|}}}
Line 42: Line 42:
}}{{#invoke: InfoboxSnippet | default
}}{{#invoke: InfoboxSnippet | default
| image          = {{{image|<div style="margin-top:-20px;"></div>}}} <!-- If there is no image, removes one line break -->
| image          = {{{image|<div style="margin-top:-20px;"></div>}}} <!-- If there is no image, removes one line break -->
| caption = {{{caption|}}}
| description = {{{description|}}}
| story          = {{{story|}}}
| story          = {{{story|}}}
| creation_date  = {{{creation_date|{{Gray|Unknown}}}}}
| creation_date  = {{{creation_date|{{Gray|Unknown}}}}}

Revision as of 22:27, 3 September 2018

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

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

Feel free to voice your opinion regarding this template.

This is a Cargo template wrapped in an infobox used for Snippets.

When adding columns, make sure to edit Module:InfoboxSnippet as well.

Usage

{{Snippet
| image          = test.png
| description        = >describe the greentext with a short blurb about it
| story          = [[YourStory]], if used
| creation_date   = 2016-08-01
| discovery_date  = 2016-08-02
| language       = English
| source_url   = https://test.url
| provenance   = 2channel,4chan,8chan
}}

{{#cargo_declare: _table=Snippet

|image=File
|description=Text
|creation_date   = Date
|discovery_date  = Date
|language       = Text
|source_url   = URL
|provenance=List (,) of Text

}}