Vorlage:Glossar eintrag/doc: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
− | <noinclude>[[{{#regex:{{FULLPAGENAME}} | + | <noinclude>Dokumentationsseite von [[{{#regex:{{FULLPAGENAME}} |
|/\/doc/|}}]]</noinclude> | |/\/doc/|}}]]</noinclude> | ||
<includeonly> | <includeonly> | ||
+ | Gestaltet die Einträge in Glossar- Sanskrit-Pages, vergibt Attribute. Wird von [[Vorlage:Glossar]] und [[Vorlage:Sanskrit]] aufgerufen. | ||
+ | [[{{FULLPAGENAME}}/doc|Dokumentation]] | ||
+ | |||
===Code === | ===Code === | ||
Zeile 24: | Zeile 27: | ||
{ | { | ||
"params": { | "params": { | ||
− | "code": {}, | + | "code": { |
+ | "description": "Pagename", | ||
+ | "example": "Kami", | ||
+ | "type": "string", | ||
+ | "required": true | ||
+ | }, | ||
"sprache": { | "sprache": { | ||
− | "description": "bei japanisch und | + | "description": "bei japanisch und sanskrit automatisch, ansonsten hinzufügen", |
− | "autovalue": "jap", | + | "autovalue": "jap.", |
+ | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
− | " | + | "styled_term_oD": { |
− | "description": " | + | "description": "Begriff in lateinischer Schrift ohne Diakritika (für Sanskrit)", |
− | |||
"type": "string", | "type": "string", | ||
− | "suggested": true | + | "suggested": true, |
+ | "autovalue": "" | ||
}, | }, | ||
− | " | + | "styled_term": { |
− | " | + | "description": "Begriff in lateinischer Schrift mit Diakritika", |
− | |||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
− | " | + | "geschlecht": { |
− | " | + | "description": "nur Sanskrit", |
− | " | + | "example": "m, n, oder f", |
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
Zeile 53: | Zeile 61: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
− | "desc_of_term": {}, | + | "desc_of_term": { |
− | "tags": {}, | + | "description": "Definition, Erklärung", |
− | " | + | "type": "string", |
− | " | + | "suggested": true |
− | " | + | }, |
− | " | + | "tags": { |
− | "type": {}, | + | "description": "Kategorie", |
− | "icon": { | + | "example": "Bauwerk, Bild, Fabelwesen, Geschichte, Gottheit, Kalender, Konzept, Objekt, Ort, Person, Praxis, Schule, Text, Tier", |
− | + | "suggested": true | |
− | + | }, | |
+ | "thema": { | ||
+ | "description": "derzeit experimentell", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "link": { | ||
+ | "description": "wichtigstes Vorkommen des Glossarbegriffs", | ||
+ | "type": "wiki-page-name" | ||
+ | }, | ||
+ | "map": { | ||
+ | "description": "Geodaten, bei Orten", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "zoom": { | ||
+ | "description": "Zoomstufe für Map", | ||
+ | "example": "19", | ||
+ | "type": "number" | ||
+ | }, | ||
+ | "type": { | ||
+ | "label": "Kartentyp", | ||
+ | "description": "nur bei Maps", | ||
+ | "example": "satellite oder terrain", | ||
+ | "type": "string", | ||
+ | "aliases": [ | ||
+ | "style" | ||
+ | ] | ||
+ | }, | ||
+ | "icon": { | ||
+ | "label": "Map-Icon", | ||
+ | "description": "nur für Maps", | ||
+ | "example": "schrein" | ||
+ | } | ||
}, | }, | ||
− | "description": "Gestaltet die Einträge in Glossar- Sanskrit-Pages, | + | "description": "Gestaltet die Einträge in Glossar- und Sanskrit-Pages", |
+ | "format": "block" | ||
} | } | ||
</templatedata> | </templatedata> | ||
</includeonly> | </includeonly> |
Aktuelle Version vom 23. April 2022, 14:29 Uhr
Dokumentationsseite von Vorlage:Glossar eintrag