Talk:Main Page: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
m (→‎Categories: move from main page)
m (→‎Table of contents: add a comment to a comment)
Line 13: Line 13:


If you add <nowiki>__TOC__</nowiki> on an empty line somewhere in the article, then a table of contents will be generated at that point. It does require that there are headings for the sections though. It has the added benefit of you being able to edit just that section of the text without worrying about anything else - [[User:Kim Petersen|Kim Petersen]] ([[User talk:Kim Petersen|talk]]) 22:04, 30 November 2020 (UTC)
If you add <nowiki>__TOC__</nowiki> on an empty line somewhere in the article, then a table of contents will be generated at that point. It does require that there are headings for the sections though. It has the added benefit of you being able to edit just that section of the text without worrying about anything else - [[User:Kim Petersen|Kim Petersen]] ([[User talk:Kim Petersen|talk]]) 22:04, 30 November 2020 (UTC)
:Notice please the way that i've signed my comment - and how i've indented this to show that it is a reply to my previous comment. (and i hope ppl aren't annoyed about these editing commentaries - we can always delete 'em) --[[User:Kim Petersen|Kim Petersen]] ([[User talk:Kim Petersen|talk]]) 22:07, 30 November 2020 (UTC)

Revision as of 23:07, 30 November 2020

Discussion on main page

Very much a work in progress!

Categories

Categories are an excellent way to find articles/pages according to (well) categories. They are easy to do - just add [[Category:Your category]] somewhere on the page/article. And the mediawiki software will automagically create a list with all articles/pages that are tagged this way.

I've added Category:FAQ Question and Category:Consumer Advocacy Organization. - Kim Petersen (talk) 22:05, 30 November 2020 (UTC)

Table of contents

If you add __TOC__ on an empty line somewhere in the article, then a table of contents will be generated at that point. It does require that there are headings for the sections though. It has the added benefit of you being able to edit just that section of the text without worrying about anything else - Kim Petersen (talk) 22:04, 30 November 2020 (UTC)

Notice please the way that i've signed my comment - and how i've indented this to show that it is a reply to my previous comment. (and i hope ppl aren't annoyed about these editing commentaries - we can always delete 'em) --Kim Petersen (talk) 22:07, 30 November 2020 (UTC)