Help:Adding Networks

From IRC Wiki
Revision as of 23:25, 4 April 2011 by Trixarian (talk | contribs)
Jump to navigation Jump to search

This page will demonstrate how to add your network to IRC-Wiki.

Creating my page

Creating the page is really easy, just type into your browser http://www.irc-wiki.org/ followed by your networks address. For this guides purposes, we will pretend my network is called Net22.

So I would type the following into my browser

 http://www.irc-wiki.org/Net22

Then a blank wiki page will load: Netadd1.JPG Click the create tab (the one that is circled) and then you're blank network page will be created.


First thing to add to my page

The first thing you should add to your network is the network template. You do this by copying and pasting the following onto the top of your page, then editing it accordingly, for example replace net22s website link with your own, and so on:

{{Network
| logo = [[File:mylogo.jpg‎|left|150px]]
| rank = {{#widget:SIRC_Rank|network=Net22}}
| owners = [[User:Bertrum|Bertrum]]
| website = http://net22.com
| network_address = irc.net22.com
| ports = 6667-6670,7000,6697([[SSL]])
| email = staff@net22.com
| ircd = InspIRCd
| services = Atheme
}}

In the template, you will notice the word rank, followed by a widget, this adds a SearchIRC rank widget to your networks page. An example of one of these is: #REDIRECT [[Widget:IRC Rank]] You don't have to use this, but we think it's pretty cool :P

If your network isn't indexed by SearchIRC then you should visit http://searchirc.com and sign up!

What comes next?

The second thing you should do, is add a small about us section to the page, just be brief and give a few examples of the features your network offers.

Example:

=Net22 IRC Network=
==About us==
Net22 is a small network, averaging 100+ users, we have 60 registered channels, 4 servers, and 5 ircops!

We have all the standard IRC games, such as Uno, Hangman and trivia and we have Minecraft too! We also run our own quotes database, visit out website for more information! 

What other widgets can I add to my page?

SearchIRC Graph

To add the SearchIRC graph to your page, you would add the following widget:

{{SIRC_Box
| netid = 5925
| network = gigirc
}}

You just have to replace GigIRC with your networks name.

You also have to add your networks ID, to get this, visit your networks page on SearchIRC, for example http://searchirc.com/network/ParadoxIRC Right click the graph, and click "copy image url" Paste the copied url into a text editor. It will look something like:

http://searchirc.com/graphs/img.php?n=6263&ts=2&t=7&d=graphs

In that url, you will notice "n=6236", the 4 digits is your networks ID.

The output of this widget is:

Error in widget SIRC_Stats: Unable to load template 'wiki:SIRC_Stats'
Top 5 Channels
Error in widget SIRC_Graph: Unable to load template 'wiki:SIRC_Graph'
Error in widget SIRC_Top5: Unable to load template 'wiki:SIRC_Top5'
Statistics provided by SearchIRC.com


If you prefer not to use the whole SearchIRC Graph box, then it is possible to use of the widgets used in it separately as follows:

'Basic Stats:

{{#widget:SIRC_Stats|network=gigirc}}
Error in widget SIRC_Stats: Unable to load template 'wiki:SIRC_Stats'

Top 5 Channels:

{{#widget:SIRC_Top5|network=gigirc}}
Error in widget SIRC_Top5: Unable to load template 'wiki:SIRC_Top5'

Generated Graph

{{#widget:SIRC_Graph|netid=5925}

{{#widget:SIRC_Graph|netid=5925}

NOTE: All network variables in the above widgets is MUST be all lowercase and will NOT work any other way.

SearchIRC Channel list

You can add your networks full channel list to the page, providing you are registered with SearchIRC.

To do this you would add the following widget to your page:

{{#widget:SIRC_Chanlist|network=GigIRC}}

Just change GigIRC to your networks name.

The output of this would be:

Error in widget SIRC_Chanlist: Unable to load template 'wiki:SIRC_Chanlist'

Twitter Feed

You can add a twitter feed to your page, you do this by adding the following widget to your page:

{{#widget:Twitter|user=ParadoxIRC|width=auto}}

The network used in the example is ParadoxIRC, the output of the ParadoxIRC twitter feed, and all other twitter feeds would be:

Few things to Note