Template

ArticleImage: Difference between revisions

From Mark Twain in the German Language Press

mNo edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
__NOTOC__
=== 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: article-image
* CSS-class: articleImage
* Copy: <nowiki>{{ArticleImage|file}}</nowiki>
* Copy: <nowiki>{{ArticleImage|file=}}</nowiki>




=== Template Content ===
=== Content of this Template ===
</noinclude>
==== As Wikitext ====
<div class="large-4 columns article-image">[[File:{{{file}}}.png]]</div>
<pre><nowiki>
<div class="large-4 columns articleImage">[[File:{{{file}}}.png]]</div>
</nowiki></pre>
 
 
==== As Rendered On This Page ====
<onlyinclude><div class="large-4 columns articleImage">[[File:{{{file}}}.png]]</div></onlyinclude>

Latest revision as of 08:44, 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

As Wikitext

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


As Rendered On This Page

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