Template

ArticleInfo: Difference between revisions

From Mark Twain in the German Language Press

mNo edit summary
mNo edit summary
Line 1: Line 1:
<noinclude>
=== Use of this Template ===
* Current example page: [[IA-002]]
* Include in article pages to display the article metadata in a preformatted way.
* Variables:
** date-iso: date of publication YYYY-MM-DD
** date: date of publication DD mmm YYYY
** title: article title or description
** title-en: title translation (if applicable)
** paper: name of newspaper
** city: city of publication
** state: state of publication
** type: type of content
** words: word count (if applicable)
** ref: MT works referenced in the article
** source-link: link to scanned page in original repository
** source: name of original repository
* CSS-class: articleSource (not including header part)
* Copy: <nowiki>{{ArticleIinfo}}</nowiki>
=== Template Content ===
</noinclude>
== {{{title}}} | {{{date}}} ==
== {{{title}}} | {{{date}}} ==


<div class="article-source">
<div class="articleSource">
''{{{paper}}}''. {{{city}}} [{{{state}}}], {{{date}}}. ''Chronicling America: Historic American Newspapers'', Lib. of Congress, [{{{source}}} {{{source}}}].
''{{{paper}}}''. {{{city}}} [{{{state}}}], {{{date}}}. {{{source}}}, {{{source-link}}}.
</div>
</div>


----
----

Revision as of 13:58, 3 July 2025

Use of this Template

  • Current example page: IA-002
  • Include in article pages to display the article metadata in a preformatted way.
  • Variables:
    • date-iso: date of publication YYYY-MM-DD
    • date: date of publication DD mmm YYYY
    • title: article title or description
    • title-en: title translation (if applicable)
    • paper: name of newspaper
    • city: city of publication
    • state: state of publication
    • type: type of content
    • words: word count (if applicable)
    • ref: MT works referenced in the article
    • source-link: link to scanned page in original repository
    • source: name of original repository
  • CSS-class: articleSource (not including header part)
  • Copy: {{ArticleIinfo}}


Template Content

{{{title}}} | {{{date}}}

{{{paper}}}. {{{city}}} [{{{state}}}], {{{date}}}. {{{source}}}, {{{source-link}}}.