Template:Topic/doc

From BlackTalon Wiki
< Template:Topic
Revision as of 19:25, 23 February 2022 by Void (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This template uses your wiki's SITENAME and strips off the word "wiki" leaving what is in most cases the text describing the topic of your wiki. To use this template in its basic form, simply add the {{{{#if:|{{{prefix}}}:}}Topic{{#if:||<{{{2}}}>}}{{#if:||<{{{3}}}>}}{{#if:||<{{{4}}}>}}{{#if:||<{{{5}}}>}}{{#if:||<{{{6}}}>}}{{#if:||<{{{7}}}>}}{{#if:||<{{{8}}}>}}{{#if:||<{{{9}}}>}}{{#if:||<{{{10}}}>}}{{#if:||<{{{11}}}>}}{{#if:||<{{{12}}}>}}{{#if:||<{{{13}}}>}}{{#if:||<{{{14}}}>}}{{#if:||<{{{15}}}>}}{{#if:||<{{{16}}}>}}{{#if:||<{{{17}}}>}}{{#if:||<{{{18}}}>}}{{#if:||<{{{19}}}>}}{{#if:||<{{{20}}}>}}{{#if:||<{{{21}}}>}}}} template wherever you want your topic to appear in a sentence or section.

If your wiki's SITENAME minus the word "wiki" is not a good descriptor for your wiki's topic, you may also simply edit the template and replace it with just the text you want displayed.

Syntax

{{Topic}}

Sample output

{{#sub:{{#replace:BlackTalon Wiki| Wiki}}|-{{#len:{{#replace:BlackTalon Wiki| Wiki}}}}-1}}

[[Categoria:Documentações de predefinições]|Topic/doc]]