Tags:
create new tag
view all tags
#VarTOPICTITLE ---+++ TOPICTITLE -- title of a topic * The topic title is defined by, in order of sequence: * form field named "Title", * topic preference setting named TITLE, * topic name. * Syntax: =%<nop>TOPICTITLE%= or =%<nop>TOPICTITLE{ topic="TopicName" }%= * Supported parameters: | *Parameter:* | *Description:* | *Default:* | | ="..."= or%BR% =topic="..."= | Topic to get the title from. Can be of form =TopicName= or =Web.<nop>TopicName=. | Current topic | | =encode="html"= | Encode special characters into HTML entities. If a TOPICTITLE is passed into an HTML form field it should be encoded as ="html"=. Additional encodings: =encode="quote"=, =encode="moderate"=, =encode="safe"=, =encode="entity"= and =encode="url"=. See [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarENCODE][ENCODE]] for details. | =""= (no encoding) | * Example: =%<nop>TOPICTITLE{Projects.<nop>SushiProject}%= returns =Sushi Project= assuming the topic has a form field named "Title" with value "Sushi Project" * Expands to: =%TOPICTITLE{topic="%INCLUDINGTOPIC%"}%= * Category: SystemInformationVariables * Related: [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarBASETOPIC][BASETOPIC]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarINCLUDINGTOPIC][INCLUDINGTOPIC]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarPARENTTOPIC][PARENTTOPIC]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarTOPIC][TOPIC]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarTOPICLIST][TOPICLIST]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarTOPICURL][TOPICURL]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarWEB][WEB]]
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r2 - 2013-11-23
-
TWikiContributor
Home
Site map
Sandbox web
TWiki web
XPDays2010 web
XPDays2011 web
XPDays2011SponsoringDemo web
XPDays2012 web
TWiki Web
User registration
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
User Reference
ATasteOfTWiki
TextFormattingRules
TWikiVariables
FormattedSearch
QuerySearch
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
InterWikis
ManagingUsers
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Account
Log In
Register User
E
dit
A
ttach
Copyright © 1999-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback
Note:
Please contribute updates to this topic on TWiki.org at
TWiki:TWiki.VarTOPICTITLE
.