Template:Graphic: Difference between revisions

From Wittgenstein Nachlass Graphics
No edit summary
No edit summary
 
Line 57: Line 57:
  |Has tags = {{{Tags|}}}|+sep=;
  |Has tags = {{{Tags|}}}|+sep=;
  |Has sort key = {{#switch: {{#explode:{{PAGENAME}}|,|0}}
  |Has sort key = {{#switch: {{#explode:{{PAGENAME}}|,|0}}
   | 180a = {{#ifeq: {{PAGENAME}} | 180a,FCv-a | 180a,000FCv-a | {{Filename to sort key|{{PAGENAME}}}} }}
   | 180a = {{#ifeq: {{PAGENAME}} | 180a,FCv-a.png | 180a,000FCv-a | {{Filename to sort key|{{PAGENAME}}}} }}
   | 212 = {{Ts-212 sort keys}}
   | 212 = {{Ts-212 sort keys}}
   | {{Filename to sort key|{{PAGENAME}}}}
   | {{Filename to sort key|{{PAGENAME}}}}

Latest revision as of 15:47, 10 November 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.