Difference between revisions of "Template:Contents"

From SDA Knowledge Base

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

Revision as of 20:33, 12 July 2010

{{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