Template:Graphic: Difference between revisions

From Wittgenstein Nachlass Graphics
No edit summary
No edit summary
Line 26: Line 26:
{{#if: {{{Type|}}}{{{Subtype|}}}{{{Subject|}}}|
{{#if: {{{Type|}}}{{{Subtype|}}}{{{Subject|}}}|
'''Semantic tagging:'''
'''Semantic tagging:'''
* Type: {{#arraymap:{{{Type|}}}|,}}
* Type: {{#arraymap:{{{Type|''(none listed)''}}}|,}}
* Subtype: {{#arraymap:{{{Subtype|}}}|,}}
* Subtype: {{#arraymap:{{{Subtype|''(none listed)''}}}|,}}
* Subject: {{#arraymap:{{{Subject|}}}|,}} |}}
* Subject: {{#arraymap:{{{Subject|''(none listed)''}}}|,}} |}}
</div>
</div>
  | svg = <div class="neutral-box">See the page of the [[:File:{{#explode:{{PAGENAME}}|.|0}}.png|PNG version]] for more information.</div>}}
  | svg = <div class="neutral-box">See the page of the [[:File:{{#explode:{{PAGENAME}}|.|0}}.png|PNG version]] for more information.</div>}}

Revision as of 16:17, 2 March 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)
}}

This templates works with Form:Graphic.