Template:Snippet: Difference between revisions

From Bibliotheca Anonoma
m (Protected "Template:Snippet": template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
No edit summary
Line 21: Line 21:
</nowiki></pre>
</nowiki></pre>
{{#cargo_declare:
{{#cargo_declare:
_table=Snippets
_table=Snippet
  |image=File
  |image=File
  |caption=Text
  |caption=Text
Line 32: Line 32:
<includeonly>
<includeonly>
{{#cargo_store:
{{#cargo_store:
  _table=Snippets
  _table=Snippet
| image          = {{{image|}}}
| image          = {{{image|}}}
| caption        = {{{caption|}}}
| caption        = {{{caption|}}}

Revision as of 02:35, 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
| caption        = 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
}}

{{#cargo_declare: _table=Snippet

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

}}