Shared Templates

This page contains additional page list templates (there are also a number of templates in Site/PageListTemplates).

You should not edit this page. If you want to add your own templates, or modify these, edit Site/LocalTemplates instead.

Contents

fmt=#bygroup-titlespaced

[[#bygroup-titlespaced]]
(:template first {=$Group}:)

:'''[[{=$Groupspaced}/]]''' /:
(:template each order=title:)
(:if ! equal {=$Group} {=$Name} :)
: :[[{=$FullName}|{=$Titlespaced}]]
(:ifend:)
[[#bygroup-titlespacedend]]

fmt=#fulltext-headers-toc

[[#fulltext-headers-toc]]
(:template defaults list=normal :)
(:template first:)
(:htoc:)
(:template each:)
!! {=$Titlespaced}

(:include {=$FullName} :)
[[#fulltext-headers-tocend]]

fmt=#sitemap

[[#sitemap]]
(:template first {=$Group}:)

!! Pages in the “[[{=$Groupspaced}/]]” group

(:pagelist group={=$Group} list=normal fmt=dictindex {$$options} :)
(:template each:)
[[#sitemapend]]

fmt=#include

Concatenate the text of pages in the list (note, this can be an expensive operation).
This is a replacement for the default #include pagelist template, modified to work with Inter Wiki Reference.

[[#include]]
(:include '{=$FullName}' self=0:)
[[#includeend]]

fmt=#includefaq

Include just the #faq sections from pages in the list. (This can also be expensive, especially if the list includes pages that don't have the [[#faq]] anchor!)
This is a replacement for the default #includefaq pagelist template, modified to work with Inter Wiki Reference.

[[#includefaq]]
!![[{=$FullName}|+]]
>>faq<<
(:include '{=$FullName}#faq#faqend' self=0:)
>><<
[[#includefaqend]]

fmt=#all-category-trails

[[#all-category-trails]]
(:template defaults group=Category name=-Category list=normal class='all-category-trails' :)
(:template first:)
(:toggle all-category-trails-inner-container hide lshow="Show category trails" lhide="Hide category trails" set=1 :)
>>id='all-category-trails-inner-container'<<
(:template each:)
(:pagelist link=Category.{=$Name} list=content order=name fmt=fauxtrail trailpage=Category.{=$Name} label="{=$Titlespaced}":)
(:template last:)
>><<
[[#all-category-trailsend]]