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