Template:Graphic: Difference between revisions

From Wittgenstein Nachlass Graphics
No edit summary
No edit summary
Line 37: Line 37:
  | png = '''Links:'''
  | png = '''Links:'''
* {{#switch: {{#explode: {{PAGENAME}}|,|0}}
* {{#switch: {{#explode: {{PAGENAME}}|,|0}}
  | 212 = {{Ts-212 link to Wittgenstein Source}}
  | 212 = [{{Ts-212 link to Wittgenstein Source}} Facsimile of the typescript page on Wittgenstein Source]
  |[http://www.wittgensteinsource.org/{{#ifeq: {{#sub:{{PAGENAME}}|0|1}} | 1 | Ms- | Ts- }}{{#explode: {{#explode:{{PAGENAME}}|.|0}} |-|0}}_f Facsimile of the {{#ifeq: {{#sub:{{PAGENAME}}|0|1}} | 1 | manuscript | typescript }} page on Wittgenstein Source]
  |[http://www.wittgensteinsource.org/{{#ifeq: {{#sub:{{PAGENAME}}|0|1}} | 1 | Ms- | Ts- }}{{#explode: {{#explode:{{PAGENAME}}|.|0}} |-|0}}_f Facsimile of the {{#ifeq: {{#sub:{{PAGENAME}}|0|1}} | 1 | manuscript | typescript }} page on Wittgenstein Source]
}}
}}
Line 60: Line 60:
   | 2 = {{#explode:{{PAGENAME}}|,|0}},0{{#explode:{{PAGENAME}}|,|1}}
   | 2 = {{#explode:{{PAGENAME}}|,|0}},0{{#explode:{{PAGENAME}}|,|1}}
   | {{PAGENAME}}
   | {{PAGENAME}}
|Has link to Wittgenstein Souce = {{#switch: {{#explode: {{PAGENAME}}|,|0}}
| 212 = {{Ts-212 link to Wittgenstein Source}}
| http://www.wittgensteinsource.org/{{#ifeq: {{#sub:{{PAGENAME}}|0|1}} | 1 | Ms- | Ts- }}{{#explode: {{#explode:{{PAGENAME}}|.|0}} |-|0}}_f
}}
  }}
  }}
  |Is identical to = {{{Is identical to|}}}
  |Is identical to = {{{Is identical to|}}}

Revision as of 15:49, 2 June 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.