Jump to content

Template:Facet

From transformal GmbH
Revision as of 17:56, 2 October 2026 by OlafLangmack (talk | contribs) (Created page with "<!-- ============================================ Template:Facet v260930r1 Facet index: marks and link form (Facet-index-spec v260930r1, D1) Mark form: {{Facet |class=… |key=value …}} Renders nothing but a hidden <span class="facet-mark">, read by the generator from the rendered page (G2.1) and by Common.js for the Keywords box (U1.1). Every frozen parameter is emitted on every mark; empty means absent. Attribute names...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Version v260930r1

Documentation

Marks

{{Facet |class=page |contains=aphorism, image}}
{{Facet |class=work |name=»Entinnerung« |type=book |maturity=artwork |documentation=production_archive, public_release}}
{{Facet |class=work |name=Verweise |type=concept |maturity=semi_finished_work |part_of=»Olaf_Langmack«}}
{{Facet |class=person |name=Olaf Langmack |period=1977-03/1986-05 |location=berlin}}
{{Facet |class=archive_data |name=Terminkalender 1985 |manufacture=1985 |entry=1984 |type=datebook |format=a4_portrait |span=four_days}}

Classes: page, person, personality, work, archive_data, file_data. Several values are separated by commas. Keys, values and labels: transformal GmbH:Conventions.

Link form

[[{{Facet |link |type=environment}}|Umgebungen]]
[[{{Facet |link |time=1977-03/1986-05 |ns=Museum}}|1977–1986]]

Keys: the facet keys, plus time (all dates), zone (a named period, by its interval) and week. Without ns, the page's own namespace; ns=Main for MAIN.

Test

Museum:Index#type=environment&time=1977-03/1986-05

Index#spin=333

{{Facet |class=person |location=berlin}} → Facet: a person mark without a name needs both period and location.