# TWiki Topics
The basic building block of a TWiki site is called a **_topic_**, identified by a unique, hopefully descriptive, [[WikiWord]] title. It may seem easier just to call them pages - but when you've used TWiki for a while, the difference is obvious. In the end, ## Topic Features A TWiki topic is a self-contained information unit rich in features. Each topic has: - a [[WikiWord]] title that lets you: - instantly identify what the topic is about - link to it from other topics just by typing it in - an [[edit link|Main/WebHome#PageBottom]] to a collaboration area where you can: - enter plain text, leaving a blank space between paragraphs like email (all you need) - use simple TWiki shorthand to represent complex HTML and special TWiki tags - include links to other topics, Web sites, images, sound files, or anything else you can put on a regular Web page, using easy shorthand - do all of that within your browswer, with no HTML editor, just simple codes and a handy pop-up quick reference panel - extra [[Web forms|TWiki/TWikiForms]] option: - store database-style info alongside the free-form topic content - use text fields and boxes, radio buttons, pulldown selector menus, checkboxes - create your own forms to tag topics to later search, sort and display - a [[FileAttachment]] feature that lets you: - upload files through your browser to the TWiki server - attach any type of file (documents, images, applications) for viewing online, storage or sharing downloads with others - upload revisions of existing files with automatic backup of all previous versions - [[TWiki Skins|TWiki/TWikiSkins]] to customize the look of headers and footers when topics are converted to Web pages for display: - apply skins across an entire TWiki web, or to a single displayed page - use included skins and easily create new ones - try the **[Printable]** skin below: stripped down headers and footers suitable for clean hard copy - browser-based controls for [[renaming, moving, and deleting|Main/WebHome#RenamingTopics]] topics: - rename a topic and automatically update all of the links to it, site-wide - move a topic from one TWiki web to another - safely delete a topic to a special Trash web (invisible, but recoverable from the Web server if necessary) - flexible [[access control|TWiki/TWikiAccessControl]]: - independently determine who can see, edit, rename, move or delete topics - set permissions by individual users and user groups - RCS revision control to automatically save all topic changes: - efficiently stores every change made to the original version - lets you compare and retrieve changes between any two versions, or review them all - displays any previous version as a regular Web page or as raw topic text - a referred-by search that list all topics that link to a particular topic - hierarchical parent-child topic navigation: - automatically links a new topic as the "child" of the topic it was created from - allows manual assignment of parent topic from a list of all topics in the local web - offers navigation displays, by topic parent, or by related topic - many more features... The configuration of your TWiki site and your personal user account determine which of these features are installed and available to you. ## How to create and edit a topic Making it incredibly easy for you to add and edit information on existing topics, create new topics, and link all TWiki topics, is a TWiki main function. - **To modify a topic**, click the **Edit** link at the left of the toolbar at the bottom of every page. An editing window appears. Type away. Use the [[GoodStyle]] and [[TextFormattingRules]] links to get pop-up window help. - Click **Preview Changes** to see how your edit looks. - Click **Save Changes** to save. - **To add a new topic**, the simplest way is to type a new [[WikiName]] on an existing topic, while you're in edit mode. When the topic is saved, the new name will appear highlighted, with a **?** at the end: click the **?** and a new edit window appears. Enter, preview and save as usual. The new topic now exists. - Go back to the topic where you started, and you'll see the **?** has disappeared, and your [[WikiWord]] name is now a regular link. Type it anywhere on any topic in that web, and it will be turned into a link. - %H% **One little links rule: each topic, and its [[WikiWord]] link, belong to one unique web only.** To link _between_ webs, you must first enter the topic's web name.
**_Example:_** This is [[TWikiTopic]], in the **TWiki** web, so that's all you need to type on any topic in this web. But to link to [[TWikiTopics]] from a topic in the **Main** web, you have to type **TWiki.TWikiTopics** - **Webname.TopicName**. It's easy. ## How to attach files and use other features The color-coded toolbar at the bottom of every topic displays a series of links, including: - **[Attach]** - pops a new screen for [[FileAttachments]] - **[Ref-By]** - displays all the TWiki topics with links to the topic you're on - **[Diffs]** - generates a page showing every change made to the topic you're on, with names, dates, and changes made - **r1.3 | > | r1.2** _(ex)_ - some specific previous version stuff that you can check out on your own - **[More]** - opens up a whole new screen of additional controls It looks like a lot - it is a lot, and there's more. BUT, it's all simple, flexible, and optional - the only way to confuse yourself or your site set-up and users is by using features you really don't need. Unlike the usual expensive, complex collaboration and project management packages, TWiki is fully functional and effective just by typing in text and making [[WikiWord]] links. All the rest is there only if you need it! - Most controls are **self-explanatory**, and also include instructions and help links. - **Experiment**. You can always **Cancel** or go Back whenever you like. - Get **in-depth info** from the [[complete documentation|TWiki/WebHome]], including the User's Guide and Configuration Manual and TWiki Reference. ## How to rename, move or delete a topic You can now rename, move and delete individual topics from your browser. All three options are available by clicking **More** on the control strip at the bottom of every page. The access settings for a topic, web or entire site may be disabled for one or more of the three options, depending on your site set-up and personal permissions. In any case, all three are similar and extremely easy to use. 1. Go to the top you want to change, click **More > Rename/move** 2. **To move or delete:** select the target web (**Trash** to delete)from the pull-down menu (otherwise, leave on the current web) 3. **To rename:** fill in a new [[WikiName]] (otherwise, leave the current topic name) 4. **To update links:** From the list of topics that show links to the topic you're changing, uncheck each entry you DON'T want to update - only checked links will be updated; 5. Click **Rename/move**: the topic is renamed and/or moved, and the checked links to the topic are updated. - Any problems are listed - take note, and you can fix them later. - If a linked topic can't be updated (it may be locked because someone's editing it), an alert will appear. You can update missed topics later by again pressing **Rename/move**. %H% Deleting means moving a topic to the Trash web. Since all webs share the one Trash, name conflicts may come up. See: [[ManagingTopics|Main/TWikiDocumentation#Managing_Topics]] for more details. -- [[MikeMannix]] - 12 May 2002