5,520
edits
(Created page with "<noinclude> This template generates the description box for individual graphics and allows them to be tagged semantically. The syntax is as follows: <pre> {{Graphic |Subject= A, B, C }} </pre> This templates works with Form:Graphic. </noinclude><includeonly>{{#switch: {{#explode: {{PAGENAME}}|.|1}} | png = <div class="neutral-box"> This graphic was made possible by funding from the [https://wab.uib.no/ Wittgenstein Archives at the University of Bergen]. It was d...") |
No edit summary |
||
Line 6: | Line 6: | ||
<pre> | <pre> | ||
{{Graphic | {{Graphic | ||
|Subject= | | Type = Graphic | ||
| Subtype = Abbild | |||
| Subject = Gesicht(er) | |||
}} | }} | ||
</pre> | </pre> | ||
Line 25: | Line 27: | ||
'''Semantic tagging:''' | '''Semantic tagging:''' | ||
Type: {{#arraymap:{{{Type|}}}|,}} | |||
Subtype: {{#arraymap:{{{Subtype|}}}|,}} | |||
Subject: {{#arraymap:{{{Subject|}}}|,}} |}} | |||
</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>}} | ||
{{#set: | {{#set: | ||
Has title = {{#explode:{{PAGENAME}}|.|0}} | Has title = {{#explode:{{PAGENAME}}|.|0}} | ||
|Has type = {{{Type|}}}|+sep=, | |||
|Has subtype = {{{Subtype|}}}|+sep=, | |||
|Has subject = {{{Subject|}}}|+sep=, | |Has subject = {{{Subject|}}}|+sep=, | ||
|Has sort key = {{#switch: {{#len: {{#explode:{{#explode:{{#explode:{{PAGENAME}}|.|0}}|,|1}}|-|0}} }} | |Has sort key = {{#switch: {{#len: {{#explode:{{#explode:{{#explode:{{PAGENAME}}|.|0}}|,|1}}|-|0}} }} |