Template

ArticleImage: Difference between revisions

From Mark Twain in the German Language Press

mNo edit summary
mNo edit summary
Line 1: Line 1:
<noinclude>
=== 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 (for normal length articles with image to the left).
* Include in Article Pages to display the article image.
* Variables:
* Variables:
** file: image file name (without .png)
** file: image file name without ".png" (the template currently requires .png to work)
* CSS-class: articleImage
* CSS-class: articleImage
* Copy: <nowiki>{{ArticleImage|file}}</nowiki>
* Copy: <nowiki>{{ArticleImage|file=}}</nowiki>




=== Template Content ===
=== Content of this Template ===
</noinclude>
<pre><nowiki>
<div class="large-4 columns articleImage">[[File:{{{file}}}.png]]</div>
<div class="large-4 columns articleImage">[[File:{{{file}}}.png]]</div>
</nowiki></pre>
<onlyinclude>
<div class="large-4 columns articleImage">[[File:{{{file}}}.png]]</div>
</onlyinclude>

Revision as of 07:48, 22 August 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" (the template currently requires .png to work)
  • CSS-class: articleImage
  • Copy: {{ArticleImage|file=}}


Content of this Template

<div class="large-4 columns articleImage">[[File:{{{file}}}.png]]</div>


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