Vorlage:Navbox discipline: Unterschied zwischen den Versionen
Noémi (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Noémi (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| (Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
| Zeile 2: | Zeile 2: | ||
**** set the second column to a path, if we are on page "Thaumaturgie" or "Nekromantie" or if variable "onpath" is set to any of these **** | **** set the second column to a path, if we are on page "Thaumaturgie" or "Nekromantie" or if variable "onpath" is set to any of these **** | ||
-- >{{#if:{{#var:onpath}}|<!--onpath is set, so do nothing-->|<!-- not set. set it to {{PAGENAME}} if on page "Thaumaturgie" or "Nekromantie" | -- >{{#if:{{#var:onpath}}|<!--onpath is set, so do nothing-- >|<!-- not set. set it to {{PAGENAME}} if on page "Thaumaturgie" or "Nekromantie" | ||
-- >{{#ifeq:{{PAGENAME}}|Thaumaturgie|{{#vardefine:onpath|Thaumaturgie}}}}{{#ifeq:{{PAGENAME}}|Nekromantie|{{#vardefine:onpath|Nekromantie}}}}}}<!-- do the query it onpath matches | -- >{{#ifeq:{{PAGENAME}}|Thaumaturgie|{{#vardefine:onpath|Thaumaturgie}}}}{{#ifeq:{{PAGENAME}}|Nekromantie|{{#vardefine:onpath|Nekromantie}}}}}}<!-- do the query it onpath matches | ||
-- >{{#switch: {{#var:onpath}} | -- >{{#switch: {{#var:onpath}} | ||
| Zeile 19: | Zeile 19: | ||
| group1 = Disziplin | | group1 = Disziplin | ||
| list1 = {{#ask: [[Category:Disziplinen]] [[Is_path_of::Nein]] | sort=has display title | order=ascending | format=list | sep= • <nowiki> </nowiki> }} | | list1 = {{#ask: [[Category:Disziplinen]] [[Is_path_of::Nein]] | sort=has display title | order=ascending | format=list | sep= • <nowiki> </nowiki> }} | ||
| group2 = {{#switch:{{PAGENAME}} | | group2 = {{#switch:{{#if:{{#show: {{PAGENAME}} | ?is path of }}|{{#show: {{PAGENAME}} | ?is path of }}|{{PAGENAME}} }} | ||
| Thaumaturgie = Thaumaturgische Wege | | Thaumaturgie = Thaumaturgische Wege | ||
| Nekromantie = Nekromantische Wege | | Nekromantie = Nekromantische Wege | ||
}} | }} | ||
| list2 = {{#switch:{{PAGENAME}} | | list2 = {{#switch:{{#if:{{#show: {{PAGENAME}} | ?is path of }}|{{#show: {{PAGENAME}} | ?is path of }}|{{PAGENAME}} }} | ||
| Thaumaturgie = {{#ask: [[is member of class::Discipline]] [[is_path_of::Thaumaturgie]] | sort=has display title | order=ascending | format=list | sep= • <nowiki> </nowiki>}} | | Thaumaturgie = {{#ask: [[is member of class::Discipline]] [[is_path_of::Thaumaturgie]] | sort=has display title | order=ascending | format=list | sep= • <nowiki> </nowiki>}} | ||
| Nekromantie = {{#ask: [[is member of class::Discipline]] [[is_path_of::Nekromantie]] | sort=has display title | order=ascending | format=list | sep= • <nowiki> </nowiki>}} | | Nekromantie = {{#ask: [[is member of class::Discipline]] [[is_path_of::Nekromantie]] | sort=has display title | order=ascending | format=list | sep= • <nowiki> </nowiki>}} | ||
Aktuelle Version vom 12. Oktober 2026, 07:28 Uhr
Description
Zeigt eine Navbox für eine Disziplinseite: Alle bekannten Disziplinen und - sofern Thaumaturgie, Nekromantie oder ein Weg ausgewählt sind - alle bekannten Wege der entsprechenden Disziplin.
Parameters
keine
Usage
{{Navbox discipline}}
See also
- {{Navbox artefact and text}}
- {{Navbox chapter}}
- {{Navbox clan}}
- {{Navbox location}}