Template

ArticleImage: Difference between revisions

From Mark Twain in the German Language Press

mNo edit summary
mNo edit summary
Line 1: Line 1:
<div class="article-image small" style="width:auto;">[[File:{{{file}}}.png]]</div>
<noinclude>
=== Use of this Template ===
* Current example page: [[IA-002]]
* Include in article pages to display the article image.
* Variables:
** 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|size}}</nowiki>
 
 
=== Template Content ===
</noinclude>
<div class="article-image {{size}}" style="width:auto;">[[File:{{{file}}}.png]]</div>

Revision as of 13:11, 1 July 2025

Use of this Template

  • Current example page: IA-002
  • Include in article pages to display the article image.
  • Variables:
    • 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: {{ArticleImage|file|size}}


Template Content

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