Template

MediaInfo: Difference between revisions

From Illustrations in German Translations of Mark Twain's Works

Created page with "<div class="bildbeschreibung"> <div class="bildtitel">'''{{{titel|}}}'''</div> <div class="bildinfo">{{{beschreibung|}}}</div> <div class="bildtags"> {{#if:{{{tags|}}}|'''Tags:''' {{{tags}}}}} </div> </div>"
 
No edit summary
Line 1: Line 1:
<div class="bildbeschreibung">
__NOTOC__
   <div class="bildtitel">'''{{{titel|}}}'''</div>
=== Use of this Template ===
   <div class="bildinfo">{{{beschreibung|}}}</div>
* Use on File pages to display a clean description for MediaViewer.
   <div class="bildtags">
* Variables:
    {{#if:{{{tags|}}}|'''Tags:''' {{{tags}}}}}
** title = short title of the image
  </div>
** tags = comma-separated list of tags (without "Category:tag:")
 
* Copy: <nowiki>{{File description|title=|description=|tags=}}</nowiki>
 
 
=== Content of this Template ===
==== As Wikitext ====
<pre><nowiki>
<div class="fileDescription">
   <div class="fileTitle">'''{{{title|}}}'''</div>
    
   <div class="fileTags">{{#if:{{{tags|}}}|'''Tags:''' {{{tags}}}}}</div>
</div>
</div>
</nowiki></pre>
==== As Rendered On This Page ====
<onlyinclude>
<div class="fileDescription">
  <div class="fileTitle">'''{{{title|}}}'''</div>
  <div class="fileInfo">{{{description|}}}</div>
  <div class="fileTags">{{#if:{{{tags|}}}|'''Tags:''' {{{tags}}}}}</div>
</div>
</onlyinclude>

Revision as of 18:49, 9 September 2025

Use of this Template

  • Use on File pages to display a clean description for MediaViewer.
  • Variables:
    • title = short title of the image
    • tags = comma-separated list of tags (without "Category:tag:")
  • Copy: {{File description|title=|description=|tags=}}


Content of this Template

As Wikitext

<div class="fileDescription">
  <div class="fileTitle">'''{{{title|}}}'''</div>
  
  <div class="fileTags">{{#if:{{{tags|}}}|'''Tags:''' {{{tags}}}}}</div>
</div>


As Rendered On This Page

'