Author Topic: I am working on a page and need help!  (Read 3025 times)

aafs

  • Underling
  • *
  • Posts: 1
I am working on a page and need help!
« on: August 18, 2012, 03:04:06 PM »
I am not finished with all the story but I am trying to make it look nice here. Is there a template I could go off of? Is there any codes?
Sorry I have lots of questions. I very much enjoy Nephila's page http://ouroportal.com/wiki/Nephila_%28Guardian%29
How do I make a contents?
Also how do I make the sidebar on the left of Nephila's page?

Thank you for everything!

eabrace

  • Titan Moderator
  • Elite Boss
  • *****
  • Posts: 4,242
Re: I am working on a page and need help!
« Reply #1 on: August 18, 2012, 06:20:09 PM »
Your Table of Contents should automatically appear at the top of your page once you have a minimum number of sections (I think it's three, if I remember correctly.)  However, you can also force the table to appear or move the location in which it will appear by embedding the __TOC__ code wherever you want to place the table.

I'm not quite sure if that's what you were trying to get when you mention "the sidebar" or not.
Titan Twitter broadcasting at 5.000 mWh and growing.
Titan Facebook

Paragon Wiki admin
I was once being interviewed by Barbara Walters...In between two of the segments she asked me..."But what would you do if the doctor gave you only six months to live?" I said, "Type faster." - Isaac Asimov

Thirty-Seven

  • Elite Boss
  • *****
  • Posts: 623
  • Keeper of the Sacred Number
Re: I am working on a page and need help!
« Reply #2 on: August 19, 2012, 03:58:15 AM »
In order for the TOC to appear, you have to have sections on your page, and currently, your Ouro page doesn't have any.

Sections are marked out by using equal signs on either side of the title.  For instance, if you want a section called "The story so far..." it would look like this in wiki markup (the code used on a wiki):

== The story so far... ==

That is a Level 2 heading (or section) and if you wanted to create a sub-section of that, you would use 3 qual signs:

=== And then this happened ===

And a sub-section of that would have 4, etc.  Having multiple heading levels, and subsections will create a TOC with different levels and links to the various sections.

(NOTE: Do not use just 1 equal sign, that is a level 1 heading and should only be used as the article title.  It should never be used in the body of an article.)

As eabrace said, in order for the TOC to automagically appear, you will need to have at least 3 sections like that on your page.  Otherwise, you can force it to appear by putting __TOC__ at the top of the page... or, if you want to put it on one side or another you can use {{TOCright}} or {{TOCleft}} which are templates created so that the TOC can be moved around.

Take a look at some of the templates that are created on the Ouro for character pages: http://ouroportal.com/wiki/Category:Character_templates

Also, with regard to Nephila's side-bar (on the right)?  It is a pretty custom job that he made based on one of the templates I just linked to above.  If you want to see how anything on a wiki is done, you can click [Edit] at the top and take a look to see what code is in use.

Hopefully that helped you!  Also, feel free to look at some of the pages I have created for my characters as well, and my UserPage if you like: http://ouroportal.com/wiki/User:Thirty7
« Last Edit: August 19, 2012, 04:12:54 AM by Thirty7 »

 
https://www.cohtitan.com/forum/index.php?topic=4867.0
www.cohtitan.com
crawl=CC-MAIN-2020-34
24145
application/http; msgtype=response
sha1:WIYLUG77DLWTPUKX6SFNCWGGQOIZOKXS
<urn:uuid:580824c6-4edf-4472-ae35-e701ae4ab9b3>
2020-08-09T23:21:11Z
23.92.20.216
application/xhtml+xml
sha1:QFZ5X66VJJNKODDRLI5YMF25K52GTDGX
<urn:uuid:82d6fee3-6bf3-4de7-bae9-4b7affc88dc1>
https://www.cohtitan.com/forum/index.php?topic=4867.0
response
<urn:uuid:0cc4e489-fb83-4d3e-93f7-9e8887e146df>
isPartOf: CC-MAIN-2020-34
publisher: Common Crawl
description: Wide crawl of the web for August 2020
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-22.ec2.internal
software: Apache Nutch 1.17 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.2-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/