Vorlage:Navbox discipline: Unterschied zwischen den Versionen

CamNet - das Wiki
Keine Bearbeitungszusammenfassung
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|&nbsp;&nbsp;&nbsp;&nbsp;&bull;&emsp;}}<!-- lets try a different one -->{{#vardefine:sep|&nbsp;&nbsp;&bull;&nbsp;<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|&nbsp;&nbsp;&nbsp;&nbsp;&bull;&emsp;}}<!-- lets try a different one -- >{{#vardefine:sep|&nbsp;&nbsp;&bull;&nbsp;<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={{#var: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=&nbsp;&nbsp;&bull;&nbsp;<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={{#var: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=&nbsp;&nbsp;&bull;&nbsp;<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={{#var:sep}} }}
| list1      = {{#ask: [[Category:Disziplinen]] [[Is_path_of::Nein]] | sort=has display title | order=ascending | format=list | sep=&nbsp;&nbsp;&bull;&nbsp;<nowiki> </nowiki> }}
| group2    = {{#var:label2|}}
| group2    = {{#switch:{{PAGENAME}}
| list2      = {{#var:data2|}}
| Thaumaturgie = Thaumaturgische Wege
| group3    = {{#var:label3|}}
| Nekromantie = Nekromantische Wege
| list3      = {{#var:data3|}}
}}
| group4    = {{#var:label4|}}
| list2      = {{#switch:{{PAGENAME}}
| list4      = {{#var:data4|}}
| Thaumaturgie = {{#ask: [[is member of class::Discipline]] [[is_path_of::Thaumaturgie]] | sort=has display title | order=ascending | format=list | sep=&nbsp;&nbsp;&bull;&nbsp;<nowiki> </nowiki>}}
| Nekromantie = {{#ask: [[is member of class::Discipline]] [[is_path_of::Nekromantie]] | sort=has display title | order=ascending | format=list | sep=&nbsp;&nbsp;&bull;&nbsp;<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

|

Documentation icon Template documentation

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