TNGwiki New Page

From TNG Wiki
Jump to: navigation, search

There are a several ways you can create a new page/article, such as

  • over typing the part of URL link that follows the title= in the browser URL window
  • add an Internal Link in an existing wiki article for the related new article
  • using the search box

Over type URL

Over type portion of URL

Using Internal link

WikiEditor Toolbar

  • While viewing an article... click on the edit tab
  • Type in the title you want for your new article
  • enclose it it in "[[ ]]" double brackets
  • Or highlight the text with your mouse and click on the internal link icon Insert-link.png ... it then supplies the double bracket on either side of your highlighted text
  • or simply click the Link icon and create and internal link as shown below

To create a link either internal or external, click the link button

A modal dialog box will be launched where you can enter an Internal Page link or create a link to an External web site.

Internal Page Link

The default is to create an internal page link, where you would enter the title of an existing page or the title of a new page.

Notice that as you type, the software will search for existing page names

Insert internal page link

External URL Link

You need to select the External link radio button, since by default the internal link is selected.

You would then enter the URL for an existing web site page. When creating an external link, you should enter the Text to Display for the link.

Notice that for external links, you will receive a reCaptcha challenge.

Insert external page link

Old Editor Toolbar

You can click on the [Expand] link on the right to view the old editor toolbar or [Collqpse] to hide it again.
20080724222520link.jpg
  • While viewing an article... click on the edit tab
  • Type in the title you want for your new article
  • enclose it it in "[[ ]]" double brackets
  • Or highlight the text with your mouse and click on the internal link icon 20080724222240internalLink.jpg ... it then supplies the double bracket on either side of your highlighted text

Search box method

In the search dialog box on the upper right hand side of the page ...

  • Type in the article title in the search field
  • "Your New Article"Or whatever the article name will be
  • When the search does not result in an article with that title...
  • ... you are given the opportunity to "create this page"
  • Note: this is also a good method for discovering if someone else has a similar article title
Create Page from search results

Inserting an article link

  • You can add a link to any existing page by enclosing the article name in a double bracket
for example » [[ new page name]]
  • Note: The article name could be just about anything ... and yet the link can display any text you wish

i.e.

Insert article link

On the main page there is a link

  • "For Discussion and comments of Primary Categories; Divisions and Purposes"
    • The actual article is named "20080716015046"
    • By inserting the "pipe" after the article title you can have any text displayed for the link

20080724230713.jpg

Category link rename

  • Select an existing category in the left nav area, for example

TNG modifications


  • Select an existing page, such as for example

Living Flag Mod

Change the URL in the URL address to the page you want to create, for example

http://tng.lythgoes.net/wiki/index.php?title=Short_Title_Mod

and then hit Enter

That will return a screen that says "There is currently no text in this page....and on the right of the message there is a link for edit this page.

If you click that link you then get an input page where you can paste the content of your new page.

"nowiki" versus "pre"

Note that code sections should be preceded by a '<pre>' and followed by an '</ pre >' 
(note blanks added for display purposes) so the lines do not get formatted.

The < nowiki > </ nowiki > is supposed to accomplish the same thing, but I have never been able 
to get that to work.
  • Both methods seem to work ...and the "pre" method is fewer keystrokes! The pre method will also put the code inside a box, where you may need to add a line feed (Enter) key at the end of the displayed line to get the code to display with 80 columns.

Note

"nowiki" explained
  • The "nowiki" should work ... but you can not have spaces as the arrows indicate

Copying another articles format

You can also edit the Living Flag Mod for example and select all the text and copy it, and then paste it in your new page and then replace the pertinent portions.

Assigning a category

When you are satisfied with the display of your page, you can add the category at the end of the page, for example

[[Category:Mods]] for TNG Mods
[[Category:Administrator]] for the TNG Administration Guide
[[Category:Registered Users]] for the TNG User Guide
  • It may not always be necessary to assign an article to a category
  • You can also assign an article to multiple categories
  • Copy/paste just the black text ... not the green

TNG Guides

[[Category:Getting Started]] = TNG Getting Started Guide
[[Category:Administrator]] = TNG Admin Guide
[[Category:Programmer]] = TNG Programmer's Guide
[[Category:Registered Users]] = TNG User Guide
[[Category:Visitors]] = TNG Visitor's Guide
[[Category:Reports]] = TNG Reports
[[Category:Mods]] = TNG modifications
[[Category:Wanted]] = Miscellaneous

Other Categories

[[Category:Hardware]] = Hardware
[[Category:Software]] = Software
[[Category:Web_Services]] = Web Services
[[Category:Tutorials]] = Tutorials
[[Category:Tips_and_Tricks]] = Tips and Tricks
[[Category:FAQ]] = FAQ
[[Category:GLOSSARY]] = GLOSSARY

CategoryTree subcategories

The following categories were setup to take advantage of the CategoryTree Extension which creates subcategories with expandable and contractible lists in the TNG Guides as well as display the articles under categories in the sidebar, which might provide an easier way to find some of the information.

[[Category:Manual]] = CategoryTree categories in Sidebar
[[Category:Media]] = Media subcategory in TNG Admin Guide and in Sidebar
[[Category:Setup]] = Setup subcategory in TNG Admin Guide and in Sidebar
[[Category:Templates]] = Templates subcategory in TNG Admin Guide and in Sidebar
[[Category:GoogleMaps]] = GoogleMaps subcategory in TNG Admin Guide and in Sidebar
[[Category:Charset]] = Charset subcategory in TNG Admin Guide and in Sidebar
[[Category:How TNG Works]] = Understanding subcategory in TNG Programming Guide and in Sidebar
[[Category:TNG Wiki How To]] = TNG Wiki How To subcategory in miscellaneous and in Sidebar

Conclusion

Hope that helps you and others who would like to document their mods or other procedures to the TNG Wiki.

Let me know if anything else is not clear. For example if you select the text you want to bold and then click the B in the toolbar on the edit page, it will put the Wiki code to bold that text. <b> and </b> also appears to work.

See also the following MediaWiki article

Related Links