summaryrefslogtreecommitdiff
path: root/templates/page.tmpl
blob: f7944e40ee1ae327afdd73605f2680a27ce9e1b9 (plain)
  1. <TMPL_IF HTML5><!DOCTYPE html>
  2. <html>
  3. <TMPL_ELSE><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  4. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  5. <html xmlns="http://www.w3.org/1999/xhtml">
  6. </TMPL_IF>
  7. <head>
  8. <TMPL_IF DYNAMIC>
  9. <TMPL_IF FORCEBASEURL><base href="<TMPL_VAR FORCEBASEURL>" /><TMPL_ELSE>
  10. <TMPL_IF BASEURL><base href="<TMPL_VAR BASEURL>" /></TMPL_IF>
  11. </TMPL_IF>
  12. </TMPL_IF>
  13. <TMPL_IF HTML5><meta charset="utf-8" /><TMPL_ELSE><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></TMPL_IF>
  14. <meta http-equiv="Cache-Control" content="must-revalidate" />
  15. <title><TMPL_VAR TITLE></title>
  16. <TMPL_IF FAVICON>
  17. <link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/x-icon" />
  18. </TMPL_IF>
  19. <link rel="stylesheet" href="<TMPL_VAR BASEURL>style.css" type="text/css" />
  20. <TMPL_IF LOCAL_CSS>
  21. <link rel="stylesheet" href="<TMPL_VAR BASEURL><TMPL_VAR LOCAL_CSS>" type="text/css" />
  22. <TMPL_ELSE>
  23. <link rel="stylesheet" href="<TMPL_VAR BASEURL>local.css" type="text/css" />
  24. </TMPL_IF>
  25. <TMPL_IF EDITURL>
  26. <link rel="alternate" type="application/x-wiki" title="Edit this page" href="<TMPL_VAR EDITURL>" />
  27. </TMPL_IF>
  28. <TMPL_IF FEEDLINKS><TMPL_VAR FEEDLINKS></TMPL_IF>
  29. <TMPL_IF RELVCS><TMPL_VAR RELVCS></TMPL_IF>
  30. <TMPL_IF META><TMPL_VAR META></TMPL_IF>
  31. </head>
  32. <body>
  33. <TMPL_IF HTML5><article class="page"><TMPL_ELSE><div class="page"></TMPL_IF>
  34. <TMPL_IF HTML5><section class="pageheader"><TMPL_ELSE><div class="pageheader"></TMPL_IF>
  35. <TMPL_IF HTML5><header class="header"><TMPL_ELSE><div class="header"></TMPL_IF>
  36. <span>
  37. <span class="parentlinks">
  38. <TMPL_LOOP PARENTLINKS>
  39. <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>/
  40. </TMPL_LOOP>
  41. </span>
  42. <span class="title">
  43. <TMPL_VAR TITLE>
  44. <TMPL_IF ISTRANSLATION>
  45. &nbsp;(<TMPL_VAR PERCENTTRANSLATED>%)
  46. </TMPL_IF>
  47. </span>
  48. </span>
  49. <TMPL_IF SEARCHFORM>
  50. <TMPL_VAR SEARCHFORM>
  51. </TMPL_IF>
  52. <TMPL_IF HTML5></header><TMPL_ELSE></div></TMPL_IF>
  53. <TMPL_IF HAVE_ACTIONS>
  54. <TMPL_IF HTML5><nav class="actions"><TMPL_ELSE><div class="actions"></TMPL_IF>
  55. <ul>
  56. <TMPL_IF EDITURL>
  57. <li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li>
  58. </TMPL_IF>
  59. <TMPL_IF RECENTCHANGESURL>
  60. <li><a href="<TMPL_VAR RECENTCHANGESURL>">RecentChanges</a></li>
  61. </TMPL_IF>
  62. <TMPL_IF HISTORYURL>
  63. <li><a href="<TMPL_VAR HISTORYURL>">History</a></li>
  64. </TMPL_IF>
  65. <TMPL_IF GETSOURCEURL>
  66. <li><a href="<TMPL_VAR GETSOURCEURL>">Source</a></li>
  67. </TMPL_IF>
  68. <TMPL_IF PREFSURL>
  69. <li><a href="<TMPL_VAR PREFSURL>">Preferences</a></li>
  70. </TMPL_IF>
  71. <TMPL_IF ACTIONS>
  72. <TMPL_LOOP ACTIONS>
  73. <li><TMPL_VAR ACTION></li>
  74. </TMPL_LOOP>
  75. </TMPL_IF>
  76. <TMPL_IF COMMENTSLINK>
  77. <li><TMPL_VAR COMMENTSLINK></li>
  78. <TMPL_ELSE>
  79. <TMPL_IF DISCUSSIONLINK>
  80. <li><TMPL_VAR DISCUSSIONLINK></li>
  81. </TMPL_IF>
  82. </TMPL_IF>
  83. </ul>
  84. <TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
  85. </TMPL_IF>
  86. <TMPL_IF OTHERLANGUAGES>
  87. <TMPL_IF HTML5><nav class="otherlanguages"><TMPL_ELSE><div class="otherlanguages"></TMPL_IF>
  88. <ul>
  89. <TMPL_LOOP OTHERLANGUAGES>
  90. <li>
  91. <a href="<TMPL_VAR URL>"><TMPL_VAR LANGUAGE></a>
  92. <TMPL_IF MASTER>
  93. (master)
  94. <TMPL_ELSE>
  95. &nbsp;(<TMPL_VAR PERCENT>%)
  96. </TMPL_IF>
  97. </li>
  98. </TMPL_LOOP>
  99. </ul>
  100. <TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
  101. </TMPL_IF>
  102. <TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
  103. <TMPL_IF SIDEBAR>
  104. <TMPL_IF HTML5><aside class="sidebar"><TMPL_ELSE><div class="sidebar"></TMPL_IF>
  105. <TMPL_VAR SIDEBAR>
  106. <TMPL_IF HTML5></aside><TMPL_ELSE></div></TMPL_IF>
  107. </TMPL_IF>
  108. <TMPL_IF HTML5><section id="content"><TMPL_ELSE><div id="content"></TMPL_IF>
  109. <TMPL_VAR CONTENT>
  110. <TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
  111. <TMPL_IF COMMENTS>
  112. <TMPL_IF HTML5><section id="comments"><TMPL_ELSE><div id="comments"></TMPL_IF>
  113. <TMPL_VAR COMMENTS>
  114. <TMPL_IF ADDCOMMENTURL>
  115. <div class="addcomment">
  116. <a href="<TMPL_VAR ADDCOMMENTURL>">Add a comment</a>
  117. </div>
  118. <TMPL_ELSE>
  119. <div class="addcomment">Comments on this page are closed.</div>
  120. </TMPL_IF>
  121. <TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
  122. </TMPL_IF>
  123. <TMPL_IF HTML5><footer id="footer" class="pagefooter"><TMPL_ELSE><div id="footer" class="pagefooter"></TMPL_IF>
  124. <TMPL_UNLESS DYNAMIC>
  125. <TMPL_IF HTML5><nav id="pageinfo"><TMPL_ELSE><div id="pageinfo"></TMPL_IF>
  126. <TMPL_IF TAGS>
  127. <TMPL_IF HTML5><nav class="tags"><TMPL_ELSE><div class="tags"></TMPL_IF>
  128. Tags:
  129. <TMPL_LOOP TAGS>
  130. <TMPL_VAR LINK>
  131. </TMPL_LOOP>
  132. <TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
  133. </TMPL_IF>
  134. <TMPL_IF BACKLINKS>
  135. <TMPL_IF HTML5><nav id="backlinks"><TMPL_ELSE><div id="backlinks"></TMPL_IF>
  136. Links:
  137. <TMPL_LOOP BACKLINKS>
  138. <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>
  139. </TMPL_LOOP>
  140. <TMPL_IF MORE_BACKLINKS>
  141. <span class="popup">...
  142. <span class="balloon">
  143. <TMPL_LOOP MORE_BACKLINKS>
  144. <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>
  145. </TMPL_LOOP>
  146. </span>
  147. </span>
  148. </TMPL_IF>
  149. <TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
  150. </TMPL_IF>
  151. <TMPL_IF COPYRIGHT>
  152. <div class="pagecopyright">
  153. <a name="pagecopyright"></a>
  154. <TMPL_VAR COPYRIGHT>
  155. </div>
  156. </TMPL_IF>
  157. <TMPL_IF LICENSE>
  158. <div class="pagelicense">
  159. <a name="pagelicense"></a>
  160. License: <TMPL_VAR LICENSE>
  161. </div>
  162. </TMPL_IF>
  163. <div class="pagedate">
  164. Last edited <TMPL_VAR MTIME>
  165. <!-- Created <TMPL_VAR CTIME> -->
  166. </div>
  167. <TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
  168. <TMPL_IF EXTRAFOOTER><TMPL_VAR EXTRAFOOTER></TMPL_IF>
  169. </TMPL_UNLESS>
  170. <!-- from <TMPL_VAR WIKINAME> -->
  171. <TMPL_IF HTML5></footer><TMPL_ELSE></div></TMPL_IF>
  172. <TMPL_IF HTML5></article><TMPL_ELSE></div></TMPL_IF>
  173. </body>
  174. </html>