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