User Tools

Site Tools


en:aboutwiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:aboutwiki [2025/05/25 05:27] juras17en:aboutwiki [2025/05/25 08:27] (current) juras17
Line 1: Line 1:
 ====== Technical informations ====== ====== Technical informations ======
-===== Dokuwiki development informations ===== 
  
-==== Template ====+This page contains technical information about wikipedia.
  
-=== Appearance ===+===== The Custom Arkhalia template =====
  
-Dokuwiki has new template placed in `/lib/tpl/arkhalia_wiki_tpl`. There is several interesting places. At first there is a logo placed in `images/logo.png` which is replaced by "Arkhalia" logo. Then in `css/basic.lesscan be changed the overall font size used in wiki:+Dokuwiki has new template placed in `/lib/tpl/arkhalia_wiki_tpl`. it is template based on the original vanilla Dokuwiki template. There is several interesting places.  
 + 
 +At first there is a logo placed in `images/logo.png` which is replaced by "Arkhalia" logo. Then in %%css/basic.less%% can be changed the overall font size and font type used in wiki:
  
 <code> <code>
-body {+body {  
     font: normal 92%/1.4 "Inter var", "ui-sans-serif", "system-ui";;     font: normal 92%/1.4 "Inter var", "ui-sans-serif", "system-ui";;
     /* default font size: 100% => 16px; 93.75% => 15px; 87.5% => 14px; 81.25% => 13px; 75% => 12px */     /* default font size: 100% => 16px; 93.75% => 15px; 87.5% => 14px; 81.25% => 13px; 75% => 12px */
Line 16: Line 17:
 </code> </code>
  
-=== The City Guard linter ===+==== The City Guard linter ====
  
 Another interesting place in template is in the `main.php` where the original procedure (not a function, its a procedure): Another interesting place in template is in the `main.php` where the original procedure (not a function, its a procedure):
Line 34: Line 35:
  
  
-=== The Color theme ===+==== The Color theme ====
  
 The colors can still be changed in Admin panel, or can be placed at the botton of the `style.ini` file. You can grab a color setting from different template, like adoradark: The colors can still be changed in Admin panel, or can be placed at the botton of the `style.ini` file. You can grab a color setting from different template, like adoradark:
Line 60: Line 61:
 </code> </code>
  
-And place it at the bottom of the file.+And place it at the bottom of the file. Then you need to click on "Reset to default" in the UI Admin panel in color settings.
  
-=== Do not change the Template due to color setting ===+==== You can set colors in UI ==== 
 + 
 +Or you can modify colors in the Admin panel: 
 + 
 +{{:en:color-settings.png?400|}} 
 + 
 +==== Do not change the Template due to color setting ====
  
 You can instal different template and try it, the Arkhalia tpls will be persistent. However it is very likely that you just want different color settings. If you want better desing overall, then I'm skeptical it can be achieved with Dokuwiki templates. You can instal different template and try it, the Arkhalia tpls will be persistent. However it is very likely that you just want different color settings. If you want better desing overall, then I'm skeptical it can be achieved with Dokuwiki templates.
 +
 +
 +==== The custom link to Arkhalia.pw ====
 +
 +Another interesting place is in %%tpl_header.php%% where you can place custome link to Arkhalia.pw instead of Wiki Home page:
 +
 +<code>
 +            tpl_link(
 +                'https://arkhalia.pw/',
 +                '<img src="' . $logo . '" ' . ($logoSize ? $logoSize[3] : '') . ' alt="" />',
 +                'accesskey="h" title="' . tpl_getLang('home') . ' [h]"'
 +            );
 +</code>
en/aboutwiki.1748150825.txt.gz · Last modified: 2025/05/25 05:27 by juras17