comparison templates/page.tmpl @ 11:cee5d08194eb

add default page template. Slightly modified to always show creation time.
author Samuel Hodgkins <samuel.hodgkins@sky.com>
date Fri, 01 Sep 2017 03:07:24 +0100
parents
children a1002d3b5a6d
comparison
equal deleted inserted replaced
10:212b64ea9488 11:cee5d08194eb
1 <!DOCTYPE html>
2 <TMPL_IF HTML_LANG_CODE><html lang="<TMPL_VAR HTML_LANG_CODE>" dir="<TMPL_VAR HTML_LANG_DIR>" xmlns="http://www.w3.org/1999/xhtml"><TMPL_ELSE><html xmlns="http://www.w3.org/1999/xhtml"></TMPL_IF>
3 <head>
4 <TMPL_IF DYNAMIC>
5 <TMPL_IF FORCEBASEURL><base href="<TMPL_VAR FORCEBASEURL>" /><TMPL_ELSE>
6 <TMPL_IF BASEURL><base href="<TMPL_VAR BASEURL>" /></TMPL_IF>
7 </TMPL_IF>
8 </TMPL_IF>
9 <TMPL_IF HTML5><meta charset="utf-8" /><TMPL_ELSE><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></TMPL_IF>
10 <title><TMPL_VAR TITLE></title>
11 <TMPL_IF RESPONSIVE_LAYOUT><meta name="viewport" content="width=device-width, initial-scale=1" /></TMPL_IF>
12 <TMPL_IF FAVICON>
13 <link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/x-icon" />
14 </TMPL_IF>
15 <link rel="stylesheet" href="<TMPL_VAR BASEURL>style.css" type="text/css" />
16 <TMPL_IF LOCAL_CSS>
17 <link rel="stylesheet" href="<TMPL_VAR BASEURL><TMPL_VAR LOCAL_CSS>" type="text/css" />
18 <TMPL_ELSE>
19 <link rel="stylesheet" href="<TMPL_VAR BASEURL>local.css" type="text/css" />
20 </TMPL_IF>
21
22 <TMPL_UNLESS DYNAMIC>
23 <TMPL_IF EDITURL>
24 <link rel="alternate" type="application/x-wiki" title="Edit this page" href="<TMPL_VAR EDITURL>" />
25 </TMPL_IF>
26 <TMPL_IF FEEDLINKS><TMPL_VAR FEEDLINKS></TMPL_IF>
27 <TMPL_IF RELVCS><TMPL_VAR RELVCS></TMPL_IF>
28 <TMPL_IF META><TMPL_VAR META></TMPL_IF>
29 <TMPL_LOOP TRAILLOOP>
30 <TMPL_IF PREVPAGE>
31 <link rel="prev" href="<TMPL_VAR PREVURL>" title="<TMPL_VAR PREVTITLE>" />
32 </TMPL_IF>
33 <link rel="up" href="<TMPL_VAR TRAILURL>" title="<TMPL_VAR TRAILTITLE>" />
34 <TMPL_IF NEXTPAGE>
35 <link rel="next" href="<TMPL_VAR NEXTURL>" title="<TMPL_VAR NEXTTITLE>" />
36 </TMPL_IF>
37 </TMPL_LOOP>
38 </TMPL_UNLESS>
39
40 </head>
41 <body>
42
43 <TMPL_IF HTML5><article class="page"><TMPL_ELSE><div class="page"></TMPL_IF>
44
45 <TMPL_IF HTML5><section class="pageheader"><TMPL_ELSE><div class="pageheader"></TMPL_IF>
46 <TMPL_IF HTML5><header class="header"><TMPL_ELSE><div class="header"></TMPL_IF>
47 <span>
48 <span class="parentlinks">
49 <TMPL_LOOP PARENTLINKS>
50 <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>/
51 </TMPL_LOOP>
52 </span>
53 <span class="title">
54 <TMPL_VAR TITLE>
55 <TMPL_IF ISTRANSLATION>
56 &nbsp;(<TMPL_VAR PERCENTTRANSLATED>%)
57 </TMPL_IF>
58 </span>
59 </span>
60 <TMPL_UNLESS DYNAMIC>
61 <TMPL_IF SEARCHFORM>
62 <TMPL_VAR SEARCHFORM>
63 </TMPL_IF>
64 </TMPL_UNLESS>
65 <TMPL_IF HTML5></header><TMPL_ELSE></div></TMPL_IF>
66
67 <TMPL_IF HAVE_ACTIONS>
68 <TMPL_IF HTML5><nav class="actions"><TMPL_ELSE><div class="actions"></TMPL_IF>
69 <ul>
70 <TMPL_IF EDITURL>
71 <li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li>
72 </TMPL_IF>
73 <TMPL_IF RECENTCHANGESURL>
74 <li><a href="<TMPL_VAR RECENTCHANGESURL>">RecentChanges</a></li>
75 </TMPL_IF>
76 <TMPL_IF HISTORYURL>
77 <li><a rel="nofollow" href="<TMPL_VAR HISTORYURL>">History</a></li>
78 </TMPL_IF>
79 <TMPL_IF GETSOURCEURL>
80 <li><a rel="nofollow" href="<TMPL_VAR GETSOURCEURL>">Source</a></li>
81 </TMPL_IF>
82 <TMPL_IF PREFSURL>
83 <li><a rel="nofollow" href="<TMPL_VAR PREFSURL>">Preferences</a></li>
84 </TMPL_IF>
85 <TMPL_IF ACTIONS>
86 <TMPL_LOOP ACTIONS>
87 <li><TMPL_VAR ACTION></li>
88 </TMPL_LOOP>
89 </TMPL_IF>
90 <TMPL_IF COMMENTSLINK>
91 <li><TMPL_VAR COMMENTSLINK></li>
92 <TMPL_ELSE>
93 <TMPL_IF DISCUSSIONLINK>
94 <li><TMPL_VAR DISCUSSIONLINK></li>
95 </TMPL_IF>
96 </TMPL_IF>
97 </ul>
98 <TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
99 </TMPL_IF>
100
101 <TMPL_IF OTHERLANGUAGES>
102 <TMPL_IF HTML5><nav id="otherlanguages"><TMPL_ELSE><div id="otherlanguages"></TMPL_IF>
103 <ul>
104 <TMPL_LOOP OTHERLANGUAGES>
105 <li>
106 <a href="<TMPL_VAR URL>"><TMPL_VAR LANGUAGE></a>
107 <TMPL_IF MASTER>
108 (master)
109 <TMPL_ELSE>
110 &nbsp;(<TMPL_VAR PERCENT>%)
111 </TMPL_IF>
112 </li>
113 </TMPL_LOOP>
114 </ul>
115 <TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
116 </TMPL_IF>
117
118 <TMPL_UNLESS DYNAMIC>
119 <TMPL_VAR TRAILS>
120 </TMPL_UNLESS>
121
122 <TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
123
124 <TMPL_UNLESS DYNAMIC>
125 <TMPL_IF SIDEBAR>
126 <TMPL_IF HTML5><aside class="sidebar"><TMPL_ELSE><div class="sidebar"></TMPL_IF>
127 <TMPL_VAR SIDEBAR>
128 <TMPL_IF HTML5></aside><TMPL_ELSE></div></TMPL_IF>
129 </TMPL_IF>
130 </TMPL_UNLESS>
131
132 <div id="pagebody">
133
134 <TMPL_IF HTML5><section<TMPL_ELSE><div</TMPL_IF> id="content" role="main">
135 <TMPL_VAR CONTENT>
136 <TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
137
138 <TMPL_IF ENCLOSURE>
139 <TMPL_IF HTML5><section id="enclosure"><TMPL_ELSE><div id="enclosure"></TMPL_IF>
140 <a href="<TMPL_VAR ENCLOSURE>">Download</a>
141 <TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
142 </TMPL_IF>
143
144 <TMPL_UNLESS DYNAMIC>
145 <TMPL_IF COMMENTS>
146 <TMPL_IF HTML5><section<TMPL_ELSE><div</TMPL_IF> id="comments" role="complementary">
147 <TMPL_VAR COMMENTS>
148 <TMPL_IF ADDCOMMENTURL>
149 <div class="addcomment">
150 <a rel="nofollow" href="<TMPL_VAR ADDCOMMENTURL>">Add a comment</a>
151 </div>
152 <TMPL_ELSE>
153 <div class="addcomment">Comments on this page are closed.</div>
154 </TMPL_IF>
155 <TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
156 </TMPL_IF>
157 </TMPL_UNLESS>
158
159 </div>
160
161 <TMPL_IF HTML5><footer<TMPL_ELSE><div</TMPL_IF> id="footer" class="pagefooter" role="contentinfo">
162 <TMPL_UNLESS DYNAMIC>
163 <TMPL_IF HTML5><nav id="pageinfo"><TMPL_ELSE><div id="pageinfo"></TMPL_IF>
164
165 <TMPL_VAR TRAILS>
166
167 <TMPL_IF TAGS>
168 <TMPL_IF HTML5><nav class="tags"><TMPL_ELSE><div class="tags"></TMPL_IF>
169 Tags:
170 <TMPL_LOOP TAGS>
171 <TMPL_VAR LINK>
172 </TMPL_LOOP>
173 <TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
174 </TMPL_IF>
175
176 <TMPL_IF BACKLINKS>
177 <TMPL_IF HTML5><nav id="backlinks"><TMPL_ELSE><div id="backlinks"></TMPL_IF>
178 Links:
179 <TMPL_LOOP BACKLINKS>
180 <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>
181 </TMPL_LOOP>
182 <TMPL_IF MORE_BACKLINKS>
183 <span class="popup">...
184 <span class="balloon">
185 <TMPL_LOOP MORE_BACKLINKS>
186 <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>
187 </TMPL_LOOP>
188 </span>
189 </span>
190 </TMPL_IF>
191 <TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
192 </TMPL_IF>
193
194 <TMPL_IF COPYRIGHT>
195 <div class="pagecopyright">
196 <a name="pagecopyright"></a>
197 <TMPL_VAR COPYRIGHT>
198 </div>
199 </TMPL_IF>
200
201 <TMPL_IF LICENSE>
202 <div class="pagelicense">
203 <a name="pagelicense"></a>
204 License: <TMPL_VAR LICENSE>
205 </div>
206 </TMPL_IF>
207
208 <div class="pagedate">
209 Original posted: <TMPL_VAR CTIME>. Last modified: <TMPL_VAR MTIME>
210 </div>
211
212 <TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
213 <TMPL_IF EXTRAFOOTER><TMPL_VAR EXTRAFOOTER></TMPL_IF>
214 </TMPL_UNLESS>
215 <!-- from <TMPL_VAR WIKINAME> -->
216 <TMPL_IF HTML5></footer><TMPL_ELSE></div></TMPL_IF>
217
218 <TMPL_IF HTML5></article><TMPL_ELSE></div></TMPL_IF>
219
220 </body>
221 </html>