summaryrefslogtreecommitdiff
path: root/templates/page.tmpl
blob: da8c2940f8cc74b98498ed6759e54ddfe5b1b5cb (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 id="otherlanguages"><TMPL_ELSE><div id="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. <div id="pagebody">
  109. <TMPL_IF HTML5><section id="content"><TMPL_ELSE><div id="content"></TMPL_IF>
  110. <TMPL_VAR CONTENT>
  111. <TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
  112. <TMPL_IF COMMENTS>
  113. <TMPL_IF HTML5><section id="comments"><TMPL_ELSE><div id="comments"></TMPL_IF>
  114. <TMPL_VAR COMMENTS>
  115. <TMPL_IF ADDCOMMENTURL>
  116. <div class="addcomment">
  117. <a href="<TMPL_VAR ADDCOMMENTURL>">Add a comment</a>
  118. </div>
  119. <TMPL_ELSE>
  120. <div class="addcomment">Comments on this page are closed.</div>
  121. </TMPL_IF>
  122. <TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
  123. </TMPL_IF>
  124. </div>
  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>