[[*content]]
[[$[[*pageTemplate]]]]
[[*content]]
[[$head]][[$header]][[*content]][[$footer]]
[[$templates_basis? &pagetitle=`[[*pagetitle]]` &headtitle=`[[*headtitle]]` &description=`[[*description]]` &keywords=[[*keywords]] &pagetitle_1=`<div class="block-header">[[*pagetitle]]</div>` &pagetitle_2=`[[$pagetitle_h1]]` &content_chunk=`$archiv_content` ]]
[[$templates_basis? &pagetitle=`[[*pagetitle]]` &headtitle=`[[*headtitle]]` &description=`[[*description]]` &keywords=[[*keywords]] &pagetitle_1=`[[$pagetitle_h1]]` &pagetitle_2=`` &content_chunk=`$content_boersenanalyse_uebersicht` ]]
[[!migxLoopCollection? &packageName=`boersenlexikon` &classname=`blQALink` &joins=`[{"alias":"QA","selectfields":"pagetitle,content"}]` &where=`{"theme_id":"[[!+lexikon_theme.id]]"}` &sortConfig=`[{"sortby":"pos"}]` &limit=`1` &tpl=`@CODE:[[+QA_pagetitle]]` &toPlaceholder=`h1_title` ]] [[$templates_basis? &pagetitle=`[[!+h1_title]]` &description=`[[!+lexikon_theme.description]]` &keywords=`[[!+lexikon_theme.keywords]]` &pagetitle_1=`<h2><span class="pagetitle">A-Z</span>Böhms Börsenlexikon</h2>` &pagetitle_2=`` &content_chunk=`!$LexikonThemeContent` ]]
[[+pagetitle]] [[+description]] [[+keywords]] [[+pagetitle_1]] [[+pagetitle_2]] [[[[+content_chunk]]]]
<!DOCTYPE html> <html lang="de"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="[[+description]]"> <meta name="keywords" content="[[+keywords]]"> <title>[[+headtitle:default=`[[+pagetitle]]`]] [[++site_name]]</title> <base href="[[++site_url]]" /> <link rel="stylesheet" href="/style/styles.css"> </head> <body class="full"> <div class="container"> [[+formit_successmessage]] <div id="header" class="row"> </div> <div id="nav-level1"> [[pdoMenu? &startId=`0` &level=`1` &tpl=`nav_level1_rowTpl` &outerClass=`nav nav-tabsx nav-level1` ]] </div> [[pdoMenu? &startId=`[[pdoField? &field=`id` &id=`[[*id]]` &topLevel=`1`]]` &level=`1` &outerClass=`nav nav-tabsx nav-level2` ]] <div class="row" id="breadcrumb-container"> [[pdoCrumbs? &tplWrapper=`@INLINE <div class="breadcrumbs col-xs-12">Sie sind hier: [[+output]][[$breadcrumb_anzeige]]</div>` &tplCurrent=`@INLINE <span>[[+pagetitle]]</span>` &outputSeparator=` > ` ]] </div> <div id="content" class="row"> <div class="col-sm-8 contentcontainer"> [[$[[*header_chunk]]]] [[[[*show_slider:is=`1`:then=`$top_slider`:else=``]]]] [[[[*show_article_image:is=`1`:then=`$article_image`:else=``]]]] <div class="contentblock [[*hr-color]]"> [[+pagetitle_1]] [[+pagetitle_2]] [[[[+content_chunk]]]] [[*crosslinks]] </div> </div> <div id="sidebar" class="col-sm-4"> [[getImageList? &tvname=`sidebar` &inheritFrom=`parents,33` &tpl=`@CODE:[[$[[+sideblock]]]]` ]] </div> </div> <div class="row"> <div class="col-xs-12" id="footer"> </div> </div> </div> </body> </html>
you can have different templates, which look like this:
[[!snip]]
This way, you can have many templates with different TVs assigned to it, but only one chunk with the whole template-code.