Resource icon

XenCarta FAQ


Well-known member


Well-known member
Changing the Wiki sidebar width
The default wiki sidebar is 250 pixels wide.

To change this to 200px wide, while not affecting the sidebar on your forum, add the following code to your EWRcarta.css template
.sidebar {width: 200px;}
.mainContainer .mainContent {margin-right: 210px;}
.formPopup .textCtrl, .formPopup .button {width: 182px;}
.formPopup .controlsWrapper .textCtrl {width: 172px;}
.formPopup {width: 200px;}

To change this to 450px wide, while not affecting the sidebar on your forum, add the following code to your EWRcarta.css template
.sidebar {width: 450px;}
.mainContainer {margin-right: -460px;}
.mainContent {margin-right: 460px;}


Well-known member
Fix for (top) and (hide)

The current version of XenCarta shows (top) and (hide) on all heading tags, however these are not working correctly. The following CSS change to XENcarta.css will remove these links from view.

.wikiPage .wikiContent .toggle { margin-left: 5px; text-decoration: none; font-size: 10px; display: [B]inline[/B][B]-block[/B]; }
 .wikiPage .wikiContent .toggle { margin-left: 5px; text-decoration: none; font-size: 10px; display: [B]none[/B]; }


Well-known member
Sortable Tables HTML

XenCarta supports sortable tables, the following wiki code when added into an HTML article will be sortable.

<table class="sortable">
<tr><th>Name</th><th>Wallaby No</th><th>Captain No</th><th>Caps</th><th>Years</th><th>Position</th></tr>
<tr><td>Frank Row</td><td>11</td><td>1</td><td>3</td><td>1899</td><td>Centre</td></tr>
<tr><td>Bob McCowan</td><td>9</td><td>2</td><td>3</td><td>1899</td><td>Fullback</td></tr>
<tr><td>Stan Wickham</td><td>44</td><td>3</td><td>5</td><td>1903-1905</td><td>Centre</td></tr>
<tr><td>Frank Nicholson</td><td>41</td><td>4</td><td>2</td><td>1903-1904</td><td>Prop</td></tr>


Well-known member
Templates 101

The template system in XenCarta can be used to allow users to create great looking content without the need to know HTML, and without compromising your site's security by granting them HTML permissions.

To add a template, click on 'Administrate Wiki', then 'Create New Template'. Enter your HTML code, then click Save.

If you edit an existing Template, you will need to click 'Empty Page Cache' to see your changes in the wiki.


Well-known member
Template Variables - "Hello World" Example

Templates allow you to render straight HTML, but the real power comes when you pass multiple variables from a wiki article to the template.

The example template called "hello-world-template" below has two variables which are called var1 and var2. This template simply outputs your two variables, and shows the second variable in bold.

For this example to work, you would first need to create a template
Template Name: hello-world-template
Template Code:
{{{var1}}} <strong>{{{var2}}}</strong>
Note that when you reference variables in your template, you need to put three curly brackets around them.

To call this template in a wiki article, you would type the following.
[template=hello-world-template]var1 = Hello | var2 = World[/template]
The output of the above template would be
Hello World


Well-known member
Template Gotchas

Template variables are case sensitive, calling the above example with the following code would not work!
[template=hello-world-template]VAR1 = Hello | var2 = World[/template]


Well-known member
Using "Wiki-Like [h#]head[/h#] replacement BB code"

When you are writing a BBCode Wiki page, if you have a heading that you would like to show in the table of contents for the page, use the following BBCode

[h2]Main Heading[/h2]
This is a paragraph of plain text under a major heading
[h3]Sub Heading[/h3]
This is a paragraph of plain text under a sub heading
[h4]Minor Heading[/h4]
This is a paragraph of plain text under a minor heading
Note: h4 and lower do not show on the Table of Contents

TOC Example.PNG

Adam Howard

Well-known member
None of the links in your 1st post seem to work

XenForo Community - Error
The requested thread could not be found.


Well-known member
Is this possible: In a regular forum post keywords can be linked to a wiki entry, automatically? For those of us with repeated words that may need a FAQ attached to them.


Can you hide the Wiki while adding content, and only make it viewable to members and guests once you feel you have enough content ?

Does this automatically links words in posts to Wiki ?


Well-known member
Is there a way to hide template code unless it is needed?

For example, one wiki may need 10 variables, another may need 15 variables, but another may need 20 variables. Instead of creating templates with variables ranging from 10-20(or 50 for that matter), is there a way to make part of the template not show unless the variable has a value?

I'm not coding expert, but in php one can use the "if !empty echo".