Template:Graphic: Difference between revisions

From Wittgenstein Nachlass Graphics
No edit summary
No edit summary
Line 58: Line 58:
  }}
  }}
  |Is identical to = {{{Is identical to|}}}
  |Is identical to = {{{Is identical to|}}}
  |Is rendered as = {{#switch: {{{Is rendered as|}}}
  |Is rendered as = {{#ifeq: {{#explode:{{PAGENAME}}|.|1}} | png | {{#switch: {{{Is rendered as|}}}
   | literal = literal
   | literal = literal
   | bitmap
   | bitmap
   }}
   }} }}
}}
}}



Revision as of 18:18, 13 May 2024

This template generates the description box for individual graphics and allows them to be tagged semantically.

The syntax is as follows:

{{Graphic
| Type = Graphic
| Subtype = Abbild
| Subject = Gesicht(er)
| Is identical to =
| Is rendered as = [ bitmap | literal ]
| No SVG available = [ any value (to be used for example with musical notation, where the source is a LilyPond file and not an SVG file) ]
}}

This templates works with Form:Graphic.