Wiki Page Body Template

Site Index > Site Configuration > Wiki Page Body

IMPORTANT INFORMATION

This page has the code that controls the layout of every single page in the wiki. Alterations to this page will impact EVERY SINGLE PAGE. By deleting this page every page will appear blank. Be very careful with any alterations to this page.

Page Body Section Template

[[#start]]
(:if le {(add 1 {$$count})} {$:sectionqty}:)
!!{$:section{(add 1 {$$count})}name}

(:include {$FullName}#section{(add 1 {$$count})}start#section{(add 1 {$$count})}end self=1:)

(:include site.body#start#end basepage={$FullName} self=1 count={(add 1 {$$count})}:)
(:ifend:)
[[#end]]

Hidden Information Section Template

[[#hiddenstart]]
(:if [ auth read {$$type}.{$$type} && le {(add 1 {$$count})} {$:{$$type}qty} ] :)
(:if2 equal {(add 1 {$$count})} 1:)
!!Restricted Information
(:if2end:)
(:if2 ! equal "{$:{$$type}{(add 1 {$$count})}name}" "":)
!!!{$:{$$type}{(add 1 {$$count})}name}
(:if2end:)
(:include {$FullName}#{$$type}{(add 1 {$$count})}start#{$$type}{(add 1 {$$count})}end self=1:)
(:include site.body#hiddenstart#hiddenend basepage={$FullName} self=1 count={(add 1 {$$count})} type={$$type}:)
(:ifend:)
[[#hiddenend]]

Page Reference Section Template

[[#referencestart]]
(:if le {(add 1 {$$count})} {$:referenceqty}:)
!!!{$:reference{(add 1 {$$count})}name}
(:include site.callout#togglestart#toggleend name="box{(add 1 {$$count})}" label="{$:reference{(add 1 {$$count})}label}" data={$FullName}#reference{(add 1 {$$count})}start#reference{(add 1 {$$count})}end self=1 visible={$:reference{(add 1 {$$count})}visible}:)
(:include site.body#referencestart#referenceend basepage={$FullName} self=1 count={(add 1 {$$count})}:)
(:ifend:)
[[#referenceend]]

Categories: Templates


Site Index About Us Event Calendar Novitas Linktree Contact Us
Page last modified on January 03, 2023, at 06:38 PM
Powered by PmWiki