Difference: VarTOPICTITLE (1 vs. 2)

Revision 22013-11-23 - TWikiContributor

Line: 1 to 1
 
META TOPICPARENT name="TWikiVariables"

TOPICTITLE -- title of a topic

Line: 9 to 9
 
Changed:
<
<
topic="..." Topic to get the title from. May be of form Web.TopicName Current topic
>
>
"..." or
topic="..."
Topic to get the title from. Can be of form TopicName or Web.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 ENCODE for details. "" (no encoding)
Changed:
<
<
  • Example: %TOPICTITLE{topic="Projects.SushiProject"}% returns Sushi Project assuming the topic has a form field named "Title" with value "Sushi Project"
>
>
  • Example: %TOPICTITLE{Projects.SushiProject}% returns Sushi Project assuming the topic has a form field named "Title" with value "Sushi Project"
 

Revision 12012-11-15 - TWikiContributor

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="TWikiVariables"

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: %TOPICTITLE% or %TOPICTITLE{ topic="TopicName" }%
  • Supported parameters:
    Parameter: Description: Default:
    topic="..." Topic to get the title from. May be of form Web.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 ENCODE for details. "" (no encoding)
  • Example: %TOPICTITLE{topic="Projects.SushiProject"}% returns Sushi Project assuming the topic has a form field named "Title" with value "Sushi Project"
  • Expands to: VarTOPICTITLE
  • Category: SystemInformationVariables
  • Related: BASETOPIC, INCLUDINGTOPIC, PARENTTOPIC, TOPIC, TOPICLIST, TOPICURL, WEB
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2024 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.