Template

ArticleImage: Difference between revisions

From Mark Twain in the German Language Press

mNo edit summary
mNo edit summary
Line 2: Line 2:
=== Use of this Template ===
=== Use of this Template ===
* Current example page: [[IA-002]]
* Current example page: [[IA-002]]
* Include in article pages to display the article image.
* Include in article pages to display the article image (for normal length articles with image to the left).
* Variables:
* Variables:
** file: image file name (without .png)
** file: image file name (without .png)
** size: 'big' (pages with longer articles and image at the top) OR 'small' (normal articles with image to the left).
* Copy: <nowiki>{{ArticleImage|file}}</nowiki>
* Copy: <nowiki>{{ArticleImage|file|size}}</nowiki>




=== Template Content ===
=== Template Content ===
</noinclude>
</noinclude>
<div class="article-image {{size}}" style="width:auto;">[[File:{{{file}}}.png]]</div>
<div class="article-image small" style="width:auto;">[[File:{{{file}}}.png]]</div>

Revision as of 13:13, 1 July 2025

Use of this Template

  • Current example page: IA-002
  • Include in article pages to display the article image (for normal length articles with image to the left).
  • Variables:
    • file: image file name (without .png)
  • Copy: {{ArticleImage|file}}


Template Content

[[File:{{{file}}}.png]]