summaryrefslogtreecommitdiff
path: root/templates/page.tmpl
blob: 703a6d8de0db416416dc5f8fc171972c6edbda77 (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. <title><TMPL_VAR TITLE></title>
  15. <TMPL_IF FAVICON>
  16. <link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/x-icon" />
  17. </TMPL_IF>
  18. <link rel="stylesheet" href="<TMPL_VAR BASEURL>style.css" type="text/css" />
  19. <TMPL_IF LOCAL_CSS>
  20. <link rel="stylesheet" href="<TMPL_VAR BASEURL><TMPL_VAR LOCAL_CSS>" type="text/css" />
  21. <TMPL_ELSE>
  22. <link rel="stylesheet" href="<TMPL_VAR BASEURL>local.css" type="text/css" />
  23. </TMPL_IF>
  24. <TMPL_IF EDITURL>
  25. <link rel="alternate" type="application/x-wiki" title="Edit this page" href="<TMPL_VAR EDITURL>" />
  26. </TMPL_IF>
  27. <TMPL_IF FEEDLINKS><TMPL_VAR FEEDLINKS></TMPL_IF>
  28. <TMPL_IF RELVCS><TMPL_VAR RELVCS></TMPL_IF>
  29. <TMPL_IF META><TMPL_VAR META></TMPL_IF>
  30. </head>
  31. <body>
  32. <TMPL_IF HTML5><article class="page"><TMPL_ELSE><div class="page"></TMPL_IF>
  33. <TMPL_IF HTML5><section class="pageheader"><TMPL_ELSE><div class="pageheader"></TMPL_IF>
  34. <TMPL_IF HTML5><header class="header"><TMPL_ELSE><div class="header"></TMPL_IF>
  35. <span>
  36. <span class="parentlinks">
  37. <TMPL_LOOP PARENTLINKS>
  38. <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>/
  39. </TMPL_LOOP>
  40. </span>
  41. <span class="title">
  42. <TMPL_VAR TITLE>
  43. <TMPL_IF ISTRANSLATION>
  44. &nbsp;(<TMPL_VAR PERCENTTRANSLATED>%)
  45. </TMPL_IF>
  46. </span>
  47. </span>
  48. <TMPL_IF SEARCHFORM>
  49. <TMPL_VAR SEARCHFORM>
  50. </TMPL_IF>
  51. <TMPL_IF HTML5></header><TMPL_ELSE></div></TMPL_IF>
  52. <TMPL_IF HAVE_ACTIONS>
  53. <TMPL_IF HTML5><nav class="actions"><TMPL_ELSE><div class="actions"></TMPL_IF>
  54. <ul>
  55. <TMPL_IF EDITURL>
  56. <li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li>
  57. </TMPL_IF>
  58. <TMPL_IF RECENTCHANGESURL>
  59. <li><a href="<TMPL_VAR RECENTCHANGESURL>">RecentChanges</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 id="otherlanguages"><TMPL_ELSE><div id="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. <div id="pagebody">
  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. </div>
  124. <TMPL_IF HTML5><footer id="footer" class="pagefooter"><TMPL_ELSE><div id="footer" class="pagefooter"></TMPL_IF>
  125. <TMPL_UNLESS DYNAMIC>
  126. <TMPL_IF HTML5><nav id="pageinfo"><TMPL_ELSE><div id="pageinfo"></TMPL_IF>
  127. <TMPL_IF TAGS>
  128. <TMPL_IF HTML5><nav class="tags"><TMPL_ELSE><div class="tags"></TMPL_IF>
  129. Tags:
  130. <TMPL_LOOP TAGS>
  131. <TMPL_VAR LINK>
  132. </TMPL_LOOP>
  133. <TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
  134. </TMPL_IF>
  135. <TMPL_IF BACKLINKS>
  136. <TMPL_IF HTML5><nav id="backlinks"><TMPL_ELSE><div id="backlinks"></TMPL_IF>
  137. Links:
  138. <TMPL_LOOP BACKLINKS>
  139. <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>
  140. </TMPL_LOOP>
  141. <TMPL_IF MORE_BACKLINKS>
  142. <span class="popup">...
  143. <span class="balloon">
  144. <TMPL_LOOP MORE_BACKLINKS>
  145. <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>
  146. </TMPL_LOOP>
  147. </span>
  148. </span>
  149. </TMPL_IF>
  150. <TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
  151. </TMPL_IF>
  152. <TMPL_IF COPYRIGHT>
  153. <div class="pagecopyright">
  154. <a name="pagecopyright"></a>
  155. <TMPL_VAR COPYRIGHT>
  156. </div>
  157. </TMPL_IF>
  158. <TMPL_IF LICENSE>
  159. <div class="pagelicense">
  160. <a name="pagelicense"></a>
  161. License: <TMPL_VAR LICENSE>
  162. </div>
  163. </TMPL_IF>
  164. <div class="pagedate">
  165. Last edited <TMPL_VAR MTIME>
  166. <!-- Created <TMPL_VAR CTIME> -->
  167. </div>
  168. <TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
  169. <TMPL_IF EXTRAFOOTER><TMPL_VAR EXTRAFOOTER></TMPL_IF>
  170. </TMPL_UNLESS>
  171. <!-- from <TMPL_VAR WIKINAME> -->
  172. <TMPL_IF HTML5></footer><TMPL_ELSE></div></TMPL_IF>
  173. <TMPL_IF HTML5></article><TMPL_ELSE></div></TMPL_IF>
  174. </body>
  175. </html>