Template:Graphic: Difference between revisions

From Wittgenstein Nachlass Graphics
No edit summary
No edit summary
Line 10: Line 10:
| Subject = Gesicht(er)
| Subject = Gesicht(er)
| Is identical to =
| 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) ]
}}
}}
</pre>
</pre>
Line 28: Line 30:
{{#switch: {{#explode: {{PAGENAME}}|.|1}}
{{#switch: {{#explode: {{PAGENAME}}|.|1}}
  | png = '''Links:'''
  | png = '''Links:'''
{{#if: {{{No SVG available|}}}||* [[:File:{{#explode:{{PAGENAME}}|.|0}}.svg|SVG version]]}}
{{#if: {{{No SVG available|}}}||{{#ifeq: {{{Is rendered as|}}}|literal||* [[:File:{{#explode:{{PAGENAME}}|.|0}}.svg|SVG version]]}} }}
* [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]
* {{#ifeq: {{#explode: {{PAGENAME}}|,|0}} | 115 | {{Ms-115 link to SFB}} | [https://wab.uib.no/sfb/?q={{#ifeq: {{#sub:{{PAGENAME}}|0|1}} | 1 | Ms- | Ts- }}{{#explode: {{#explode:{{PAGENAME}}|.|0}} |-|0}}&filter=textGenre.exact%23Graphic Transcription of the {{#ifeq: {{#sub:{{PAGENAME}}|0|1}} | 1 | manuscript | typescript }} remark on the Semantic faceted search and browsing (SFB) of the Wittgenstein Nachlass website] }}
* {{#ifeq: {{#explode: {{PAGENAME}}|,|0}} | 115 | {{Ms-115 link to SFB}} | [https://wab.uib.no/sfb/?q={{#ifeq: {{#sub:{{PAGENAME}}|0|1}} | 1 | Ms- | Ts- }}{{#explode: {{#explode:{{PAGENAME}}|.|0}} |-|0}}&filter=textGenre.exact%23Graphic Transcription of the {{#ifeq: {{#sub:{{PAGENAME}}|0|1}} | 1 | manuscript | typescript }} remark on the Semantic faceted search and browsing (SFB) of the Wittgenstein Nachlass website] }}
Line 50: Line 52:
  }}
  }}
  |Is identical to = {{{Is identical to|}}}
  |Is identical to = {{{Is identical to|}}}
|Is rendered as = {{{Is rendered as|}}}
}}
}}



Revision as of 09:12, 12 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.