Template:Intitle

From Terraria Wiki
Jump to navigation Jump to search
This template is i18n-ready, which means it is easy to localize for different languages. Please see I18n & l10n for templates to learn more.
See Template:Intitle/l10n for the localization of this template.
Important.svg

CAUTION: Terraria Wiki code is complex!!!

If you want to use this code on another wiki, wiki.gg staff are not able to assist you.
Please consider picking a different wiki to adapt code from, or making your own templates!
Remember that content on a wiki is more important than fancy formatting.

Template-info.svg Documentation The documentation below is transcluded from Template:Intitle/doc. (edit | history)

Displays a list of all pages containing a given text that is not part of another word.

Usage

{{ intitle | <search text> | titleregexp =<title regular expression> | ns = <all|namespace> | redirects = <include|exclude|only> | subpages = 0/1 }}

ParameterDescriptionTypeStatus
Search text1
The term the page titles must contain.
Auto value:
{{PAGENAME}}
String
optional
Title regextitleregexp
Custom regular expression the page titles must contain, for specific languages (such as Russian)
Auto value:
{{l10n|intitle|titleregexp}}
String
optional
Namespacens
List of namespaces to be restricted to. Use all for all namespaces. Leave empty for main space only.
Auto value:
null
String
optional
Redirectsredirects
If the list should include, exclude, or only have redirects. Possible options: include, exclude, only
Auto value:
include
String
optional
Subpagessubpages
If subpages should be included or not.
Auto value:
False (0)
Boolean
optional

Example

{{intitle|Copper}} on any page or {{intitle}} on page titled Copper: