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 16:14] juras17en:aboutwiki [2025/06/06 10:10] (current) juras17
Line 1: Line 1:
-====== Technical informations ======+====== How to Modify the Template ======
  
 This page contains technical information about wikipedia. This page contains technical information about wikipedia.
Line 5: Line 5:
 ===== The Custom Arkhalia template ===== ===== The Custom Arkhalia template =====
  
-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+Dokuwiki has new template placed in ''/lib/tpl/arkhalia_wiki_tpl''It is template based on the original vanilla Dokuwiki template. 
  
-At first there is a logo placed in `images/logo.pngwhich is replaced by "Arkhalia" logo. Then in %%css/basic.less%% can be changed the overall font size and font type used in wiki:+There exists several interesting places. 
 + 
 +==== Page logo change ==== 
 + 
 +There is a logo placed in ''images/logo.png'' which is replaced by the "Arkhalia" logo. 
 + 
 +==== Font change ==== 
 + 
 +In ''css/basic.less'' there can be changed the overall font size and font type used in wiki:
  
 <code> <code>
Line 19: Line 27:
 ==== The City Guard linter ==== ==== The City Guard linter ====
  
-Another interesting place in template is in the `main.phpwhere the original procedure (not a function, its a procedure):+Another interesting place in template is in the ''main.php'' where the original **article content rendering** procedure (not a function, it'a procedure :-) ):
  
 <code> <code>
Line 37: Line 45:
 ==== 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.inifile. 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, a just place it at the bottom of the file:
  
 <code> <code>
Line 61: Line 69:
 </code> </code>
  
-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.+It will be then set as the Wiki default color setup and therefore you need to click on "Reset to default" in the UI Admin panel in color settings if you want changes to apply. 
  
 ==== You can set colors in UI ==== ==== You can set colors in UI ====
Line 71: Line 80:
 ==== Do not change the Template due to color setting ==== ==== 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, HOWEVER, I have tried lot of them (@jurass17) and their quality is quite low and gross. (As it is often seen in some open source community driven content)  
 + 
 +If you install different template, the Arkhalia template will be still there and you can return back to it. However take a note tak Akrhalia City Guard is binded to Arkhalia template. 
 + 
 +It is very likely that you just want different color settings. If you want better design overall, then I'm skeptical it can be achieved with Dokuwiki templates.
  
  
 ==== The custom link to Arkhalia.pw ==== ==== 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:+Another interesting place is in ''tpl_header.php'' where you can place custome link to Arkhalia.pw instead of Wiki Home page:
  
 <code> <code>
Line 84: Line 97:
                 'accesskey="h" title="' . tpl_getLang('home') . ' [h]"'                 'accesskey="h" title="' . tpl_getLang('home') . ' [h]"'
             );             );
 +</code>
 +
 +
 +==== Logo size ====
 +
 +Another interesting place is in ''css/design.less'' where one can override size of the logo:
 +
 +<code>
 +#dokuwiki__header {
 +
 +...
 +
 +        img {
 +            float: left;
 +            margin-right: .5em;
 +            height: 70px;
 +            width: auto;
 +        }
 +
 </code> </code>
en/aboutwiki.1748189642.txt.gz · Last modified: 2025/05/25 16:14 by juras17