ArticleInfo: Difference between revisions
From Mark Twain in the German Language Press
mNo edit summary |
mNo edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | |||
=== Use of this Template === | === Use of this Template === | ||
* Current example page: [[IA-002]] | * Current example page: [[IA-002]] | ||
* Include in | * Include in Article Pages to display the article metadata in a preformatted way and to include the page in the [[:Category:Article Pages]]. | ||
* Variables: | * Variables: | ||
** date-iso: date of publication YYYY-MM-DD | ** date-iso: date of publication YYYY-MM-DD | ||
| Line 12: | Line 12: | ||
** state: state of publication | ** state: state of publication | ||
** type: type of content | ** type: type of content | ||
** words: word count | ** 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 | * CSS-class: articleSource (does not include category declaration, header, and header row) | ||
* Copy: <nowiki>{{ArticleIinfo}}</nowiki> | * Copy: <nowiki>{{ArticleIinfo}}</nowiki> | ||
=== Template | === Content of this Template === | ||
</ | ==== As Wikitext ==== | ||
<pre><nowiki> | |||
<includeonly>[[Category:Article Pages]]</includeonly> | |||
== {{{title}}} | {{{date}}} == | == {{{title}}} | {{{date}}} == | ||
| Line 27: | Line 29: | ||
''{{{paper}}}''. {{{city}}} [{{{state}}}], {{{date}}}. {{{source}}}, {{{source-link}}}. | ''{{{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}}}.