Template

ArticleInfo: Difference between revisions

From Mark Twain in the German Language Press

mNo edit summary
mNo edit summary
Line 1: Line 1:
<noinclude>
__NOTOC__
=== Use of this Template ===
=== Use of this Template ===
* Current example page: [[IA-002]]
* Current example page: [[IA-002]]
Line 12: Line 12:
** state: state of publication
** state: state of publication
** type: type of content
** type: type of content
** words: word count (if applicable)
** words: word count OR "-"
** ref: MT works referenced in the article
** ref: MT works referenced in the article OR "-"
** source-link: link to scanned page in original repository
** source-link: link to scanned page in original repository
** source: name of original repository
** source: name of original repository
* CSS-class: articleSource (not including header part)
* CSS-class: articleSource (does not include category declaration, header, and header row)
* Copy: <nowiki>{{ArticleIinfo}}</nowiki>
* Copy: <nowiki>{{ArticleIinfo}}</nowiki>




=== Template Content ===
=== Content of this Template ===
</noinclude>
==== As Wikitext ====
<includeonly>[[Category:Article Pages]]
<pre><nowiki>
</includeonly>
<includeonly>[[Category:Article Pages]]</includeonly>
== {{{title}}} | {{{date}}} ==
== {{{title}}} | {{{date}}} ==


Line 31: Line 31:


----
----
</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>

Revision as of 07:57, 22 August 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}}}.