Difference between pages "Help:AutoTables" and "Category:Areas"

From 3kWiki
(Difference between pages)
Jump to navigation Jump to search
imported>Spellbound
 
imported>Shadowspawn
 
Line 1: Line 1:
=How to Add pages to an automatically generated table=
+
This is the area's category.
  
So you've looked at a page like [[Smithing]], and found a moulding that needs to be added.
+
3k has lots, and lots of areas -- this list is (nearly always) incomplete. PLEASE UPDATE!
You tried to edit the page and just saw:
 
  
<tt><pre><nowiki>
+
Use one of these tags to mark a page as an area category:
 +
  <nowiki>[[Category:Chaos areas]]</nowiki>
 +
  <nowiki>[[Category:Fantasy areas]]</nowiki>
 +
  <nowiki>[[Category:Science areas]]</nowiki>
 +
  <nowiki>[[Category:Pinnacle areas]] </nowiki>
 +
  <nowiki>[[Category:Newbieland areas]]</nowiki>
  
<dpl>
+
These tags directly correspond to the Realm in which the area is found.
  uses = Template:Mould
 
  notcategory= Minor Gems
 
  notcategory= Standard Gems
 
  notcategory= Major Gems
 
  include = {Mould}:Min, {Mould}.ptbl, {Mould}:Triv:Bars:Jewels:Frags
 
  table = class=sortable border = 5 id=0,-,Minimum,Name,Trivial,Bars,Jewels,Fragments
 
  tablesortcol=1
 
</dpl>
 
</nowiki></pre></tt>
 
  
==Making a New Page==
+
See [[Help:Authoring]] for instructions on how to write a new page.
  
It's actually really easy.  
+
Some areas in chaos wander, here's a list: [[Wandering chaos areas]].
  
The easiest way it to just type in an unused address into your webbrowser. ''http://3kwiki.info/wiki/index.php/Whatever You Want''
+
Perhaps you'd like to browse the [[List of Areas]] which we have information about.
 
 
Or type the article name on the box on the main page of the wiki.
 
 
 
==Using a Template==
 
 
 
Templates do most of the work for you. You'll see on each moulding page a little table at the top with stats. That table, and all those stats, are done by using a template. The Autotable generator looks for all pages that use that template, and there ya go...
 
 
 
For an example, let's use the 1-handed Silver Sword page...
 
<tt><pre><nowiki>
 
{{Mould
 
|Type= 1-Handed Silver Sword
 
|Min= 35
 
|Triv= 39
 
|Frags=
 
1 [[Fragment of Knowledge]]
 
 
 
1 [[:category:Minor Gems|minor gem]]
 
|Bars=
 
3 silver bar
 
 
 
|Jewels=
 
1 beryl dust
 
 
 
1 steel shards
 
 
 
}}
 
[[category:Weapons]]
 
</nowiki></pre></tt>
 
 
 
A template in Wikicode is <code><nowiki>{{TemplateName }}</nowiki></code>; A template name inside a pair of braces (curly brackets).  Parameters in the template are preceded with a '''|'''.  
 
* <nowiki>{{Mould |Type= Sword Name}} </nowiki>
 
 
 
Linking to other pages are done by simply putting the page name in '''<nowiki> [[ ]]</nowiki>''' square brackets.
 
This is how we build the lists of "what uses this fragment" on their pages; by making a list of what links to that page, so please link the fragments.
 
* <nowiki>1 [[Fragment of Knowledge]]</nowiki>
 
 
 
Information on a wiki is only as good as how easy it is to find, so please add a category tag to the article. <code><nowiki>[[category: ]]</nowiki></code>. The Mould template in our example already includes a category:Moulds tag in it, so half the work's done for you. The C in category isn't case sensitive, but the Category name, after the :, is Case sensitive.
 
* <nowiki>[[Category:Weapons]]</nowiki>
 
 
 
Links '''[[ ]]''' also change the displayed text for a page, [[Smithing]], [[Smithing | blacksmithing]], [[Smithing|making stuff]] all go to the same page. The | inside of a '''[[ ]]''' tag separates the Destination from the display.
 
If you actually want to link to a category page, put a : before category in the tag.
 
* <nowiki>1 [[:category:Minor Gems | minor gem]]</nowiki>
 
 
 
The 2 lines between beryl dust and steel shards is to ensure that they're on separate lines in our table. Without a blank line, the 2nd and 3rd jewel ends up on the same line. I preferred to put a blank line bewteen the 1st and 2nd so it's consistent.
 
 
 
Knowing what parameters a template expects is easily figured out. Check out an existing page that uses the template, and edit it. At the bottom of the page you'll see each template listed, you can click the link to see the templates page, where you can look at the source if need be, or most likely, any template you are likely to ues will have usage information on that page.
 

Revision as of 11:33, 5 April 2009

This is the area's category.

3k has lots, and lots of areas -- this list is (nearly always) incomplete. PLEASE UPDATE!

Use one of these tags to mark a page as an area category:

 [[Category:Chaos areas]]
 [[Category:Fantasy areas]] 
 [[Category:Science areas]] 
 [[Category:Pinnacle areas]] 
 [[Category:Newbieland areas]]

These tags directly correspond to the Realm in which the area is found.

See Help:Authoring for instructions on how to write a new page.

Some areas in chaos wander, here's a list: Wandering chaos areas.

Perhaps you'd like to browse the List of Areas which we have information about.