Difference between revisions of "Template:Contents"

From SDA Knowledge Base

Jump to: navigation, search
m (some space at the bottom)
m (differentiate between MediaWiki generated page table of contents)
Line 1: Line 1:
 
<includeonly><div style="float:right;background-color:#242424;padding:5px;margin-left:1em;margin-bottom:.5em;border:1px solid #c0c0c0">
 
<includeonly><div style="float:right;background-color:#242424;padding:5px;margin-left:1em;margin-bottom:.5em;border:1px solid #c0c0c0">
<div style="background-color:#242424;text-align:center">[[{{#titleparts:{{FULLPAGENAME}}|1}}/Contents|Contents]]</div>
+
<div style="background-color:#242424;text-align:center">[[{{#titleparts:{{FULLPAGENAME}}|1}}/Contents|All pages]]</div>
 
{{:{{#titleparts:{{FULLPAGENAME}}|1}}/Contents}}
 
{{:{{#titleparts:{{FULLPAGENAME}}|1}}/Contents}}
 
</div></includeonly><noinclude>
 
</div></includeonly><noinclude>

Revision as of 01:18, 15 September 2009

{{contents}}

Contents template for use on game pages and their subpages. Put this template at the top of each game page and subpage (below the {{sda run}} template, if applicable), except for the Contents page itself. Then create the Contents page (at Game Name/Contents), with a link to the main page and any subpages below that, and it will be updated on all pages.

See Donkey Kong 64 and Donkey Kong 64/Contents for an example.

Personal tools