Vorlage:BuchKapitel table layout
Aus Zweidat
Dies ist die Vorlage „BuchKapitel table layout“. Sie erstellt zu einem Kapitel-Unterobjekt eine Tabellenspalte (ohne Anzeige des Buches).
Sie sollte im folgenden Format genutzt werden:
{{BuchKapitel table layout |Kapitel }}
Damit die Tabelle korrekt erstellt wird, muss in der ask-Abfrage das Template-Format gewählt werden und die korrekten intro- und outrotemplates (Vorlage:BuchKapitel table header und Vorlage:BuchKapitel table footer) aufgerufen werden.
Beispiel:
TODO {{#ask:[[Category:Kapitel]] (+Einschränkung auf ein bestimmtes Buch!) | ? | link=none | mainlabel=- | format=template | template=BuchKapitel table layout | introtemplate=BuchKapitel table header | outrotemplate=BuchKapitel table footer }}
Vgl. hierzu auch: https://www.semantic-mediawiki.org/wiki/Help:Use_the_template_format_to_create_tabular_output