Portal Help

From OMGWiki

Jump to: navigation, search
This page is Under Construction. Please bear with us and let the author finish before editing! Thank you.

So, you want to edit and/or create a Portal page? Well, you've come to the right place. Remember that anything contained in the code between the two dashes, "<!-- blah blah blah -->", are comments.

Let's get started. We'll begin with creating a Portal. We're using The Hell Portal as the global example.




[edit] Step 1 - Creating a Portal Page

Navigate to the Community Portal and click on the "Post your info here" link. Once there, click on the Edit tab if it's not already selected. Then, add your new Portal name, like "[[Portals:Name | Name]] Portal" (no space between the vertical bar, the spaces are just there for you to know what that was) .

====[[OMGWiki:Portals|Portals]] and Groups==== 
<!--Please put the newest entry at the top of the list. Don't leave empty.-->

* [[Portals:Heaven|Heaven]] Portal (''Now fully functional!'')
* [[Portals:Hell|Hell]] Portal (''Under Construction'')
* Earth/Human Portal
* OMGValkyrie Watchdogs
 

[edit] Step 2 - Setting up a Skeleton

Click on your Portal page you just created, Edit, and add this code block. DON'T SAVE YET. Replace "Hell" everywhere with the name of your Portal, then SAVE.

{{Browsebar}}
{| width="100%" cellpadding="5" cellspacing="10" style="background:#98122B; border-style:ridge; border-width:2px; border-color: #20B2AA"
| valign="top" style="padding: 0; margin:0;" |
{{Template:Box-header/Hell|<big>The Hell Portal</big>|{{FULLPAGENAME}}/Intro|}}
{{{{FULLPAGENAME}}/Intro}}
{{Template:Box-footer/Hell|}}

<div style="float:left; width:60%;">
{{Template:Box-header/Hell|''Selected article of the month''|{{FULLPAGENAME}}/Selected article|}}
{{{{FULLPAGENAME}}/Selected article}}
{{Template:Box-footer/Hell|}}

{{Template:Box-header/Hell|''Selected demon of the month''|{{FULLPAGENAME}}/Selected demon|}}
{{{{FULLPAGENAME}}/Selected demon}}
{{Template:Box-footer/Hell|}}

</div>

<div style="float:right; width:39%"> 
<!--{{Template:Box-header/Hell|''{{PAGENAME}} news''|{{FULLPAGENAME}}/news|}}
{{{{FULLPAGENAME}}/news}}
{{Template:Box-footer/Hell|}} -->

{{Template:Box-header/Hell|''Selected image of the month''|{{FULLPAGENAME}}/Selected image|}}
{{{{FULLPAGENAME}}/Selected image}}
{{Template:Box-footer/Hell|}}


{{Template:Box-header/Hell|''Lists''|{{FULLPAGENAME}}/lists|}}
{{{{FULLPAGENAME}}/lists}}
{{Template:Box-footer/Hell|}}

{{Template:Box-header/Hell|''OMGWikiProjects''|{{FULLPAGENAME}}/OMGWikiProjects|}}
{{{{FULLPAGENAME}}/OMGWikiProjects}}
{{Template:Box-footer/Hell|}}

</div>

<div style="float:right; width:100%">


{{Template:Box-header/Hell|''Things you can do''|{{FULLPAGENAME}}/Things you can do|}}
{{{{FULLPAGENAME}}/Things you can do}}
{{Template:Box-footer/Hell|}}

</div>
|}

[edit] Step 3 - Redirection

There's a little snafu with the edit link code in the Box Header. I couldn't get it to link to the Template, so you have to redirect some pages. For every table you have in your skeleton, you must go to that Template and redirect the page to rest of the path, and that's where you'll make your edits.

Personal tools