2. If the page contains the [[sidebar|ikiwiki/directive/sidebar]] directive with no `content` argument, the first rule for the considered template variable is applied, disregarding the pagespec.
3. If none of the above, the first rule having its pagespec patching the current page is applied.
4. If none of the above, the variable is left empty.
2. If the page contains the [[sidebar|ikiwiki/directive/sidebar]] directive with no `content` argument, the first rule for the considered template variable is applied, disregarding the pagespec.
3. If none of the above, the first rule having its pagespec patching the current page is applied.
4. If none of the above, the variable is left empty.