Vorlage:Navbox discipline: Unterschied zwischen den Versionen
Noémi (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Noémi (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
<!-- Start your template code here. for tipps and tools for template development, please refer to our help-section --><!-- first, lets define the seperator, since it is used multiple times -->{{#vardefine:sep| • }}<!-- lets try a different one -->{{#vardefine:sep| • <nowiki> </nowiki>}}<!-- | <!-- Start your template code here. for tipps and tools for template development, please refer to our help-section --><!-- first, lets define the seperator, since it is used multiple times -- >{{#vardefine:sep| • }}<!-- lets try a different one -- >{{#vardefine:sep| • <nowiki> </nowiki>}}<!-- | ||
**** 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}} | ||
| Thaumaturgie = {{#vardefine:label2|Thaumaturgische Wege}}{{#vardefine:data2|{{#ask: [[is member of class::Discipline]] [[is_path_of::Thaumaturgie]] | sort=has display title | order=ascending | format=list | sep= | | Thaumaturgie = {{#vardefine:label2|Thaumaturgische Wege}}{{#vardefine:data2|{{#ask: [[is member of class::Discipline]] [[is_path_of::Thaumaturgie]] | sort=has display title | order=ascending | format=list | sep= • <nowiki> </nowiki>}}}} | ||
| Nekromantie = {{#vardefine:label2|Nekromantische Wege}}{{#vardefine:data2|{{#ask: [[is member of class::Discipline]] [[is_path_of::Nekromantie]] | sort=has display title | order=ascending | format=list | sep= | | Nekromantie = {{#vardefine:label2|Nekromantische Wege}}{{#vardefine:data2|{{#ask: [[is member of class::Discipline]] [[is_path_of::Nekromantie]] | sort=has display title | order=ascending | format=list | sep= • <nowiki> </nowiki>}}}} | ||
}}<!-- | }}<!-- | ||
| Zeile 18: | Zeile 18: | ||
| image = | | image = | ||
| group1 = Disziplin | | group1 = Disziplin | ||
| list1 = {{#ask: [[Category:Disziplinen]] [[Is_path_of::Nein]] | sort=has display title | order=ascending | format=list | sep= | | list1 = {{#ask: [[Category:Disziplinen]] [[Is_path_of::Nein]] | sort=has display title | order=ascending | format=list | sep= • <nowiki> </nowiki> }} | ||
| group2 = {{# | | group2 = {{#switch:{{PAGENAME}} | ||
| list2 = {{# | | Thaumaturgie = Thaumaturgische Wege | ||
| | | Nekromantie = Nekromantische Wege | ||
| | }} | ||
| group4 = | | list2 = {{#switch:{{PAGENAME}} | ||
| list4 = | | 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>}} | |||
}} | |||
| group3 = | |||
| list3 = | |||
| group4 = | |||
| list4 = | |||
| below = | | below = | ||
}}<!--Last line of your template code--><noinclude> | }}<!--Last line of your template code--><noinclude> | ||
Version vom 12. Oktober 2026, 07:18 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}}