Vorlage:Navbox discipline: Unterschied zwischen den Versionen

CamNet - das Wiki
(Die Seite wurde neu angelegt: „<!-- Start your template code here. for tipps and tools for template development, please refer to our help-section --><!-- first, lets define the seperator, si…“)
 
Keine Bearbeitungszusammenfassung
Zeile 5: Zeile 5:
-->{{#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::Disciplin]] [[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={{#var:sep}}}}}}
  | Nekromantie = {{#vardefine:label2|Nekromantische Wege}}{{#vardefine:data2|{{#ask: [[is member of class::Disciplin]] [[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={{#var:sep}}}}}}
}}<!--  
}}<!--  


Zeile 18: Zeile 18:
| image      =
| image      =
| group1    = Disziplin
| group1    = Disziplin
| list1      = {{#ask: [[is member of class::Disciplin]] | sort=has display title | order=ascending | format=list | sep={{#var:sep}} }}
| list1      = {{#ask: [[is member of class::Discipline]] | sort=has display title | order=ascending | format=list | sep={{#var:sep}} }}
| group2    = {{#var:label2|}}
| group2    = {{#var:label2|}}
| list2      = {{#var:data2|}}
| list2      = {{#var:data2|}}

Version vom 13. März 2016, 22:09 Uhr

{{#vardefine:sep|    • }}

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