Vorlage:Navbox artefact and text: 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, let deine the seperator, since it is used multiple time -->{{#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, let deine the seperator, since it is used multiple time -- >{{#vardefine:sep| • }}<!-- lets try a different one -- >{{#vardefine:sep| • <nowiki> </nowiki>}}<!-- | ||
**** first set the second column to pcs and the third to npcs; both label and data **** | **** first set the second column to pcs and the third to npcs; both label and data **** | ||
-->{{#vardefine:label1|Artefakte}}{{#vardefine:label2|Texte}}{{#vardefine:data1|{{#ask: [[is_member_of_class::Artefact]] | sort=has display title | order=ascending | format=list | sep= | -- >{{#vardefine:label1|Artefakte}}{{#vardefine:label2|Texte}}{{#vardefine:data1|{{#ask: [[is_member_of_class::Artefact]] | sort=has display title | order=ascending | format=list | sep= • <nowiki> </nowiki>}}}}{{#vardefine:data2|{{#ask: [[is_member_of_class::Text]] | sort=has display title | order=ascending | format=list | sep= • <nowiki> </nowiki>|limit=500}}}}<!-- | ||
**** call template navbox with all the data **** | **** call template navbox with all the data **** | ||
| Zeile 12: | Zeile 12: | ||
| above = | | above = | ||
| image = | | image = | ||
| group1 = | | group1 = Artefakte | ||
| list1 = {{# | | list1 = {{#ask: [[is_member_of_class::Artefact]] | sort=has display title | order=ascending | format=list | sep= • <nowiki> </nowiki>}} | ||
| group2 = | | group2 = Texte | ||
| list2 = {{# | | list2 = {{#ask: [[is_member_of_class::Text]] | sort=has display title | order=ascending | format=list | sep= • <nowiki> </nowiki>|limit=500}} | ||
| group3 = | | group3 = | ||
| list3 = | | list3 = | ||
| group4 = | | group4 = | ||
| list4 = | | list4 = | ||
| below = | | below = | ||
}}<!--Last line of your template code--><noinclude> | }}<!--Last line of your template code--><noinclude> | ||
Aktuelle Version vom 11. August 2024, 15:43 Uhr
Description
Displays a navbox on text or artefact pages with a listing of all artefacts and texts in play.
Data collection is done via semantic inline query. So no needing to update this. :)
Parameters
None
Usage
{{navbox artefact and text}}
See also
- {{Navbox chapter}}
- {{Navbox clan}}
- {{Navbox discipline}}
- {{Navbox location}}