Help:Contents: Difference between revisions

Line 186: Line 186:
**<tt><nowiki>{{fullurl:pagename}}</nowiki></tt>: For this page gives: {{fullurl:pagename}}
**<tt><nowiki>{{fullurl:pagename}}</nowiki></tt>: For this page gives: {{fullurl:pagename}}
**'''Controls for TOC:''' Putting <tt><nowiki>__TOC__</nowiki></tt> anywhere forces the TOC (table of contents) to appear at that point (instead of just before the first header). Putting <tt><nowiki>__NOTOC__</nowiki></tt> anywhere forces the TOC to disappear. <tt><nowiki>{{TOCright}}</nowiki></tt> causes the table of contents to float to the Right like on the top of [[#top|this]] page. <tt><nowiki>{{TOCleft}}</nowiki></tt> causes the TOC to float to the left.
**'''Controls for TOC:''' Putting <tt><nowiki>__TOC__</nowiki></tt> anywhere forces the TOC (table of contents) to appear at that point (instead of just before the first header). Putting <tt><nowiki>__NOTOC__</nowiki></tt> anywhere forces the TOC to disappear. <tt><nowiki>{{TOCright}}</nowiki></tt> causes the table of contents to float to the Right like on the top of [[#top|this]] page. <tt><nowiki>{{TOCleft}}</nowiki></tt> causes the TOC to float to the left.
**To '''make a link to the Discussion tab''' of the present page: <tt><nowiki>[[{{NAMESPACE}} Talk:{{PAGENAME}}|Discussion]]</nowiki></tt>. If there's a namespace (such as for this page, Help:), you'll have to use the specific namespace e.g.: <tt><nowiki>[[{{ns:13}}:{{PAGENAME}}|Discussion]]</nowiki></tt>, which for this page produces this link: [[{{ns:13}}:{{PAGENAME}}|Discussion]]. <tt><nowiki>[[Talk:{{PAGENAME}}|talk page]]</nowiki></tt> also works.
**To '''make a link to the Discussion tab''' of the present page: <tt><nowiki>[[{{TALKPAGENAME}}|Article's Talk page]]</nowiki></tt>. If there's a namespace (such as for this page, Help:), you'll have to use the specific namespace e.g.: <tt><nowiki>[[{{ns:13}}:{{PAGENAME}}|Discussion]]</nowiki></tt>, which for this page produces this link: [[{{ns:13}}:{{PAGENAME}}|Discussion]]. <tt><nowiki>[[Talk:{{PAGENAME}}|talk page]]</nowiki></tt> also works.
**To '''make a link to the Edit tab''' of the present page: <tt><nowiki>[{{fullurl:{{PAGENAME}}|action=edit}} Edit this page]</nowiki></tt>. If there's a namespace (for this page, it is "Help:"), then use: <tt><nowiki>[{{fullurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} Edit this page]</nowiki></tt>, which produces for this page: [{{fullurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} Edit this page]
**To '''make a link to the Edit tab''' of the present page: <tt><nowiki>[{{fullurl:{{PAGENAME}}|action=edit}} Edit this page]</nowiki></tt>. If there's a namespace (for this page, it is "Help:"), then use: <tt><nowiki>[{{fullurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} Edit this page]</nowiki></tt>, which produces for this page: [{{fullurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} Edit this page]
**To make a direct link for account creation, use: <tt><nowiki>[{{fullurl:Special:Userlogin|type=signup}} Create an account]</nowiki></tt>. This results in: [{{fullurl:Special:Userlogin|type=signup}} Create an account]
**To make a direct link for account creation, use: <tt><nowiki>[{{fullurl:Special:Userlogin|type=signup}} Create an account]</nowiki></tt>. This results in: [{{fullurl:Special:Userlogin|type=signup}} Create an account]
Autochecked users, Bureaucrats, Editors, oversight, recentchangescleanup, Reviewers, rollback, Administrators
19,746

edits