Difference between revisions of "Template:Contents"

From SDA Knowledge Base

Jump to: navigation, search
(table -> divs, de-uglifying, going parameterless)
m (converting styles to class)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="float:right;background-color:#242424;padding:5px;margin-left:1em;border:1px solid #c0c0c0">
+
<div class="contents">
<div style="background-color:#242424;text-align:center">[[{{#titleparts:{{FULLPAGENAME}}|1}}/Contents|Contents]]</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>
  

Latest revision as of 06:00, 29 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