Template

ArticleInfo: Difference between revisions

From Mark Twain in the German Language Press

mNo edit summary
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__
=== Use of this Template ===
* Current example page: [[IA-002]]
* Include in Article Pages to display the article metadata in a preformatted way and to include the page in the [[:Category:Article Pages]].
* 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 OR "-"
** ref: MT works referenced in the article OR "-"
** source-link: link to scanned page in original repository
** source: name of original repository
* CSS-class: articleSource (does not include category declaration, header, and header row)
* Copy: <nowiki>{{ArticleIinfo}}</nowiki>
=== Content of this Template ===
==== As Wikitext ====
<pre><nowiki>
<includeonly>[[Category:Article Pages]]</includeonly>
== {{{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>
----
</nowiki></pre>


==== As Rendered On This Page ====
<onlyinclude>
<includeonly>[[Category:Article Pages]]</includeonly>
== {{{title}}} | {{{date}}} ==
<div class="articleSource">
''{{{paper}}}''. {{{city}}} [{{{state}}}], {{{date}}}. {{{source}}}, {{{source-link}}}.
</div>
----
----
</onlyinclude>

Latest revision as of 08:20, 12 September 2025

Use of this Template

  • Current example page: IA-002
  • Include in Article Pages to display the article metadata in a preformatted way and to include the page in the Category:Article Pages.
  • 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 OR "-"
    • ref: MT works referenced in the article OR "-"
    • source-link: link to scanned page in original repository
    • source: name of original repository
  • CSS-class: articleSource (does not include category declaration, header, and header row)
  • Copy: {{ArticleIinfo}}


Content of this Template

As Wikitext

<includeonly>[[Category:Article Pages]]</includeonly>
== {{{title}}} | {{{date}}} ==

<div class="articleSource">
''{{{paper}}}''. {{{city}}} [{{{state}}}], {{{date}}}. {{{source}}}, {{{source-link}}}.
</div>
----


As Rendered On This Page

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

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