Template:Topic/doc

Template page
Revision as of 21:36, 29 April 2024 by Tursicat (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:United Furry Wrestling| Wiki}}|-{{#len:{{#replace:United Furry Wrestling| Wiki}}}}-1}}