Go to page:

Search:   Help

Navigation

Groups

LyX documentation

Edit

Shared groups

Links

LocalTemplates

<< | Page list | >>

Definition of pagelist templates (local) of this site. Also see Site.PageListTemplates.

fmt=#grouptrail

Dynamic trail of form prev.Name | Group | next.Name

[[#grouptrail]]
(:if equal {$FullName} {=$FullName}:)[[{<$FullName}|+]] | [[{$Group}]] | [[{>$FullName}|+]](:if:)
[[#grouptrailend]]

fmt=#grouptrail2

Dynamic trail of form <<prev | Group | next>>

[[#grouptrail2]]
(:if equal {$FullName} {=$FullName}:)[[{<$FullName}| &laquo; prev ]] | [[{$Group}]] | [[{>$FullName}| next &raquo; ]](:if:)
[[#grouptrail2end]]

fmt=#groupsWithLinkToListPages

A bullet list of groups, with a link for listing the pages in that group.

[[#groupsWithLinkToListPages]]
(:if ! equal {=$Group} {<$Group}:)
* [[{=$Group}]] [++&nbsp;++]\
  %float=right% \
  [[List pages->{$Name}?action=search&q=group%3D{=$Group}%20list%3Ddefault]] %%
[[#groupsWithLinkToListPagesend]]

fmt=#glossaryInclude

Concatenate the text of pages in the list with a horizontal ruler in between. (Note, this can be an expensive operation!)

[[#glossaryInclude]]
----
!!! {=$Title} %float=right%[-''From [[{=$Name}]] ([[edit->{=$Name}?action=edit]])''-]%%
(:include {=$FullName} self=0:)
[[#glossaryIncludeend]]

fmt=#glossaryCompactList

Creates a compact list of pages.

[[#glossaryCompactList]]
[[{=$Name}]](:if ! equal {=$>Group} "":), &nbsp; (:ifend:) 
[[#glossaryCompactListend]]

fmt=#jumpbox

Creates a list of jump box alternatives for jumping directly to a page.

[[#jumpbox]]
(:input jumpbox value="{=$PageUrl}" label="{=$Title}":)
[[#jumpboxend]]

Example:

(:pagelist group={$Group} fmt=#jumpbox:)
Go to page:

fmt=#descriptionspaced

List pages and append the page's description if it exists.

(:if false:)
[[#descriptionspaced]]
*[[{=$Titlespaced}|+]]
(:if ! equal {=$Description} '':)
->'-''description:''
{=$Description}-'
(:ifend:)
[[#descriptionspacedendend]]
(:ifend:)

(:pagelist group={$Group}
fmt=#descriptionspaced count=7:)
description: {=$Description}


First paragraph and categories - #headerCategories

[[#headerCategories]]
[-[''[[edit->{=$FullName}?action=edit]]'']-]: [[{=$FullName}|{=$Group}.{=$Title}]]
%rfloat font-size=small%{=$CategoryList}
>>font-size=small padding-left=7ex<<
[-''Description:'' {=$Description}-] \\
(:include {=$FullName} para=1:)
>><<
(:if equal {>$Group}:)[[<<]]
(:title {$Title}:)(:if:)
[[#headerCategoriesEnd]]

Example:

(:pagelist fmt=#headerCategories group=LyX count=5:)

[edit]: LyX.AboutLyX

Description:
!!What is LyX?

[edit]: LyX.ApaLyX Psychology Humanities

Description:
!Using LyX for Psychology Papers

[edit]: LyX.Chinese CJK

Description:

How to write Chinese with LyX ?

[edit]: LyX.CJK-LyX CJK

Description:
!!About CJK-LyX

[edit]: LyX.Complaints Complaints FeaturePoll

Description:
!!Complaints about LyX



Categories

Category: Site

Edit - History - Print - Recent Changes - All Recent Changes - Search
Page last modified on 2008-11-15 18:21 CET