Template:Graphic: Difference between revisions

From Wittgenstein Nachlass Graphics
No edit summary
(Adding support for crowdsourced "tags")
Line 43: Line 43:
  |Has graphic subtype = {{{Subtype|}}}|+sep=;
  |Has graphic subtype = {{{Subtype|}}}|+sep=;
  |Has subject = {{{Subject|}}}|+sep=;
  |Has subject = {{{Subject|}}}|+sep=;
|Has tags = {{{Tags|}}}|+sep=;
  |Has sort key = {{#switch: {{#len: {{#explode:{{#explode:{{#explode:{{#explode:{{#explode:{{PAGENAME}}|v|0}}|r|0}}|.|0}}|,|1}}|-|0}} }}
  |Has sort key = {{#switch: {{#len: {{#explode:{{#explode:{{#explode:{{#explode:{{#explode:{{PAGENAME}}|v|0}}|r|0}}|.|0}}|,|1}}|-|0}} }}
   | 1 = {{#explode:{{PAGENAME}}|,|0}},00{{#explode:{{PAGENAME}}|,|1}}
   | 1 = {{#explode:{{PAGENAME}}|,|0}},00{{#explode:{{PAGENAME}}|,|1}}

Revision as of 13:25, 4 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 =
}}

This templates works with Form:Graphic.