• User Reference
  • ATasteOfTWiki
  • TextFormattingRules
  • TWikiVariables
  • FormattedSearch
  • QuerySearch
  • TWikiDocGraphics
  • TWikiSkinBrowser
  • InstalledPlugins

  • Admin Maintenance
  • Reference Manual
  • AdminToolsCategory
  • InterWikis
  • ManagingWebs
  • TWikiSiteTools
  • TWikiPreferences
  • WebPreferences

Document Links

Installation Guide


cPanel User Guide

WHM User Guide

FAQ

Ruby on Rails and cPanel/WHM

EasyApache [+] EasyApache [-]


  Apache & cPanel/WHM?

  Legacy Documentation


cPanel Game Server (cPGS)

Guide to DNS Cluster Configuration

Developer Resources [+] [-]

PCI Compliance Info

Training Resources

Documentation Home?

feed RSS Feed

STARTSECTION -- marks the start of a section within a topic

  • Section boundaries are defined with %STARTSECTION{}% and %ENDSECTION{}%.
  • Sections may be given a name to help identify them, and/or a type, which changes how they are used.
    • type="section" - the default, used for a generic section, such as a named section used by INCLUDE.
    • type="include" - like %STARTINCLUDE% ... %STOPINCLUDE% except that you can have as many include blocks as you want (%STARTINCLUDE% is restricted to only one).
    • type="templateonly" - start position of text to be removed when a template topic is used. This is used to embed text that you do not want expanded when a new topic based on the template topic is created. See TWikiTemplates for more information.
  • Syntax: %STARTSECTION{"name"}% ................ %ENDSECTION{"name"}%
  • Syntax: %STARTSECTION{type="include"}% ........ %ENDSECTION{type="include"}%
  • Syntax: %STARTSECTION{type="templateonly"}% ... %ENDSECTION{type="templateonly"}%
  • Supported parameters:
    Parameter: Description: Default
    "name" Name of the section. Must be unique inside a topic. Generated name
    type="..." Type of the section; type "section", "include" or "templateonly" "section"
  • ALERT! Note: If a section is not given a name, it will be assigned one. Unnamed sections are assigned names starting with _SECTION0 for the first unnamed section in the topic, _SECTION1 for the second, etc..
  • ALERT! Note: You can define nested sections. It is not recommended to overlap sections, although it is valid in TWiki. Use named sections to make sure that the correct START and ENDs are matched. Section markers are not displayed when a topic is viewed.
  • Related: ENDSECTION, INCLUDE, NOP, STARTINCLUDE, STOPINCLUDE
Topic revision: r2 - 27 Mar 2005 - 13:14:15 - Main.TWikiContributor