Difference between revisions of "Template:Directory"

From Krafties
Jump to navigation Jump to search
m
m
Line 1: Line 1:
<noinclude>
+
 
 
{| id="mp-bottom" style="width:100%; vertical-align:top; background:#faf5ff; color:#000;"
 
{| id="mp-bottom" style="width:100%; vertical-align:top; background:#faf5ff; color:#000;"
|</noinclude><div style="background-color:#ddcef2; color:#000; min-width:650px; padding:1px; text-align:center; width:100%;border:1px solid #afa3bf;">
+
|<onlyinclude><div style="background-color:#ddcef2; color:#000; min-width:650px; padding:1px; text-align:center; width:100%;border:1px solid #afa3bf;">
 
'''[[Krafties:Directory|<span style="color:#000">Krafties Directory of Major Sections</span>]]'''
 
'''[[Krafties:Directory|<span style="color:#000">Krafties Directory of Major Sections</span>]]'''
 
</div>
 
</div>
Line 19: Line 19:
 
<div style="background-color:#ddcef2; color:#000; min-width:650px; padding:1px; text-align:center; width:100%;border:1px solid #afa3bf;">
 
<div style="background-color:#ddcef2; color:#000; min-width:650px; padding:1px; text-align:center; width:100%;border:1px solid #afa3bf;">
 
'''Krafties Wiki:''' [[Krafties (game)|<span style="color:#000">About</span>]] • [[General disclaimer|<span style="color:#000">Disclaimers</span>]] • [[Help:Contents|<span style="color:#000">Editing</span>]]<br>
 
'''Krafties Wiki:''' [[Krafties (game)|<span style="color:#000">About</span>]] • [[General disclaimer|<span style="color:#000">Disclaimers</span>]] • [[Help:Contents|<span style="color:#000">Editing</span>]]<br>
[[Krafties:Directory#Extra Navigation|More Navigation Links...]]</div><noinclude>
+
[[Krafties:Directory#Extra Navigation|More Navigation Links...]]</div></onlyinclude>
 
|}
 
|}
{{Template Explanation|[[Category:Navigation]]
+
{|{{Template Explanation}}[[Category:Navigation]]
 
This is the [[Main Page]] navigation table.  
 
This is the [[Main Page]] navigation table.  
 
*<b>Be careful when editing it!</b> so you won't break the front page, please use "Show preview" to see how your changes appear before saving.  
 
*<b>Be careful when editing it!</b> so you won't break the front page, please use "Show preview" to see how your changes appear before saving.  
Line 28: Line 28:
 
==See Also==
 
==See Also==
 
{{Nav MainPage}}
 
{{Nav MainPage}}
}}
+
|}
 
</noinclude>
 
</noinclude>

Revision as of 03:31, 30 March 2015

Documentation icon Template documentation ( view · talk · edit)

This is the Main Page navigation table. You can now easily access each link group with a "edit" button!

Please use the discussion/talk page to plan the directory links layout before copying it over.

Usage

  1. Press "edit" for the section you want to modify links in
  2. Only add/remove content from between the these tags to avoid breaking the boxes.
    <!--- ONLY ADD LINKS BELOW HERE --->
    <!--- LINK SECTION END --->
    • It is perfectly normal that the table code might not function when previewing while editing section because of how the wiki handles headings for editing, but it will work just fine when viewing the page as a whole.

See Also

The above documentation is transcluded from Template:Directory/doc.
Editors can experiment in this template's sandbox
Please add categories to the /doc subpage within <includeonly>...</includeonly>

This is the Main Page navigation table.

  • Be careful when editing it! so you won't break the front page, please use "Show preview" to see how your changes appear before saving.
  • Remember that if accidents happen: there is always "undo" in the history of the page.
  • The individual columns are on separate templates, view the navigation table below.

See Also