summaryrefslogtreecommitdiff
path: root/templates/page.tmpl
blob: 3bb7197f0e8e84f9fd22ce76dab9488478bdb899 (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_UNLESS DYNAMIC>
  50. <TMPL_IF SEARCHFORM>
  51. <TMPL_VAR SEARCHFORM>
  52. </TMPL_IF>
  53. </TMPL_UNLESS>
  54. <TMPL_IF HTML5></header><TMPL_ELSE></div></TMPL_IF>
  55. <TMPL_IF HAVE_ACTIONS>
  56. <TMPL_IF HTML5><nav class="actions"><TMPL_ELSE><div class="actions"></TMPL_IF>
  57. <ul>
  58. <TMPL_IF EDITURL>
  59. <li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li>
  60. </TMPL_IF>
  61. <TMPL_IF RECENTCHANGESURL>
  62. <li><a href="<TMPL_VAR RECENTCHANGESURL>">RecentChanges</a></li>
  63. </TMPL_IF>
  64. <TMPL_IF HISTORYURL>
  65. <li><a href="<TMPL_VAR HISTORYURL>">History</a></li>
  66. </TMPL_IF>
  67. <TMPL_IF GETSOURCEURL>
  68. <li><a href="<TMPL_VAR GETSOURCEURL>">Source</a></li>
  69. </TMPL_IF>
  70. <TMPL_IF PREFSURL>
  71. <li><a href="<TMPL_VAR PREFSURL>">Preferences</a></li>
  72. </TMPL_IF>
  73. <TMPL_IF ACTIONS>
  74. <TMPL_LOOP ACTIONS>
  75. <li><TMPL_VAR ACTION></li>
  76. </TMPL_LOOP>
  77. </TMPL_IF>
  78. <TMPL_IF COMMENTSLINK>
  79. <li><TMPL_VAR COMMENTSLINK></li>
  80. <TMPL_ELSE>
  81. <TMPL_IF DISCUSSIONLINK>
  82. <li><TMPL_VAR DISCUSSIONLINK></li>
  83. </TMPL_IF>
  84. </TMPL_IF>
  85. </ul>
  86. <TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
  87. </TMPL_IF>
  88. <TMPL_IF OTHERLANGUAGES>
  89. <TMPL_IF HTML5><nav class="otherlanguages"><TMPL_ELSE><div class="otherlanguages"></TMPL_IF>
  90. <ul>
  91. <TMPL_LOOP OTHERLANGUAGES>
  92. <li>
  93. <a href="<TMPL_VAR URL>"><TMPL_VAR LANGUAGE></a>
  94. <TMPL_IF MASTER>
  95. (master)
  96. <TMPL_ELSE>
  97. &nbsp;(<TMPL_VAR PERCENT>%)
  98. </TMPL_IF>
  99. </li>
  100. </TMPL_LOOP>
  101. </ul>
  102. <TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
  103. </TMPL_IF>
  104. <TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
  105. <TMPL_IF SIDEBAR>
  106. <TMPL_IF HTML5><aside class="sidebar"><TMPL_ELSE><div class="sidebar"></TMPL_IF>
  107. <TMPL_VAR SIDEBAR>
  108. <TMPL_IF HTML5></aside><TMPL_ELSE></div></TMPL_IF>
  109. </TMPL_IF>
  110. <TMPL_IF HTML5><section id="content"><TMPL_ELSE><div id="content"></TMPL_IF>
  111. <TMPL_VAR CONTENT>
  112. <TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
  113. <TMPL_IF COMMENTS>
  114. <TMPL_IF HTML5><section id="comments"><TMPL_ELSE><div id="comments"></TMPL_IF>
  115. <TMPL_VAR COMMENTS>
  116. <TMPL_IF ADDCOMMENTURL>
  117. <div class="addcomment">
  118. <a href="<TMPL_VAR ADDCOMMENTURL>">Add a comment</a>
  119. </div>
  120. <TMPL_ELSE>
  121. <div class="addcomment">Comments on this page are closed.</div>
  122. </TMPL_IF>
  123. <TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
  124. </TMPL_IF>
  125. <TMPL_IF HTML5><footer id="footer" class="pagefooter"><TMPL_ELSE><div id="footer" class="pagefooter"></TMPL_IF>
  126. <TMPL_UNLESS DYNAMIC>
  127. <TMPL_IF HTML5><nav id="pageinfo"><TMPL_ELSE><div id="pageinfo"></TMPL_IF>
  128. <TMPL_IF TAGS>
  129. <TMPL_IF HTML5><nav class="tags"><TMPL_ELSE><div class="tags"></TMPL_IF>
  130. Tags:
  131. <TMPL_LOOP TAGS>
  132. <TMPL_VAR LINK>
  133. </TMPL_LOOP>
  134. <TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
  135. </TMPL_IF>
  136. <TMPL_IF BACKLINKS>
  137. <TMPL_IF HTML5><nav id="backlinks"><TMPL_ELSE><div id="backlinks"></TMPL_IF>
  138. Links:
  139. <TMPL_LOOP BACKLINKS>
  140. <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>
  141. </TMPL_LOOP>
  142. <TMPL_IF MORE_BACKLINKS>
  143. <span class="popup">...
  144. <span class="balloon">
  145. <TMPL_LOOP MORE_BACKLINKS>
  146. <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>
  147. </TMPL_LOOP>
  148. </span>
  149. </span>
  150. </TMPL_IF>
  151. <TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
  152. </TMPL_IF>
  153. <TMPL_IF COPYRIGHT>
  154. <div class="pagecopyright">
  155. <a name="pagecopyright"></a>
  156. <TMPL_VAR COPYRIGHT>
  157. </div>
  158. </TMPL_IF>
  159. <TMPL_IF LICENSE>
  160. <div class="pagelicense">
  161. <a name="pagelicense"></a>
  162. License: <TMPL_VAR LICENSE>
  163. </div>
  164. </TMPL_IF>
  165. <div class="pagedate">
  166. Last edited <TMPL_VAR MTIME>
  167. <!-- Created <TMPL_VAR CTIME> -->
  168. </div>
  169. <TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
  170. <TMPL_IF EXTRAFOOTER><TMPL_VAR EXTRAFOOTER></TMPL_IF>
  171. </TMPL_UNLESS>
  172. <!-- from <TMPL_VAR WIKINAME> -->
  173. <TMPL_IF HTML5></footer><TMPL_ELSE></div></TMPL_IF>
  174. <TMPL_IF HTML5></article><TMPL_ELSE></div></TMPL_IF>
  175. </body>
  176. </html>